Commit Graph

98 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
Sven Rebhan c38792949d
chore(inputs): Fix line-length in READMEs for `t` to `z` (#16485) 2025-02-06 14:11:18 -06:00
Paweł Żak 25de05a8fc
chore: Fix linter findings for `revive:exported` in `plugins/inputs/win*` (#16427) 2025-01-27 12:34:59 -06:00
Paweł Żak 7a92925f00
chore(linters): Enable `unused-receiver` rule for revive (#16406) 2025-01-17 11:12:49 +01:00
Paweł Żak b92700f98a
chore: Fix linter findings for `revive:unused-receiver` in `plugins/inputs/[s-z]` (#16327) 2024-12-27 08:33:43 -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
Paweł Żak 70e1cbc0be
chore(deps): Bump golangci-lint from v1.61.0 to v1.62.0 (#16172) 2024-11-12 15:49:39 -06:00
Paweł Żak 453d32bd81
chore: Fix linter findings for `revive:comment-spacings` (part 2) (#15897) 2024-09-19 11:03:28 +02:00
Paweł Żak 8d282ab03a
chore: Fix linter findings for revive:max-public-structs in plugins/inputs/[t-z]* and rest (#15879) 2024-09-16 11:59:39 -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
Dane Strandboge 19737fcb52
chore(linters): Fix remaining errcheck warnings (#15518)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2024-07-10 12:51:25 +02:00
Joshua Powers 7037429e6a
test(lint): Enable mirror (#15510) 2024-06-17 16:21:30 +02:00
Joshua Powers 71718fba7d
chore: Update removal dates to either v1.35.0 or v1.40.0 (#15452) 2024-06-05 15:19:47 -05:00
Paweł Żak 6506eecc9b
chore(linters): Bump golangci-lint to v1.56.0 (#14742) 2024-02-12 08:47:15 -06:00
Paweł Żak ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible (#14698) 2024-02-08 11:32:30 -06:00
Joshua Powers 2e52da00f6
fix(inputs.win_perf_counters): Ignore PdhCstatusNoInstance as well (#14570) 2024-01-17 10:08:59 +01:00
Joshua Powers 9035355215
fix(inputs.win_perf_counters): Check errors post-collection for skip (#14526) 2024-01-15 12:08:16 +01:00
Sven Rebhan 0e2203d7a4
fix(inputs.win_perf_counter): Do not rely on returned buffer size (#14241) 2023-11-07 07:37:24 -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 8fbea28ab3
chore(linters): Fix findings found by testifylint: expected-actual (#14229) 2023-11-01 14:09:55 -06:00
Joshua Powers 318a4b69e5
docs: Clean up markdown add warning about tables (#13792) 2023-08-28 22:07:45 +02:00
Sven Rebhan 61cf18c821
chore: Check logging functions like printf (#13743) 2023-08-09 15:02:36 -06:00
Joshua Powers 0f8957f0e9
chore: Resolves gocritic sloppyReassign (#13712) 2023-08-03 18:57:18 +02:00
Paweł Żak 7919405cfd
chore: Fix linter findings for Windows (part3) (#13143) 2023-05-04 10:14:36 -06:00
Paweł Żak 77ee21f8e5
chore: Fix linter findings for Windows (part1) (#13057) 2023-04-25 07:15:55 -06:00
Paweł Żak 4d4bed4ec4
chore: Fix linter findings for Windows (part2) (#13096)
Co-authored-by: pzak <pzak>
2023-04-25 11:29:23 +02:00
Paweł Żak 55e4bb6808
chore: Enable G103 rule for gosec (#13038) 2023-04-12 07:32:46 -06:00
Joshua Powers 9256a3f2e6
chore: Ensure go generate runs on all platforms (#12871) 2023-03-15 17:47:55 +01:00
Joshua Powers 56ecbba523
chore: Enable printing Windows sample configs on non-Windows (#12741) 2023-03-01 14:31:45 +01:00
Thomas Casteleyn 6a2f6f301f
chore: eliminate unnecessary use of quoted strings in printf (#12722) 2023-02-23 06:49:36 -07:00
Sven Rebhan 2529d5fa16
feat(inputs.win_perf_counters): add remote system support (#12556) 2023-01-27 10:22:25 -07:00
Thomas Casteleyn 61523bd4b9
feat(tools/readme_linter): Check for global configuration section (#12426) 2023-01-12 16:55:21 +01:00
Paweł Żak b98a76372a
chore: wrap long lines in plugins/inputs/[t-z]* (#12218) 2022-11-10 11:41:43 -07:00
Joshua Powers 6390d31eb0
feat: add arm64 Windows builds (#12130) 2022-11-08 13:44:51 -07:00
Joshua Powers 49ac03fa80
docs: add global configuration header (#12107) 2022-10-26 14:58:36 -05:00
Sebastian Spaink 4913392b85
chore: Remove deprecated build tags (#11867) 2022-09-22 13:25:31 -05: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
reimda f7aab29381
chore: Fix readme linter errors for input plugins M-Z (#11274) 2022-06-08 15:22:56 -06:00
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00
Sven Rebhan 56eb914998
chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00
Sebastian Spaink 0f5dc9946c
chore(inputs_m-z): migrate sample configs into separate files (#11133) 2022-05-18 11:31:34 -05:00
reimda 1b10e15424
fix: log instance name in skip warnings (#10995) 2022-05-17 13:42:42 -06:00
Sebastian Spaink b355be5ccb
feat: migrate input plugins to new sample config format (M-Z) (#10926) 2022-04-11 16:32:25 -05:00
Vlasta Hajek 3ef1c73582
feat: Implemented support for reading raw values, added tests and doc (#6501) 2022-02-10 15:03:52 -07:00
Thomas Casteleyn bd5c859fd7
style: Add deprecated warning and version to win_perf_counters option (#10579) 2022-02-03 10:33:38 -06:00
Sebastian Spaink d61f2e435a
feat(inputs.win_perf_counter): allow errors to be ignored (#10535) 2022-02-01 15:06:44 -07:00
reimda 6518745153
fix: Add setting to win_perf_counters input to ignore localization (#10101) 2021-11-23 15:11:00 -07:00