Commit Graph

141 Commits

Author SHA1 Message Date
Joshua Powers 7284c126ce
fix(serializers.graphite): Allow for specifying regex to sanitize (#12835) 2023-03-14 11:46:44 +01:00
Joshua Powers 1b36d73a7d
feat(agent): Print loaded configs (#12827) 2023-03-10 13:44:56 +01:00
Sven Rebhan 7981260f22
feat(agent): Add command-line option to specify password (#12812) 2023-03-09 11:54:27 +01:00
Paweł Żak 360edd52b6
chore: Fix linter findings for errorlint (part8) (#12785)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-06 12:27:03 +01:00
Sven Rebhan f87916aaa9
feat: Plugin state-persistence (#12166) 2023-03-01 15:34:48 -07:00
Thomas Casteleyn 6a2f6f301f
chore: eliminate unnecessary use of quoted strings in printf (#12722) 2023-02-23 06:49:36 -07:00
Paweł Żak f7949ca68a
chore: Fix linter findings for errorlint (part1) (#12701)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-22 12:57:53 +01:00
Sven Rebhan 9dfbbb29ae
feat(config): Accept durations given in days (e.g. "7d") (#12579) 2023-02-16 10:10:18 -07:00
Eng Zer Jun 4d0f05980e
test: Use `t.Setenv` to set env vars (#12621) 2023-02-10 11:46:14 +01:00
Sven Rebhan 53f36570fd
fix(secretstores): check store id format and presence (#12644) 2023-02-07 11:15:02 -07:00
Paweł Żak 1260b4523b
chore: Fix linter findings for tenv (#12622)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-07 17:12:42 +01:00
Joshua Powers ae2eb096cd
feat(agent): Add /etc/telegraf/telegraf.d to default config locations (#12608) 2023-02-07 17:02:01 +01:00
Sven Rebhan eb03bb5599
fix(inputs.exec): restore pre-v1.21 behavior for CSV data_format (#12533) 2023-01-26 13:51:39 -07:00
Sven Rebhan f5c2c4abf0
feat(secretstores): convert many output plugins (#12497) 2023-01-25 13:02:29 -07:00
Sven Rebhan a3e4a14233
fix(secretstores): fix handling of TOML strings (#12490) 2023-01-11 07:43:20 -07:00
Sven Rebhan e9c0487e54
fix(agent): handle float time with fractions of seconds correctly (#12491) 2023-01-11 07:42:33 -07:00
Joshua Powers 2604fb684b
fix(agent): Only set default snmp after reading all configs (#12457) 2023-01-10 19:00:15 +01:00
Sven Rebhan b5dcc49250
fix(secretstores): Fix handling of 'id' and print failing secret-store (#12468) 2023-01-09 07:27:07 -07:00
Sven Rebhan 9f55bc605e
fix(secretstores): cleanup duplicate printing (#12401) 2022-12-15 06:35:05 -07:00
Sven Rebhan c98115e744
feat: secret-store implementation (#11232) 2022-12-08 09:53:06 -07:00
Thomas Casteleyn c883673cdb
feat(agent): Deprecate active usage of netsnmp translator (#12358) 2022-12-08 07:18:09 -07:00
Sven Rebhan 337e4e34bc
chore: improve processor ordering (#12308) 2022-11-30 09:28:23 -07:00
Sven Rebhan 0f8dff9b8d
feat(serializers.json): Support serializing JSON nested in string fields (#12260) 2022-11-18 11:53:13 +01:00
Paweł Żak cdc622e9db
chore: Fix linter findings for prealloc (part1) (#12228) 2022-11-15 18:57:50 +01:00
Paweł Żak 236af553a3
chore: wrap long lines in other locations (#12219) 2022-11-11 06:32:11 -07:00
Sebastian Spaink 6a29dcba45
fix: Run processors in config order (#12113) 2022-11-08 15:16:26 -06:00
Paweł Żak 6816aefcd5
chore: fix linter findings for unparam and revive.unused-parameter (#12150) 2022-11-08 12:04:12 -07:00
Ilya Arkhanhelsky 9d18c973cf
fix(agent): watch for changes in configuration files in config directories (#12127) 2022-11-07 20:54:52 +01:00
Joshua Powers a536764bf1
fix(serializers.splunkmetric): provide option to remove event metric tag (#12024) 2022-11-01 06:41:46 -06:00
Paweł Żak 9d9eb403a6
chore: Review of //nolint comments (#12088) 2022-10-26 12:06:08 +02:00
Joshua Powers 73bac76268
fix(config): set default parser (#12076) 2022-10-24 13:51:07 -06:00
Sven Rebhan 87125f0524
fix(processors): Correctly setup processors (#12081) 2022-10-24 21:21:24 +02:00
Sven Rebhan 76d7a95400
fix: Restore warning on unused config option(s) (#12063) 2022-10-21 11:09:20 +02:00
Paweł Żak 85b7590ff9
chore: resolve linter issues for confusing-naming and confusing-results (#11956) 2022-10-12 13:19:47 -06:00
Sebastian Spaink b7591fd67d
chore: Resolve linter issues in config.go and config_test.go (#11929) 2022-10-04 17:26:02 +02:00
Sven Rebhan 8a9c2eec85
chore(processors): Convert processors to `ParserPlugin`s (#11600) 2022-09-26 22:24:34 +02:00
Joshua Powers d091a59e66
fix: re-allow specifying the influx parser type (#11806) 2022-09-21 13:02:41 -06:00
Sven Rebhan 3b3584b40b
fix(parsers): Memory leak for plugins using ParserFunc. (#11815) 2022-09-16 08:50:26 -06:00
Sebastian Spaink b5f7ca4e08
fix: Clear error message when provided config is not a text file (#11787) 2022-09-13 11:43:03 -05:00
Fritz Reichwald ca32cdc6e6
fix: add missing entry json_transformation to missingTomlField (#11779) 2022-09-09 07:26:12 -06:00
Sebastian Spaink a57434eb4e
feat: Migrate to urfave/cli (#11700) 2022-08-24 21:46:58 -05:00
Sven Rebhan f1ce84f02d
feat: tool to build custom Telegraf builds (#11524) 2022-08-19 13:38:03 -06:00
Conor Evans b76d794968
feat(serializers.prometheus): Provide option to reduce payload size by removing HELP from payload (#11690) 2022-08-18 09:22:40 +02:00
Sven Rebhan 09eb7ee111
chore: Move aws credentials to plugins/common. (#11681) 2022-08-16 19:04:30 +02:00
Bruce (Zhihao) Li 5b9aee11b8
fix: Updating credentials file to not use endpoint_url parameter (#10841) 2022-07-29 08:55:11 -06:00
Sven Rebhan 3ad9fe73ba
chore: More parser cleanup (#11532) 2022-07-28 15:30:36 -05:00
Sven Rebhan 9f3a7414a9
feat(parsers.json): Allow JSONata based transformations in JSON serializer (#11251) 2022-07-21 18:37:36 +02:00
Joshua Powers 0fced8872a
chore: Update CRLF line endings in agent.conf to LF (#11501) 2022-07-14 10:55:26 +02:00
reimda c25f9a0e83
fix: Update prometheus parser to be a new style parser plugin (#11440) 2022-07-06 10:07:53 -06:00
Sven Rebhan 7d83b076c2
fix: add reset-mode flag for CSV parser (#11288) 2022-06-30 12:11:25 -06:00