Commit Graph

62 Commits

Author SHA1 Message Date
Sven Rebhan f9f029e7e8
feat(plugins): Allow to override log-level per plugin (#15677) 2024-07-30 09:15:19 -06:00
Dane Strandboge 790c21e7cd
fix(agent): Fix buffer directory config and document (#15661) 2024-07-30 10:18:10 +02:00
Sven Rebhan ef41198481
chore(logging): Implement early logging (#15629) 2024-07-26 09:09:21 -06:00
Dane Strandboge f11ead9980
chore(agent.buffer): Add experimental warnings and increased logging (#15638) 2024-07-19 07:47:30 -06:00
Dane Strandboge 7245ea96bd
feat(agent): Add metric disk buffer (#15564) 2024-07-17 12:42:45 -06:00
Dane Strandboge 6da035ba44
chore(agent): Extract buffer into interface (#15545) 2024-06-25 07:46:23 -06:00
Joshua Powers 5c3aa87340
chore: Update golangci-lint from v1.58.0 to v1.59.0 (#15473) 2024-06-07 11:12:25 -05:00
Sven Rebhan 71b58ddaf5
chore(log): Restructure and cleanup logging code (#15234) 2024-05-10 16:43:43 -05:00
Joshua Powers 5dcc70b841
chore(deps): Bump golangci-lint from v1.57.2 to v1.58.0 (#15303) 2024-05-07 11:02:25 -05:00
Sven Rebhan e7e2d1aeee
chore(inputs.nvidia_smi): Consolidate startup_retry_behavior to model implementation (#15215) 2024-04-24 13:33:33 -05:00
Sven Rebhan 8d603cdc9c
feat(inputs): Add framework to retry on startup errors (#15145) 2024-04-17 15:12:28 -05:00
Sven Rebhan aa030b569a
feat(outputs): Add framework to retry on startup errors (#14884) 2024-03-26 12:12:30 -05:00
Paweł Żak ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible (#14698) 2024-02-08 11:32:30 -06:00
Andreas Deininger 5f5a56ed01
docs: Fix typos (#14376) 2024-01-05 22:34:02 +01:00
Thomas Casteleyn 193479a988
feat(config): Deprecate `fieldpass` and `fielddrop` modifiers (#14012) 2023-12-04 08:22:12 -07:00
Akash Gupta 761dbce964
feat(agent): Allow separators for namepass and namedrop filters (#14361) 2023-11-30 16:15:56 -07: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
Sven Rebhan 7c8200fd65
fix(metricpass): Use correct logic expression in benchmark (#14131) 2023-10-17 17:56:51 +02:00
Joshua Powers 8dbc177d3f
fix(metricpass): Remove python logic compatibility (#13791) 2023-08-28 22:47:29 +02:00
Sven Rebhan 3da80fdfc6
feat(agent): Add option to avoid filtering of global tags (#13605) 2023-07-14 16:00:10 +02:00
Michael Cassaniti 435e42cfd4
feat(internal): Add gather_timeouts metric (#13471) 2023-06-30 08:19:13 -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 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
Paweł Żak c76f319b84
chore: Remove `revive:unhandled-error` - `errcheck` is more flexible (#13008) 2023-04-03 07:19:43 -06:00
Maxim Ivanov 5fdeae1ab1
feat(inputs.prometheus): Control which pod metadata is added as tags (#12851) 2023-04-03 10:08:15 +02:00
abhi-jha e4cf2904ca
docs: Fix various typos in comments (#12888) 2023-03-21 16:27:38 +01:00
Maxim Ivanov ee682539e7
feat(inputs.prometheus): Use namespace annotations to filter pods to be scraped (#12777) 2023-03-07 09:26:38 +01:00
Sven Rebhan f87916aaa9
feat: Plugin state-persistence (#12166) 2023-03-01 15:34:48 -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 337e4e34bc
chore: improve processor ordering (#12308) 2022-11-30 09:28:23 -07:00
Thomas Casteleyn 63c8a7861e
feat: add method to inform of deprecated plugin option values (#11987) 2022-11-28 08:13:14 -07:00
Sebastian Spaink 6a29dcba45
fix: Run processors in config order (#12113) 2022-11-08 15:16:26 -06:00
Paweł Żak 9d9eb403a6
chore: Review of //nolint comments (#12088) 2022-10-26 12:06:08 +02:00
Paweł Żak 5878278fca
chore: resolve linter issues for unhandled-error (#11969) 2022-10-12 14:23:53 -06:00
Paweł Żak 85b7590ff9
chore: resolve linter issues for confusing-naming and confusing-results (#11956) 2022-10-12 13:19:47 -06:00
Sven Rebhan b73136c110
fix: Deprecation warnings for non-deprecated packages (#11460) 2022-07-06 18:42:59 +02:00
Sven Rebhan e5bcc274ca
fix: Bring back old xpath section names (#11335) 2022-06-29 23:30:58 +02:00
Paweł Żak 77390b6495
fix: linter fixes for "import-shadowing: The name '...' shadows an import name" (#10689) 2022-02-22 08:11:30 -07:00
Sven Rebhan 5479df2eb5
feat: collection offset implementation (#10545) 2022-02-15 10:39:12 -07:00
Sven Rebhan 193dc450c3
feat: Parser plugin restructuring (#8791) 2022-01-12 15:54:42 -07:00
Howie 381dc22723
chore: typos across source code comments (#10361) 2022-01-05 08:20:10 -07:00
David Bennett 842a788022
Remove error return type from metric.New method (#9116)
* Remove error return type from metric.New method.

* Formatting changes for linter + gofmt

* Additional linter fixes.

* More linter fixes.

* Linter fix.

* address comments
2021-04-13 14:40:03 -04:00
Sven Rebhan 5524acfb78
Remove deprecated and unused SetAggregate() and IsAggregate() functions. (#8994) 2021-04-06 10:14:06 -06:00
Paweł Żak 099ccda3f9
Linter fixes - gosimple (#9046) 2021-03-25 13:57:01 -04:00
Paweł Żak 74a1acd814
Linter fixes - revive:unused-parameter, unparam, varcheck and unused (#8984)
* Linter fixes - revive:unused-parameter and unparam

* Linter fixes - revive:unused-parameter and unparam

* Linter fixes - revive:unused-parameter and unparam

* "nolint"'s removed

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-22 12:21:36 -05:00
Paweł Żak 38c61c07ef
Revive fixes - part 4: (#8981)
empty-lines

Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-12 14:21:51 -06:00
Paweł Żak d9736d543f
Revive fixes - part 2 (#8835)
* Revive fixes regarding following set of rules:
[rule.if-return]
[rule.increment-decrement]
[rule.var-declaration]
[rule.package-comments]
[rule.receiver-naming]
[rule.unexported-return]
2021-02-16 18:19:50 -05:00