Commit Graph

39 Commits

Author SHA1 Message Date
Sven Rebhan 129d8eb98e
feat: Add common expression language metric filtering (#13144) 2023-04-28 12:42:25 -06:00
Sven Rebhan 9bb2d1562d
chore(serializers): Add new-style framework and migrate influx (#12920) 2023-04-11 21:52:42 +02:00
Sven Rebhan f87916aaa9
feat: Plugin state-persistence (#12166) 2023-03-01 15:34:48 -07:00
Eng Zer Jun 4d0f05980e
test: Use `t.Setenv` to set env vars (#12621) 2023-02-10 11:46:14 +01: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 337e4e34bc
chore: improve processor ordering (#12308) 2022-11-30 09:28:23 -07: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
Ilya Arkhanhelsky 9d18c973cf
fix(agent): watch for changes in configuration files in config directories (#12127) 2022-11-07 20:54:52 +01: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 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
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
Sven Rebhan 3ad9fe73ba
chore: More parser cleanup (#11532) 2022-07-28 15:30:36 -05:00
Sven Rebhan 7d83b076c2
fix: add reset-mode flag for CSV parser (#11288) 2022-06-30 12:11:25 -06:00
Sven Rebhan 9ea9314e27
feat: Migrate logfmt parser to new style (#11366) 2022-06-29 23:31:22 +02:00
Sven Rebhan e710192dc9
feat: Migrate graphite parser to new style (#11405) 2022-06-29 23:08:05 +02:00
Sven Rebhan 0d96968819
feat: Migrate xpath parser to new style (#11218) 2022-06-08 13:39:02 -06:00
Sebastian Spaink 5d6748fcb5
feat: generate the plugins sample config (#10886) 2022-04-05 17:11:09 -05:00
Sebastian Spaink 10cc56039a
fix: Revert "fix: error msg for missing env variables in config (#10681)" (#10727) 2022-02-23 15:48:11 -06:00
Sebastian Spaink 063ef6d517
fix: error msg for missing env variables in config (#10681) 2022-02-22 11:51:07 -07:00
Sven Rebhan 437d3b0773
fix: Improve parser tests by using go-cmp/cmp (#10497) 2022-02-10 15:01:19 -07:00
Josef Johansson eeb5d0ea3d
feat: check TLSConfig early to catch missing certificates (#10341)
Co-authored-by: Josef Johansson <josjoh@oderland.se>
2022-01-18 16:04:09 -06:00
Sven Rebhan 193dc450c3
feat: Parser plugin restructuring (#8791) 2022-01-12 15:54:42 -07:00
Paweł Żak 8e85a67ee1
fix: Linter fixes for plugins/parsers/[a-z]* (#10145) 2021-11-24 11:52:51 -07:00
Alexey Kuzyashin 58a90783f5
Add telegraf url env var (#8987) 2021-06-02 21:22:15 -06:00
Alexander Krantz 58479fdb05
Fix reading config files starting with http: (#9275) 2021-05-26 09:13:50 -07:00
Sven Rebhan 9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} (#8969) 2021-04-09 13:15:04 -04:00
Helen Weller 71a3a3cf20
Add default retry for load config via url (#8803) 2021-02-12 11:38:40 -05:00
Paweł Żak 0fcfee0caf
Fix tests for Windows - part 1 (#8414) 2020-11-23 10:40:32 -05:00
Steven Soroka 998ae54d36
shorten config (#7583) 2020-11-03 16:40:57 -05:00
simnv 1696cca283
Fix using empty string as the namespace prefix in azure_monitor output plugin (#8282)
* Fix using empty string as the namespace prefix

Fixes #8256

* Test using empty string as the namespace prefix
2020-10-20 10:16:22 -04:00
Steven Soroka 741ea839d2
add support for streaming processors (#7634) 2020-06-05 10:43:43 -04:00
Steven Soroka b73a232a6a
Support Go execd plugins with shim (#7283) 2020-05-04 14:09:10 -04:00