Commit Graph

211 Commits

Author SHA1 Message Date
Sven Rebhan c3e53193d2
feat(logging): Implement structured logging (#15751)
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@me.com>
2024-09-06 15:52:22 -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
Sven Rebhan 9342f839b0
feat(agent): Add config check sub-command (#15732) 2024-08-16 12:36:35 -05:00
Sven Rebhan ef41198481
chore(logging): Implement early logging (#15629) 2024-07-26 09:09:21 -06:00
Joshua Powers 777154bd8c
feat(agent): Enable watching for new configuration files (#15645) 2024-07-25 14:06:20 -05:00
Joshua Powers 26df1e7205
feat(agent): Watch for deleted files (#15644) 2024-07-24 12:47:27 -05:00
Joshua Powers 58bc62932d
chore(agent): Clean up watch goroutines (#15643) 2024-07-22 14:17:24 -05:00
Joshua Powers 6df20e255c
chore(agent): Print config filename in messages for clarity (#15642) 2024-07-22 14:17:00 -05:00
Joshua Powers ee2b806d68
docs: Clarify poll vs notify (#15631) 2024-07-17 11:21:02 -05:00
Sven Rebhan 32a5b44d7b
chore(logging): Refactor code (#15556) 2024-06-25 07:48:56 -06:00
Dane Strandboge 612b5ad8b1
chore: Fix errcheck CI warnings outside of plugins directory (#15390) 2024-06-04 10:33:37 +02:00
Sven Rebhan 274fbd4b62
chore(windows): Rework Windows service handling (#15372) 2024-06-03 16:05:39 -05:00
Joshua Powers 0e636b729a
feat(config): Allow reloading on URL config change (#15388) 2024-06-03 15:11:03 -05:00
Lars Stegman 719e3cbb3b
feat(cli): List available parsers and serializers (#15426)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2024-05-31 10:32:35 +02:00
Joshua Powers ad59290166
feat(agent): Introduce CLI option to set config URL retry attempts (#15377) 2024-05-21 10:56:52 +02:00
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