Commit Graph

68 Commits

Author SHA1 Message Date
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
Paweł Żak 5af100d96b
chore: Fix linter findings for `revive:exported` in `plugins/inputs/s*` (#16363) 2025-01-16 09:47:14 -06:00
stackcoder e4b2e927d7
feat(inputs.smart): Add Power on Hours and Cycle Count (#16230) 2024-12-03 11:14:02 -06:00
Paweł Żak 22b153ac65
chore: Fix linter findings for `revive:enforce-map-style` in `plugins/inputs/[n-z]*` (#16072) 2024-10-25 12:54:05 +02:00
Paweł Żak d9254c210f
chore: Fix linter findings for `revive:enforce-slice-style` in `plugins/inputs/[p-z]*` (#16043) 2024-10-24 11:03:31 +02: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 9988154e6c
chore(linters): Enable `get-return` rule for revive (#15841) 2024-09-12 16:01:48 -05:00
Paweł Żak 358224fa02
chore: Fix linter findings for `revive:enforce-repeated-arg-type-style` in `plugins/inputs/[o-z]*` (#15857) 2024-09-12 15:59:30 -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 71718fba7d
chore: Update removal dates to either v1.35.0 or v1.40.0 (#15452) 2024-06-05 15:19:47 -05:00
Andreas Deininger 01c00d69fb
chore: Fix typos (#15114) 2024-04-09 20:00:52 +02:00
Akito0723 19ac5e8081
fix(inputs.smart): Improve regexp to support flags with a plus (#14996) 2024-03-15 11:30:59 -05:00
Paweł Żak c4dbe65732
chore(linters): Bump golangci-lint to v1.56.1 (#14759) 2024-02-12 23:26:10 +01:00
Paweł Żak 98ec91478a
chore(linters): replace 'fmt.Sprintf' with string addition (#14699) 2024-02-08 15:46:22 -05:00
Paweł Żak ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible (#14698) 2024-02-08 11:32:30 -06:00
Maxi_Mega 439df813ec
feat(inputs.smart): Add a "device_type" tag to differentiate disks behind a RAID controller (#14613)
Co-authored-by: Thomas Delbende <thomas.delbende@bleemeo.com>
2024-01-23 15:55:35 +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 990ffc7222
chore(linters): Fix findings found by testifylint: bool-compare (#14163) 2023-10-24 10:45:17 -06:00
Joshua Powers df80446fae
fix(inputs.smart): Remove parsing error message (#13927) 2023-09-18 15:29:41 +02:00
r3inbowari 19c4316694
chore: Update README.md (#12989) 2023-04-04 13:43:49 +02:00
Paweł Żak e2a510f157
chore: Fix linter findings for errorlint (part7) (#12772)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-03 10:11:54 +01:00
Thomas Casteleyn 6a2f6f301f
chore: eliminate unnecessary use of quoted strings in printf (#12722) 2023-02-23 06:49:36 -07:00
Joshua Powers fa26b6498b
docs: remove trailing whitespace (#12660) 2023-02-09 12:35:18 -07:00
Paweł Żak 00347033ab
chore: Fix linter findings for nolintlint (part2) (#12430)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-01-26 11:27:32 +01:00
Thomas Casteleyn 61523bd4b9
feat(tools/readme_linter): Check for global configuration section (#12426) 2023-01-12 16:55:21 +01:00
Pranay Kanwar 4161651fed
feat(inputs.smart): Add additional SMART metrics that indicate/predict device failure (#12329) 2022-12-09 16:46:21 +01:00
Paweł Żak 74703d092b
chore: Fix linter findings for prealloc (part2) (#12242) 2022-11-15 09:31:51 +01:00
Paweł Żak d3fabdd0a9
chore: wrap long lines in plugins/inputs/[l-s]* (#12217) 2022-11-10 11:55:58 -07:00
Joshua Powers 49ac03fa80
docs: add global configuration header (#12107) 2022-10-26 14:58:36 -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
Ben Tasker fa0c9c937e
feat(inputs.smart): Collect SSD endurance information where available in smartctl (#11391) 2022-07-12 12:25:54 -05: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
Eng Zer Jun 81090be35d
refactor: replace strings.Replace with strings.ReplaceAll (#11079) 2022-05-11 09:53:34 -06:00
Joshua Powers bcc7c57f18
fix: correctly parse various numeric forms (#10923) 2022-04-19 15:07:23 -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
Thomas Casteleyn a4f6b27bd5
style: Add deprecation notices to plugin options (#10616) 2022-03-01 15:05:53 -07:00
Kuba Trojan d4475b7d08
feat: Add SMART plugin concurrency configuration option, nvme-cli v1.14+ support and lint fixes. (#10150) 2021-12-07 09:10:36 -07:00
Mya 837465fcd5
chore: clean up all errors for markdown lint input plugins s through v (#10167) 2021-11-24 11:50:13 -07:00
Mya Longmire f6a9d104f8
Feature powermode smartctl (#9306)
Co-authored-by: Steven Soroka <ssoroka@influxdata.com>
2021-06-10 15:51:33 -05:00
Sven Rebhan 9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} (#8969) 2021-04-09 13:15:04 -04:00
Paweł Żak ff0a8c2d87
Fix SMART plugin to recognize all devices from config (#8374) 2020-11-12 11:04:52 -05:00
Paweł Żak c8e69aca3c
Fixed almost all bugs found by LGTM analysis platform (#8240) 2020-10-08 11:20:35 -04:00
Paweł Żak e1cb269a35
Add more missing NVMe attributes to smart plugin (#8113) 2020-09-28 11:16:49 -04:00
Piotr Szczepanik 6c1d9f765a
Add missing nvme attributes to smart plugin (#7575) 2020-06-23 11:55:32 -07:00
Josh Soref bf1eb291f2
Fix assorted spelling mistakes (#7507) 2020-05-15 15:43:32 -07:00