Commit Graph

196 Commits

Author SHA1 Message Date
Sven Rebhan ae326bc805
fix(windows): Make sure to log the final error message (#15346) 2024-05-15 10:35:31 -06:00
Sven Rebhan 71b58ddaf5
chore(log): Restructure and cleanup logging code (#15234) 2024-05-10 16:43:43 -05:00
Timofei Bredov 6cd4821b90
fix(agent): Ensure import of required package for pprof support (#15054)
Co-authored-by: Josh Powers <powersj@fastmail.com>
2024-04-02 03:35:34 -04:00
Joshua Powers 21f355a59c
fix(windows): Ensure watch-config is passed to service (#15040) 2024-03-21 21:26:43 +01:00
Joshua Powers f0656a4910
feat(agent): Add option to skip re-running processors after aggregators (#14882) 2024-02-23 13:10:33 -06:00
Paweł Żak c4dbe65732
chore(linters): Bump golangci-lint to v1.56.1 (#14759) 2024-02-12 23:26:10 +01:00
Sven Rebhan 96859fb947
chore(deps): Use github.com/coreos/go-systemd/v22 instead of git version (#14753) 2024-02-12 07:46:14 -07:00
Paweł Żak 98ec91478a
chore(linters): replace 'fmt.Sprintf' with string addition (#14699) 2024-02-08 15:46:22 -05:00
Sven Rebhan 9aee2681bb
fix(inputs.temp): Recover pre-v1.22.4 temperature sensor readings (#14575) 2024-01-18 07:56:47 -07:00
Paweł Żak 4ad8f6b814
chore(linters): Enable `preferDecodeRune` and `preferFprint` checkers for gocritic (#14453) 2023-12-15 07:01:25 -07:00
Paweł Żak aa681be594
chore(linters): Remove blank identifiers and errors which are not needed to handle (#14399) 2023-12-07 08:09:01 -07:00
Sven Rebhan d570f015df
feat(secrets): Add unprotected secret implementation (#13998) 2023-12-04 10:42:48 -07:00
Paweł Żak 7da8956434
chore(linters): Fix findings found by testifylint for Windows and enable it. (#14238) 2023-11-02 06:40:30 -06:00
Paweł Żak 990ffc7222
chore(linters): Fix findings found by testifylint: bool-compare (#14163) 2023-10-24 10:45:17 -06:00
Sven Rebhan e2c4e10650
chore(secrets): Abstract secret implementation (#13953) 2023-09-25 14:37:04 -06:00
Rick Spencer 6f38208bed
chore: Add InfluxDB and InfluxData branding to log output (#13819) 2023-08-29 10:39:32 -06:00
Joshua Powers 1e42262184
feat(cli): Add plugins subcommand to list available and deprecated (#13787) 2023-08-29 16:05:34 +02:00
Joshua Powers 0b7ec728b6
feat(agent): Watch default config files if none specified (#13774) 2023-08-28 10:23:54 +02:00
Joshua Powers 2ac45b8d25
chore: Enable additional gocritic (#13714) 2023-08-03 18:58:27 +02:00
Joshua Powers b187de0475
fix(secretstores): Skip dbus connection with kwallet (#13489) 2023-06-27 17:14:30 +02:00
Sven Rebhan 47e10e1679
fix(config): Restore old environment var behavior with option (#13457) 2023-06-21 07:58:21 -06:00
Paweł Żak a2f65d5728
chore: Fix linter findings for Windows (part4) (#13246)
Co-authored-by: Pawel Zak <Pawel Zak>
Co-authored-by: pzak <pzak>
2023-06-09 10:24:43 +02:00
Sven Rebhan 16786d2977
feat(config): Add framework for migrating deprecated plugins (#13377) 2023-06-09 10:10:09 +02:00
Joshua Powers 820fa1e311
chore(secretstores): Clean up secret store usage (#13398) 2023-06-07 12:08:09 +02:00
Joshua Powers 0db9bafb79
docs: Clarify watch config behavior (#13285) 2023-05-18 08:40:53 -06:00
Sven Rebhan 9bb2d1562d
chore(serializers): Add new-style framework and migrate influx (#12920) 2023-04-11 21:52:42 +02:00
Paweł Żak 89fa07fc5e
chore: Enable G301, G302 and G306 rules for gosec (#13022) 2023-04-04 08:51:08 -06:00
Joshua Powers c84940b388
fix(agent): pass quiet flag earlier (#13020) 2023-04-04 06:57:02 -06:00
Paweł Żak edcd28650c
chore: Enable G112 and G114 rules for gosec (#12986)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-03 15:23:05 +02: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
Sven Rebhan 7981260f22
feat(agent): Add command-line option to specify password (#12812) 2023-03-09 11:54:27 +01:00
Sven Rebhan ed91ca2bfd
fix(agent): Allow gracefull shutdown on interrupt (e.g. Ctrl-C) (#12781) 2023-03-02 10:46:41 -07: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
Joshua Powers 95877a51b5
fix(agent): Reload config on config update (#12721) 2023-02-22 19:01:32 +01: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
Joshua Powers ae2eb096cd
feat(agent): Add /etc/telegraf/telegraf.d to default config locations (#12608) 2023-02-07 17:02:01 +01:00
Joshua Powers 31a87df2ff
fix(agent): Only read the config once (#12607) 2023-02-06 10:05:59 +01:00
Paweł Żak e84bc0c590
chore: clean up import shadowing issues (#12588) 2023-02-01 11:21:38 -07:00
Sven Rebhan f5122893e3
fix(agent): catch non-existing commands and error out (#12549) 2023-01-25 07:54:51 -07:00
Joshua Powers 07e4e72a0c
fix(agent): Correctly reload configuration files (#12453) 2023-01-04 10:40:39 +01: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
Paweł Żak 236af553a3
chore: wrap long lines in other locations (#12219) 2022-11-11 06:32:11 -07:00
Joshua Powers 6390d31eb0
feat: add arm64 Windows builds (#12130) 2022-11-08 13:44:51 -07: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
Sebastian Spaink 67d1ca0f0f
chore: Move influxdb_v2 to be first in sample config (#12163) 2022-11-07 11:51:13 -06:00
Sebastian Spaink 6b229d4829
feat!: Disable [[outputs.influxdb]] in sample config (#12158) 2022-11-07 11:48:52 -06:00