Commit Graph

32 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
Sven Rebhan dcec9d1cea
docs(inputs): Add plugin metadata and update description for a* to f* (#16097) 2024-10-31 16:15:21 -05:00
Mingyang Zheng 67f655bfeb
chore(deps): Bump upgrade github.com/shirou/gopsutil from v3.24.4 to v4.24.9 (#16023) 2024-10-15 13:25:18 +02:00
Paweł Żak a5c8a89b54
chore: Fix linter findings for `revive:exported` in `plugins/inputs/c*` (#16006) 2024-10-15 13:06:55 +02: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 e6d82bd996
chore: Fix linter findings for `revive:enforce-repeated-arg-type-style` in `plugins/inputs/[a-g]*` (#15849) 2024-09-16 10:56:55 -05:00
Paweł Żak ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible (#14698) 2024-02-08 11:32:30 -06:00
Sven Rebhan debae8ead0
docs(inputs.cpu): Clarify 'time_active' contains 'iowait' (#14215) 2023-10-31 06:20:44 -06:00
r3inbowari 19c4316694
chore: Update README.md (#12989) 2023-04-04 13:43:49 +02:00
Thomas Casteleyn 6a2f6f301f
chore: eliminate unnecessary use of quoted strings in printf (#12722) 2023-02-23 06:49:36 -07:00
Paweł Żak 312fb04b68
chore: Fix linter findings for errorlint (part4) (#12723)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-22 21:38:06 +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
Joshua Powers 6e924fcd5c
docs(inputs.cpu): explain macos cpu support requires cgo (#11883) 2022-09-26 12:13:06 -06: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 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
Martin Molnar b5e5f4cfd7
feat(inputs.cpu): Add tags with core id or physical id to cpus (#11141) 2022-05-23 21:10:18 +02:00
Sebastian Spaink 6b697db11e
chore(inputs_a-l): migrate sample configs into separate files (#11132) 2022-05-18 11:31:52 -05:00
Sebastian Spaink 8e2b4988fe
feat: migrate input plugins to new sample config format (A-L) (#10924) 2022-04-07 16:01:21 -06:00
Joshua Powers 6fa29f2966
fix: markdown: resolve all markdown issues with a-c (#10169) 2021-11-24 11:55:55 -07:00
Pierre Fersing 4a0397342a
fix: update shirou/gopsutil to v3 (#10119) 2021-11-18 09:33:47 -07:00
Paweł Żak 1fabc5f1fe
Linter fixes for plugins/inputs/[c]* (#9194)
* Linter fixes for plugins/inputs/[c]*

* Linter fixes for plugins/inputs/[c]*

Co-authored-by: Pawel Zak <Pawel Zak>
2021-04-27 20:41:52 -05: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
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
Aleksei Magusev 0731585d61
Unify comments style in the CPU input (#8605) 2020-12-21 15:44:51 -05:00
Josh Soref 2c56d6de81
Fix spelling errors in comments and documentation (#7492) 2020-05-14 00:41:58 -07:00
Daniel Nelson 51a33acbb6
Update cpu docs to latest style (#6411) 2019-09-19 20:04:24 -07:00
Trevor Pounds ee056278f5 Enable gofmt code simplification (#4887) 2018-10-19 13:32:54 -07:00
Steve Domino 7b73b0db3a Moved system package inputs out to top level (#4406) 2018-07-11 16:43:49 -07:00