Commit Graph

225 Commits

Author SHA1 Message Date
Paweł Żak 2e246d0270
chore(linter): Address findings for `staticcheck->QF1001` - Apply De Morgan’s law (#16881) 2025-04-30 17:43:13 +01:00
stepga 55f471aa32
fix(secrets): Make "insufficient lockable memory" warning work on BSDs (#16682)
Co-authored-by: Stephan Gabert <stepga@nirgendwo.eu>
2025-03-24 09:08:01 -05:00
Paulo Dias cb71790cf7
chore(linters): Enforce import grouping with gci linter (#16526)
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@me.com>
2025-02-24 19:37:12 -06:00
Sven Rebhan e5f7caa577
fix(agent): Add authorization and user-agent when watching remote configs (#16546) 2025-02-24 11:58:29 -06:00
Sven Rebhan d00ee7c0cf
fix(agent): Avoid panic by checking for skip_processors_after_aggregators (#16477) 2025-02-05 09:12:51 -06:00
Neelay Upadhyaya 0ec17e4229
feat(agent): Print plugins source information (#16270) 2025-01-22 09:35:15 -06:00
Paweł Żak 4e7821a4fd
chore: Fix linter findings for `revive:unused-receiver` in `agent`, `cmd`, `config`, `internal`, `metric`, `migrations`, `models`, `testutils` and `tools` (#16340) 2025-01-15 20:58:58 +01:00
Alex Gokhale 304ab2e780
feat(logging): Allow overriding message key for structured logging (#16242) 2024-12-05 10:38:32 -06:00
Paweł Żak 0d30797c08
chore: Enable `revive:enforce-slice-style` rule (#16173) 2024-11-13 01:24:35 -06:00
Dane Strandboge 62b44b70ee
feat(agent): Add --watch-interval option for polling config changes (#16010) 2024-10-16 12:39:47 +02:00
Paweł Żak 0804ccef4e
chore(linters): Enable `string-format` rule for revive (#15983) 2024-10-09 09:07:46 +02:00
Dane Strandboge 2b307c789a
chore(agent): Fix typo in service install command (#15967) 2024-10-02 18:41:34 +02:00
Paweł Żak 43590ca730
chore: Fix linter findings for `revive:comment-spacings` (part 1) (#15896) 2024-09-19 10:55:45 +02:00
Thomas Casteleyn b07d089265
chore(cmd): Align plugin deprecation messages (#15867) 2024-09-12 14:19:30 -05:00
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