Commit Graph

170 Commits

Author SHA1 Message Date
Sven Rebhan 3da80fdfc6
feat(agent): Add option to avoid filtering of global tags (#13605) 2023-07-14 16:00:10 +02:00
Sven Rebhan 1dd45b1d1c
fix(config): Replace environment variables if existing but empty (#13570) 2023-07-10 15:24:40 +02:00
Sven Rebhan 86c11bce29
feat(migrations): Add migration for 'inputs.httpjson' (#13532) 2023-07-05 12:40:22 -06:00
Sven Rebhan 47e10e1679
fix(config): Restore old environment var behavior with option (#13457) 2023-06-21 07:58:21 -06:00
Sven Rebhan 4d22b9106e
fix(config): Move bracketed environment variable substitution to double-dollar (#13451) 2023-06-15 20:11:38 +02:00
Sven Rebhan 16786d2977
feat(config): Add framework for migrating deprecated plugins (#13377) 2023-06-09 10:10:09 +02:00
Joshua Powers ca7c8f7005
chore: update removal and deprecations for v1.30.0 (#13351) 2023-06-02 12:36:19 +02:00
Sven Rebhan c3ce6a8e12
chore(config): Split tests to avoid cyclic import (#13371) 2023-06-02 12:32:10 +02:00
Sven Rebhan 4a8b1473f7
chore(serializers): Cleanup after migration (#13378) 2023-06-01 12:10:06 -06:00
Sven Rebhan 0a491a7bf3
feat(agent): Add option to avoid filtering of explicit plugin tags (#13364) 2023-05-31 11:06:50 -06:00
Sven Rebhan 5a8ccbde6f
chore(serializers.prometheus): Migrate to new-style framework (#13347) 2023-05-31 11:02:19 -06:00
Sven Rebhan 238478bc9c
chore(serializers.wavefront): Migrate to new-style framework (#13344) 2023-05-26 11:51:03 -06:00
Sven Rebhan b20a3ac77b
chore(serializers.splunkmetric): Migrate to new-style framework (#13342) 2023-05-26 08:43:58 -06:00
Sven Rebhan ece214e5a9
chore(serializers.json): Migrate to new-style framework (#13335) 2023-05-25 13:22:14 -06:00
Sven Rebhan bbe30f769d
chore(serializers.graphite): Migrate to new-style framework (#13321) 2023-05-24 08:49:41 -06:00
Sven Rebhan 272add9b84
feat(secretstores): Add http plugin (#13150) 2023-05-24 08:48:59 -06:00
Neelay Upadhyaya 7c636b4b6b
feat(config): Support shell like syntax for environment variable substitution (#13229) 2023-05-24 09:47:25 +02:00
Sven Rebhan 7ced2606b2
chore(parsers)!: Remove old-style creation (#13310) 2023-05-23 14:17:11 -06:00
Sven Rebhan 66988b81cf
chore(serializers.csv): Migrate to new-style framework (#13319) 2023-05-23 08:18:48 -06:00
Sven Rebhan d06fb73228
chore(serializers.carbon2): Migrate to new-style framework (#13291) 2023-05-19 12:44:26 -06:00
Paweł Żak 727533ee55
chore: Enable deferInLoop, exitAfterDefer and unnecessaryDefer checkers for gocritic (#13280)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-05-19 09:55:08 +02:00
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
Joshua Powers c84940b388
fix(agent): pass quiet flag earlier (#13020) 2023-04-04 06:57:02 -06:00
Sven Rebhan 3213af612e
fix(secret): Add function to set a secret (#13012) 2023-04-03 07:01:47 -06:00
Sven Rebhan d8adb1edf2
fix(secrets): Warn if OS limit for locked memory is too low (#12993) 2023-04-03 10:49:07 +02:00
Paweł Żak 73076bb9fa
chore: Fix linter findings for Darwin (#12958)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-28 11:46:32 +02:00
Joshua Powers f1da63da44
fix(config): Return error on order set as string (#12880) 2023-03-21 16:37:57 +01:00
Joshua Powers 3b5f599106
chore: Update default folder locations to match packaging (#12865) 2023-03-15 17:53:37 +01:00
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