Commit Graph

47 Commits

Author SHA1 Message Date
Paweł Żak d26479b58e
chore: Fix linter findings for `revive:unused-receiver` in `plugins/`: `aggregators`, `common`, `parsers`, `processors`, `secretstores` and `serializers` (#16339) 2025-01-14 09:24:13 +01:00
Paweł Żak 43590ca730
chore: Fix linter findings for `revive:comment-spacings` (part 1) (#15896) 2024-09-19 10:55:45 +02:00
Paweł Żak ee9c47cc7a
chore(linters): Fix findings found by `testifylint`: `go-require` for`instrumental` and parsers/processors (#15887) 2024-09-17 14:55:14 -05:00
Sven Rebhan f674099fad
feat(snmp): Add secret support for auth_password and priv_password (#14975) 2024-03-13 11:39:37 -05:00
Thomas Casteleyn a8551659bc
feat(processors.snmp_lookup): New SNMP lookup processor (#14223) 2024-02-27 09:13:17 -07:00
Thomas Casteleyn d018363261
chore(snmp): Refactor SNMP translation and data-structures (#14830) 2024-02-21 08:55:01 -07:00
Sven Rebhan f005bfaa1c
test(processors): Fix unit-test for tracking metrics (#14844) 2024-02-20 07:21:32 -07:00
Sven Rebhan 53c231233e
test(processors.ifname): Add unit-test for tracking metrics (#14778) 2024-02-13 06:42:46 -07:00
Paweł Żak c4dbe65732
chore(linters): Bump golangci-lint to v1.56.1 (#14759) 2024-02-12 23:26:10 +01: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 8fbea28ab3
chore(linters): Fix findings found by testifylint: expected-actual (#14229) 2023-11-01 14:09:55 -06:00
Paweł Żak 97f47c11dd
chore(linters): Fix findings found by testifylint: empty (#14179) 2023-10-25 15:09:13 -06:00
Thomas Casteleyn c142f48f72
docs(processors.ifname): Document better agent tag name (#14117) 2023-10-18 09:42:01 +02:00
Paweł Żak 4201f24020
chore: Fix linter findings for errorlint (part2) (#12702)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-22 12:08:46 +01:00
Thomas Casteleyn 61523bd4b9
feat(tools/readme_linter): Check for global configuration section (#12426) 2023-01-12 16:55:21 +01:00
Joshua Powers 49ac03fa80
docs: add global configuration header (#12107) 2022-10-26 14:58:36 -05:00
Paweł Żak 9d9eb403a6
chore: Review of //nolint comments (#12088) 2022-10-26 12:06:08 +02:00
Sebastian Spaink d67f75e557
docs: Remove warning not to remove go:embed (#11797)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2022-09-13 12:47:58 -05:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
Joshua Powers 3f65217f5e
test: mark integration tests correctly (#11317) 2022-06-16 14:10:11 -06:00
reimda 0dd99b2157
fix(inputs/snmp): switch new Reconnect method to be a value receiver (#11197) 2022-05-27 15:03:46 -06:00
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00
Thomas Casteleyn 885444ab3e
fix(inputs/snmp): Reconnect TCP agents if needed (#11163) 2022-05-25 12:47:51 -06:00
Sven Rebhan e04d62dd16
chore: Embed sample configurations into README for processors (#11189) 2022-05-25 08:59:41 -06:00
Sebastian Spaink d345348834
chore(processors): migrate sample configs into separate files (#11125) 2022-05-18 11:29:43 -05:00
Sebastian Spaink be0008f9e2
feat: migrate processor plugins to new sample config format (#10913) 2022-04-06 14:49:41 -06:00
reimda 77040ef4e9
fix: Add option to select translator (#10802) 2022-03-17 21:43:46 -06:00
Thomas Casteleyn 3ddc3c6b51
fix: eliminate MIB dependency for ifname processor (#10214) 2021-12-07 15:38:09 -07:00
Thomas Casteleyn cc397279f5
fix: parallelism fix for ifname processor (#10007) 2021-12-03 14:44:41 -06:00
Paweł Żak 2b1a79f327
fix: Linter fixes for plugins/processors/[a-z]* (#10161)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-24 12:38:08 -07:00
Joshua Powers 4605c977da
chore: clean up all markdown lint errors in processor plugins (#10157) 2021-11-24 11:47:11 -07:00
Thomas Casteleyn 1391f05e80
feat: Add more details to processors.ifname logmessages (#9984) 2021-10-22 16:12:12 -05:00
Mya a48e11d0d1
Bug Fix Snmp empty metric name (#9519) 2021-07-27 14:34:35 -06:00
Sven Rebhan 9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} (#8969) 2021-04-09 13:15:04 -04:00
Thomas Casteleyn ffe92a7658
Don't walk the entire interface table to just retrieve one field (#9043) 2021-03-29 17:05:19 -06: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 8a6907a186
Revive fixes - part 3 (#8872)
* * Revive fixes regarding following set of rules: [rule.var-naming]
2021-03-01 16:04:35 -05:00
reimda 4d61935dec
Fix mutex locking around ifname cache (#8873) 2021-02-19 11:31:25 -07:00
Paweł Żak ba66d4facb
Revive fixes - part 1 (#8797)
* Revive fixes regarding following set of rules:
[rule.blank-imports]
[rule.context-as-argument]
[rule.context-keys-type]
[rule.dot-imports]
[rule.error-return]
[rule.error-strings]
[rule.indent-error-flow]
[rule.errorf]
2021-02-08 11:18:40 -05:00
Patryk Małek 7e78a08eba
AWS EC2 metadata processor Using StreamingProcessor (#8707) 2021-02-04 17:02:27 -05:00
Helen Weller d41569caed
Integration test audit (#8725) 2021-01-26 11:06:12 -07:00
Paweł Żak 0fcfee0caf
Fix tests for Windows - part 1 (#8414) 2020-11-23 10:40:32 -05:00
Thomas Casteleyn 54f9e33208
Add addTag debugging in ifname plugin (#8018) 2020-08-26 15:25:57 -06:00
reimda ef262b1372
ifname: avoid unpredictable conditions in getMap test (#7848) 2020-07-17 15:26:10 -06:00
reimda 9b58590df3
ifname processor: expire old cached entries (#7838) 2020-07-16 09:12:30 -06:00
Daniel Nelson 413398d1a1
Add minimum version for new plugins (#7810) 2020-07-09 11:29:12 -07:00
reimda 6f9c623986
Add ifname processor plugin (#7763) 2020-07-07 15:37:53 -06:00