Commit Graph

58 Commits

Author SHA1 Message Date
Paweł Żak 080e9a1338
chore(deps): Bump golangci-lint from v1.64.5 to v2.0.2 (#16683) 2025-03-31 13:52:09 +01:00
Paweł Żak 70e1cbc0be
chore(deps): Bump golangci-lint from v1.61.0 to v1.62.0 (#16172) 2024-11-12 15:49:39 -06:00
Sven Rebhan 61902ba15a
docs(outputs): Add plugin metadata and update description (#16061) 2024-10-28 18:00:22 +01:00
Sven Rebhan 13d053f917
chore(outputs): Fix line-length in READMEs (#16079)
Co-authored-by: Dane Strandboge <136023093+DStrand1@users.noreply.github.com>
2024-10-25 16:46:51 +02: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 9415d8e7e9
chore(linters): Enable `import-alias-naming` and `redundant-import-alias` rules for revive (#15836) 2024-10-01 13:49:53 -05: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
Sven Rebhan b2967cb515
chore: Update go to v1.23.0 (#15766)
Co-authored-by: Pawel Zak <pawel.zak.pawel@gmail.com>
2024-08-30 14:23:51 -05:00
Nick Thomas 96d6da63f2
fix(http): Stop plugins from leaking file descriptors on telegraf reload (#15213) 2024-04-24 15:18:15 -05:00
Paweł Żak 34ae468a8c
chore(linters): Fix findings found by testifylint: len (#14203) 2023-10-31 10:29:53 +01:00
Paweł Żak 97f47c11dd
chore(linters): Fix findings found by testifylint: empty (#14179) 2023-10-25 15:09:13 -06:00
Joshua Powers c0bcf31bc6
fix(outputs.cloudwatch): Increase number of metrics per write (#13930) 2023-09-18 09:07:00 -06:00
Sven Rebhan 200044a495
docs: fix remaining markdownlinter issues (#12658) 2023-02-09 10:57:08 -07:00
Thomas Casteleyn 61523bd4b9
feat(tools/readme_linter): Check for global configuration section (#12426) 2023-01-12 16:55:21 +01:00
Paweł Żak 86cd0c0c24
chore: Fix linter findings for makezero (part4) (#12410) 2022-12-20 11:42:09 +01:00
Joshua Powers 49ac03fa80
docs: add global configuration header (#12107) 2022-10-26 14:58:36 -05: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
Sven Rebhan 09eb7ee111
chore: Move aws credentials to plugins/common. (#11681) 2022-08-16 19:04:30 +02:00
Sven Rebhan ac26d786fe
fix(outputs): Linter issues (#11595) 2022-08-03 07:20:51 -05:00
Markus Scholz 20acbf7090
feat: add proxy support for outputs/cloudwatch (#11399) 2022-07-13 13:04:02 -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 256caede89
chore(outputs): migrate sample configs into separate files (#11131) 2022-05-18 11:30:06 -05:00
reimda 6ba3b1e91e
chore: Fix readme linter errors for output plugins (#10951) 2022-04-21 09:45:47 -06:00
Sebastian Spaink a7df6c6aa6
feat: migrate output plugins to new sample config format (#10910) 2022-04-07 15:55:03 -06:00
Joshua Powers 0d8d118319
chore: clean up all markdown lint errors in output plugins (#10159) 2021-11-24 11:47:33 -07:00
Paweł Żak 3dc5281632
fix: Linter fixes for plugins/outputs/[a-f]* (#10124) 2021-11-18 09:26:24 -07:00
Alexander Krantz 06f2a37b4a
chore: Update to AWS SDK v2 (#9647) 2021-10-21 16:32:10 -05:00
Sebastian Spaink fde637464a
fix: migrate aws/credentials.go to use NewSession, same functionality but now supports error (#9878) 2021-10-07 15:47:56 -05:00
Alexander Krantz de01d37a36
feat: Support AWS Web Identity Provider (#9411) 2021-08-03 17:29:26 -04:00
David Bennett 842a788022
Remove error return type from metric.New method (#9116)
* Remove error return type from metric.New method.

* Formatting changes for linter + gofmt

* Additional linter fixes.

* More linter fixes.

* Linter fix.

* address comments
2021-04-13 14:40:03 -04:00
Paweł Żak 099ccda3f9
Linter fixes - gosimple (#9046) 2021-03-25 13:57:01 -04:00
Paweł Żak 38c61c07ef
Revive fixes - part 4: (#8981)
empty-lines

Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-12 14:21:51 -06:00
Paweł Żak d9736d543f
Revive fixes - part 2 (#8835)
* Revive fixes regarding following set of rules:
[rule.if-return]
[rule.increment-decrement]
[rule.var-declaration]
[rule.package-comments]
[rule.receiver-naming]
[rule.unexported-return]
2021-02-16 18:19:50 -05:00
Steven Soroka b73a232a6a
Support Go execd plugins with shim (#7283) 2020-05-04 14:09:10 -04:00
Marc Ruiz 4e8aa8ad1b Fix README.md and improve example config description (#6707) 2019-11-22 10:32:39 -08:00
Marc Ruiz c7af10b159 Add high resolution metrics support to CloudWatch output (#6689) 2019-11-21 18:37:33 -08:00
Trevor Pounds ee056278f5 Enable gofmt code simplification (#4887) 2018-10-19 13:32:54 -07:00
Daniel Nelson 5101f075e1
Skip tags with empty values in cloudwatch output (#4785) 2018-10-01 18:27:44 -07:00
Daniel Nelson f05fdde48b
Remove the startup authentication check from the cloudwatch output (#4695) 2018-09-18 09:07:28 -07:00
david7482 199841a820 Support StatisticValues in cloudwatch output plugin (#4364) 2018-08-01 16:43:17 -06:00
Daniel Nelson 93ed28e745 Add support for configuring an AWS endpoint_url (#4485) 2018-07-31 16:07:21 -06:00
david7482 9657870258 Improve cloudwatch output performance (#4320) 2018-07-23 12:00:35 -06:00
Thanabodee Charoenpiriyakij 8b28f40cc0 Handle uint64 on cloudwatch output (#4219) 2018-06-01 10:47:40 -07:00
Adam Johnson 56be3d3236 Reintroduce AWS credential check to cloudwatch output (#3587) 2018-01-02 16:33:15 -08:00
Daniel Nelson 5b40173bcb
Remove AWS credential check from cloudwatch output (#3583)
This method is reported to not work with IAM Instance Profiles, and we
do not want to make any calls that would require additional permissions.
2017-12-13 17:51:55 -08:00
Adam Johnson bf9f94eb9d Fix cloudwatch output requires unneeded permissions (#3335) 2017-10-13 11:04:40 -07:00
Jeff Nickoloff ac1fa05672 Added CloudWatch metric constraint validation (#3183) 2017-08-28 16:56:03 -07:00
John Engelman b349800f7a Fix up AWS plugin docs so they don't use single quotes. (#1991)
Also don't use named returns in fetchNamespaceMetrics since it's
non-standard for the rest of the codebase.
2016-11-04 13:16:41 +00:00
Cameron Sparr c7834209d2 Major Logging Overhaul
in this commit:

- centralize logging output handler.
- set global Info/Debug/Error log levels based on config file or flags.
- remove per-plugin debug arg handling.
- add a I!, D!, or E! to every log message.
- add configuration option to specify where to send logs.

closes #1786
2016-10-03 17:13:03 +01:00