Commit Graph

152 Commits

Author SHA1 Message Date
Paweł Żak 9bf9fb3a4d
chore(linters): Enable `usetesting` linter (#16456)
Co-authored-by: pzak <pzak>
Co-authored-by: Zak <pawel.zak@intel.com>
2025-03-10 02:12:42 -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 1041d331ae
chore(deps): Bump golangci-lint from v1.63.4 to v1.64.5 (#16512) 2025-02-18 09:23:28 -06:00
Landon Clipp 01aa1a39cf
feat(agent): Add support for input probing (#16333) 2025-01-21 09:21:25 -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
Sven Rebhan e15a3c8dc6
chore(agent): Add warning about changing default for 'skip_processors_after_aggregators' (#16302) 2024-12-13 10:46:37 -06:00
Sven Rebhan d2e032eb4a
fix(agent): Skip initialization of second processor state if requested (#16290) 2024-12-11 15:33:31 -06:00
Long FlyBridge e8b84ce6d9
chore: Fix function names in comments (#16231)
Signed-off-by: longxiangqiao <longxiangqiao@qq.com>
2024-12-03 11:13:13 -06:00
Paweł Żak fe4246fab2
chore: Enable `revive:enforce-repeated-arg-type-style` rule (#16182) 2024-11-14 16:14:40 +01:00
Paweł Żak 0d30797c08
chore: Enable `revive:enforce-slice-style` rule (#16173) 2024-11-13 01:24:35 -06:00
Sven Rebhan 35fe105bb4
fix(agent): Restore setup order of stateful plugins to Init() then SetState() (#16123) 2024-11-13 01:21:49 -06:00
Lars Stegman 8561dedb07
feat(outputs): Only copy metric if its not filtered out (#15883) 2024-10-02 14:11:26 -05:00
Paweł Żak a0755797f5
chore(linters): Enable `time-equal` rule for revive (#15838) 2024-09-05 11:19:17 -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
Paweł Żak 1422c09294
test(linters): Enable `testifylint`: `blank-import`, `float-compare`, `negative-positive`, `nil-compare` and `useless-assert` (#15566) 2024-07-01 15:00:13 +02:00
Sven Rebhan caa0cf3a80
fix(agent): Ignore startup-errors in test mode (#15488) 2024-06-12 10:16:10 -05:00
Thomas Casteleyn a92d443a5b
feat(agent): Add uint support in cli test output (#15433) 2024-06-03 10:38:48 +02:00
Sven Rebhan 71b58ddaf5
chore(log): Restructure and cleanup logging code (#15234) 2024-05-10 16:43:43 -05:00
Sven Rebhan 274333921f
feat(processors.starlark): Allow persistence of global state (#15170) 2024-04-25 13:24:57 -05:00
Sven Rebhan 8d603cdc9c
feat(inputs): Add framework to retry on startup errors (#15145) 2024-04-17 15:12:28 -05:00
Joshua Powers e2aa248242
docs(agent): Add README (#15150) 2024-04-15 07:20:49 -06:00
Sven Rebhan aa030b569a
feat(outputs): Add framework to retry on startup errors (#14884) 2024-03-26 12:12:30 -05:00
Mingyang Zheng 6d523c96f3
fix(agent): Catch panics in inputs goroutine (#14840) 2024-02-26 20:59:16 +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 ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible (#14698) 2024-02-08 11:32:30 -06:00
Paweł Żak 34ae468a8c
chore(linters): Fix findings found by testifylint: len (#14203) 2023-10-31 10:29:53 +01:00
Paweł Żak 97f47c11dd
chore(linters): Fix findings found by testifylint: empty (#14179) 2023-10-25 15:09:13 -06:00
Paweł Żak 12065fd152
chore(linters): Fix findings found by testifylint: require-error (#14181) 2023-10-25 15:04:00 -06:00
Paweł Żak 7c5b3ea068
chore(linters): Fix findings found by testifylint: compares (#14177) 2023-10-24 15:02:26 -06:00
Chase Sterling 309c195e03
feat(processors.dedup): Add state persistence between runs (#14065) 2023-10-12 15:07:13 -06:00
Sven Rebhan a72b859b13
fix(agent): Respect processor order in file (#13614) 2023-07-14 08:12:24 -06:00
Michael Cassaniti 435e42cfd4
feat(internal): Add gather_timeouts metric (#13471) 2023-06-30 08:19:13 -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
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 9bb2d1562d
chore(serializers): Add new-style framework and migrate influx (#12920) 2023-04-11 21:52:42 +02:00
Paweł Żak 9608d118bd
chore: Don't use all default exclude patterns for golangci-lint (#12969)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-29 09:50:00 +02:00
Cemre Mengu 8d8c7e70a2
docs(agent): resolve typo (#12884) 2023-03-17 07:41:52 -06: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
Paweł Żak cdc622e9db
chore: Fix linter findings for prealloc (part1) (#12228) 2022-11-15 18:57:50 +01:00
Paweł Żak 6816aefcd5
chore: fix linter findings for unparam and revive.unused-parameter (#12150) 2022-11-08 12:04:12 -07:00
Paweł Żak 9d9eb403a6
chore: Review of //nolint comments (#12088) 2022-10-26 12:06:08 +02:00
Joshua Powers b3b72aea86
fix(agent): panic as tickers slice was off-by-one in size (#12077) 2022-10-21 07:27:47 -06:00
Paweł Żak ab293e853c
fix(regression): Fixes problem with metrics not exposed by plugins. (#12016) 2022-10-14 08:48:47 -06:00
Paweł Żak 85b7590ff9
chore: resolve linter issues for confusing-naming and confusing-results (#11956) 2022-10-12 13:19:47 -06:00
Paweł Żak 08c1ce9cb6
chore: Resolve linter issues for ineffassign, nilerr, gosimple... (#11966) 2022-10-12 13:08:03 -06:00
Sebastian Spaink 4913392b85
chore: Remove deprecated build tags (#11867) 2022-09-22 13:25:31 -05:00
Sven Rebhan 3b3584b40b
fix(parsers): Memory leak for plugins using ParserFunc. (#11815) 2022-09-16 08:50:26 -06:00