Commit Graph

420 Commits

Author SHA1 Message Date
Paweł Żak 080e9a1338
chore(deps): Bump golangci-lint from v1.64.5 to v2.0.2 (#16683) 2025-03-31 13:52:09 +01: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
Dane Strandboge c4fe39376c
fix(internal): Fix plural acronyms in SnakeCase function (#16530) 2025-02-24 08:51:00 -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 be2d5efed1
feat(outputs): Add rate-limiting infrastructure (#16258) 2024-12-06 11:23:35 +01:00
Sven Rebhan 0ea4c1422e
feat(outputs): Implement partial write errors (#16146) 2024-12-04 21:55:11 +01: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
Paweł Żak 942d2b3f6f
chore: Fix linter findings for `revive:exported` in `plugins/inputs/l*` (#16167) 2024-11-12 11:26:23 -06:00
Thomas Casteleyn 58b4126f0b
fix(inputs.snmp): Fix crash when trying to format fields from unknown OIDs (#16155) 2024-11-07 15:18:39 +01:00
Paweł Żak c8a30655cb
chore: Enable `revive:enforce-map-style` rule (#16077) 2024-10-28 13:59:26 +01:00
Thomas Casteleyn 3951d894ee
feat(inputs.snmp): Convert uneven bytes to int (#16027) 2024-10-18 13:10:09 +02:00
Paweł Żak 0804ccef4e
chore(linters): Enable `string-format` rule for revive (#15983) 2024-10-09 09:07:46 +02:00
Thomas Casteleyn ddd6023cee
feat(inputs.snmp): Add displayhint conversion (#15935) 2024-10-02 10:33:15 -05:00
Paweł Żak 9415d8e7e9
chore(linters): Enable `import-alias-naming` and `redundant-import-alias` rules for revive (#15836) 2024-10-01 13:49:53 -05: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 a0755797f5
chore(linters): Enable `time-equal` rule for revive (#15838) 2024-09-05 11:19:17 -05:00
Joshua Powers 83561960a5
fix(inputs.snmp): Avoid sending a nil to gosmi's GetEnumBitsFormatted (#15743) 2024-09-05 11:18:16 -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
Thomas Casteleyn 9297d77306
fix(inputs.snmp): Translate field correctly when not in table (#15618) 2024-07-15 07:55:39 -06:00
Joshua Powers 7037429e6a
test(lint): Enable mirror (#15510) 2024-06-17 16:21:30 +02:00
Joshua Powers bcafb1d24d
chore: Print debug message when no messages generated from parse (#15463) 2024-06-05 15:22:55 -05:00
Thomas Casteleyn c1bbce3e96
feat(inputs.snmp): Convert octet string with invalid data to hex (#15439) 2024-06-04 09:03:26 -06:00
Dane Strandboge 612b5ad8b1
chore: Fix errcheck CI warnings outside of plugins directory (#15390) 2024-06-04 10:33:37 +02:00
Andreas Deininger b516ead921
docs: Fix typos (#15421) 2024-05-31 10:31:30 +02:00
Sven Rebhan 12ab6dfb33
feat(inputs.execd): Add option to not restart program on error (#15271) 2024-05-23 13:42:34 -05:00
Andreas Deininger 01c00d69fb
chore: Fix typos (#15114) 2024-04-09 20:00:52 +02:00
Sven Rebhan aa030b569a
feat(outputs): Add framework to retry on startup errors (#14884) 2024-03-26 12:12:30 -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
Sven Rebhan 0e6b4f05f9
chore(inputs.syslog): Use common/socket implementation (#14837) 2024-02-23 13:20:39 -06:00
Thomas Casteleyn d018363261
chore(snmp): Refactor SNMP translation and data-structures (#14830) 2024-02-21 08:55:01 -07:00
Joshua Powers b19389533c
test(internal): Try multiple timezone abbrevations (#14854) 2024-02-20 14:36:38 -06:00
Sven Rebhan 298a1d4396
chore(processors.converter): Cleanup code (#14744) 2024-02-12 07:43:01 -07:00
Paweł Żak ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible (#14698) 2024-02-08 11:32:30 -06:00
Dane Strandboge a7f0b06bfe
chore: fix timezone test case failure on macOS (#14693) 2024-02-06 16:57:09 -05:00
Sven Rebhan a3bea89509
chore(internal): Handle ranges in type-conversion and add missing types (#14618) 2024-01-24 06:47:51 -07:00
senpro-ingwersenk 9878eba241
chore(internal.snmp): Rephrase error message on translating OID (#14612) 2024-01-23 15:54:16 +01: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
Paweł Żak 34ae468a8c
chore(linters): Fix findings found by testifylint: len (#14203) 2023-10-31 10:29:53 +01:00
Paweł Żak fe87db594c
chore(linters): Fix findings found by testifylint: error-nil (#14198) 2023-10-27 07:42:25 -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
Joshua Powers b6d946da6e
fix(inputs.exec): Clean up grandchildren processes (#13937) 2023-09-22 13:52:45 +02:00
Paweł Żak 5661341813
chore: Enable filepathJoin checker for gocritic (#13758)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-08-14 23:18:20 +02:00
Joshua Powers 013b73213d
chore: Spell endianness correctly (#13752) 2023-08-14 10:43:32 +02:00
Joshua Powers 0f8957f0e9
chore: Resolves gocritic sloppyReassign (#13712) 2023-08-03 18:57:18 +02:00
Sven Rebhan fe8467539a
feat(inputs.influxdb_listener): Add token based authentication (#13610) 2023-07-24 16:08:16 -06:00
Zeyad Kenawi 577db893e2
feat(internal): Add zstd to internal content_coding (#13423) 2023-06-22 08:54:13 -06:00
Sven Rebhan a1c06429de
fix: Handle compression level correctly for different algorithms (#13434) 2023-06-20 07:55:10 -06:00