Commit Graph

38 Commits

Author SHA1 Message Date
Sven Rebhan 1041d331ae
chore(deps): Bump golangci-lint from v1.63.4 to v1.64.5 (#16512) 2025-02-18 09:23:28 -06:00
Paweł Żak 878646a2c4
chore: Fix linter findings for `revive:unused-receiver` in `plugins/outputs` (#16338) 2025-01-15 20:58:39 +01:00
Paweł Żak c4bce2d211
chore: Fix linter findings for `revive:enforce-slice-style` in `plugins/outputs` (#16032) 2024-10-18 13:06:42 +02:00
Paweł Żak 686ff791ba
chore: Fix linter findings for `revive:enforce-repeated-arg-type-style` in `plugins/outputs` and `plugins/parsers` (#15847) 2024-09-11 14:57:14 -05:00
Viktor Szépe 31a1d34d99
chore: Fix typos throughout codebase (#15338) 2024-05-31 10:26:37 +02:00
Paweł Żak 98ec91478a
chore(linters): replace 'fmt.Sprintf' with string addition (#14699) 2024-02-08 15:46:22 -05:00
Paweł Żak ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible (#14698) 2024-02-08 11:32:30 -06:00
Joshua Powers 3172fd5cfa
feat(outputs.stackdriver): Enable histogram support (#14275) 2023-12-07 12:35:04 +01:00
Joshua Powers 6b01384c6e
feat(outputs.stackdriver): Add metric type config options (#14017)
* feat(outputs.stackdriver): Add metric type config options

This adds two new user config options that take metric names, with globs
as well. Metric's matching these names will have their type set before
sending to Stackdriver.

fixes: #14006

* run make docs
2023-10-02 10:30:32 +02:00
Joshua Powers 637b8f8721
fix(outputs.stackdriver): Do not shallow copy map (#14009) 2023-09-27 21:59:43 +02:00
Joshua Powers 080f5a2ecb
fix(outputs.stackdriver): Drop metrics on InvalidArgument gRPC error (#13931) 2023-09-22 09:40:05 -06:00
Joshua Powers 1381513e61
fix(outputs.stackdriver): Regenerate time interval for unkown metrics (#13745) 2023-08-11 11:14:13 +02:00
Joshua Powers 8cde34bfeb
fix(outputs.stackdriver): Add tag as resource label option (#13575) 2023-07-14 15:49:41 +02:00
Joshua Powers 45f994268c
fix(outputs.stackdriver): Options to use official path and types (#13454) 2023-06-26 07:30:11 -06:00
Joshua Powers d12bcec8c4
fix(outputs.stackdriver): Allow for custom metric type prefix (#13168) 2023-05-04 11:56:29 -06:00
Joshua Powers 1a7c274ddf
fix(outputs.stackdriver): Group batches by timestamp (#12994) 2023-05-04 11:48:54 +02:00
Paweł Żak c76f319b84
chore: Remove `revive:unhandled-error` - `errcheck` is more flexible (#13008) 2023-04-03 07:19:43 -06:00
Paweł Żak 5e96009048
chore(stackdriver): Fix deprecated monitoringpb (#12424)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-01-09 20:52:53 +01:00
Sebastian Spaink d67f75e557
docs: Remove warning not to remove go:embed (#11797)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2022-09-13 12:47:58 -05:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00
Sven Rebhan d9a6d8b774
chore: embed sample configurations into README for outputs (#11182) 2022-05-25 08:48:59 -06:00
Sebastian Spaink a7df6c6aa6
feat: migrate output plugins to new sample config format (#10910) 2022-04-07 15:55:03 -06:00
Nathan J Mehl 697855c98b
fix: cumulative interval start times for stackdriver output (#10097) 2021-12-22 13:11:28 -07:00
Paweł Żak 64bc0ae9c0
fix: Linter fixes for plugins/outputs/[p-z]* (#10139)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-24 12:33:45 -07:00
Dane Strandboge ddeb6ec890
build: move to new protobuf library (#10019) 2021-11-09 08:51:14 -06:00
Sebastian Spaink 15753a6f7f
fix: migrate to cloud.google.com/go/monitoring/apiv3/v2 (#9880) 2021-10-07 14:47:59 -05:00
Paweł Żak 5de640b855
Linter fixes - unconvert, revive:empty-lines, revive:var-naming, revive:unused-parameter (#9036)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-24 11:27:46 -04:00
Josh Soref 2c56d6de81
Fix spelling errors in comments and documentation (#7492) 2020-05-14 00:41:58 -07:00
Javier Kohen adb7a52b93 Set user agent in stackdriver output (#5901) 2019-05-24 11:24:14 -07:00
Robert Edström a3f83afe4a Move capacity check for stackdriver output plugin (#5479) 2019-02-26 17:40:21 -08:00
Nicolas Bazire 33dfbfdf5e Fix delete in place of keys in stackdriver output (#5465) 2019-02-21 12:19:50 -08:00
Robert Edström 5823fefb7a Group stackdriver requests to send one point per timeseries (#5407) 2019-02-20 13:16:02 -08:00
Daniel Nelson c612f707f4
Comment out optional parameters to stackdriver output 2019-02-11 14:58:30 -08:00
Robert Edström 3f9860a685 Add resource type and resource label support to stackdriver output (#5391) 2019-02-08 12:13:33 -08:00
Daniel Nelson 7f54ae18b5
Send metrics in ascending time order in stackdriver output (#5385) 2019-02-06 14:17:51 -08:00
Daniel Nelson d4ab5da34f
Skip string fields in stackdriver output (#5384) 2019-02-05 18:22:42 -08:00
James Maidment 0b601513a2 Add stackdriver output plugin (#3876) 2018-10-16 11:47:10 -07:00