Commit Graph

139 Commits

Author SHA1 Message Date
Paweł Żak d829a5b29c
chore: Fix linter findings for `revive:unused-receiver` in `plugins/inputs/[l-r]` (#16325) 2024-12-18 12:47:47 -06:00
Paweł Żak e2b5a9910b
chore: Fix linter findings for `revive:exported` in `plugins/inputs/p*` (#16307) 2024-12-17 11:10:18 -06:00
Phil Bracikowski 543b907cdf
fix(inputs.procstat): Handle running processes correctly across multiple filters (#16257) 2024-12-03 11:18:46 -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
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
Benjamin Delacour 6c45aefe6e
fix(inputs.procstat): Correctly use systemd-unit setting for finding them (#16060) 2024-10-23 15:15:35 +02: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 453d32bd81
chore: Fix linter findings for `revive:comment-spacings` (part 2) (#15897) 2024-09-19 11:03:28 +02:00
Sven Rebhan fd8cbbf662
feat(inputs.procstat): Add ability to collect per-process socket statistics (#15423) 2024-07-17 12:44:41 -06: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
Viktor Szépe 31a1d34d99
chore: Fix typos throughout codebase (#15338) 2024-05-31 10:26:37 +02:00
Sven Rebhan a3b105e88e
feat(inputs.procstat): Add option to select properties to collect (#15299) 2024-05-08 11:22:25 -05:00
Sven Rebhan 920f92fc53
fix(inputs.procstat): Do not report dead processes as running for orphan PID files (#15260) 2024-05-02 13:46:36 -05:00
Sven Rebhan 46dbab0c0d
feat(inputs.procstat): Report consistent I/O on Linux (#15186) 2024-04-23 08:50:36 -06:00
Sven Rebhan 2acae45d09
feat(inputs.procstat): Allow multiple selection criteria (#14948)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2024-04-19 12:12:37 +02:00
Joshua Powers 8346f36682
test(inputs.procstat): Resolve flaky test when PID exists (#14856) 2024-02-20 14:37:08 -06: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
Joshua Powers 681e386bd3
fix(inputs.procstat): Correctly set tags on procstat_lookup (#14493) 2024-01-02 12:32:21 +01:00
Paweł Żak 3786cf2d72
chore(linters): Enable equalFold, preferStringWriter, and stringXbytes checkers for gocritic. (#14452) 2023-12-15 06:25:10 -07:00
Sven Rebhan d2329621dc
fix(inputs.procstat): Revert unintended renaming of 'systemd_unit' option (#14440) 2023-12-12 06:40:34 -07:00
Sven Rebhan ebffaa3916
chore(inputs.procstat): Convert bool tagging settings to a list (#14333) 2023-11-30 16:23:35 -07:00
Sven Rebhan 827f1cc249
chore(inputs.procstat): Use plural for supervisor_units option (#14329) 2023-11-28 14:02:08 -07:00
Sven Rebhan f2cc928178
chore(inputs.procstat): Cleanup code (#14326) 2023-11-27 13:50:30 -07:00
chenbt 2c5fbbc2a7
feat(inputs.procstat): Obtain process information through supervisor (#13417) 2023-11-13 16:11:31 -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
Sven Rebhan 76b311813a
feat(inputs.procstat)!: Remove useless zero cpu_times (#14224) 2023-10-31 16:03:36 -06:00
Paweł Żak 34ae468a8c
chore(linters): Fix findings found by testifylint: len (#14203) 2023-10-31 10:29:53 +01:00
Paweł Żak 171dccb7d7
chore(tools): Bump golangci-lint from v1.54.2 to v1.55.0 (#14155) 2023-10-23 08:12:08 -06:00
Joshua Powers 4b447d0483
docs(inputs.procstat): Add docs on permissions and metric details (#13921) 2023-09-14 20:09:55 +02:00
Joshua Powers 86a546c88d
fix(inputs.procstat): Collect swap via /proc/$pid/smaps (#13779) 2023-09-08 11:41:48 +02:00
Vanilla f2a1101581
feat(inputs.procstat): Add status field (#13505) 2023-06-27 17:12:16 +02:00
Paweł Żak a2f65d5728
chore: Fix linter findings for Windows (part4) (#13246)
Co-authored-by: Pawel Zak <Pawel Zak>
Co-authored-by: pzak <pzak>
2023-06-09 10:24:43 +02:00
Paweł Żak 77ee21f8e5
chore: Fix linter findings for Windows (part1) (#13057) 2023-04-25 07:15:55 -06:00
Paweł Żak 55e4bb6808
chore: Enable G103 rule for gosec (#13038) 2023-04-12 07:32:46 -06:00
Paweł Żak 89fa07fc5e
chore: Enable G301, G302 and G306 rules for gosec (#13022) 2023-04-04 08:51:08 -06:00
r3inbowari 19c4316694
chore: Update README.md (#12989) 2023-04-04 13:43:49 +02:00
genofire 9bfe6425b3
fix(inputs.procstat): Return tags of pids if lookup_error (#13015) 2023-04-03 20:28:50 +02:00
Paweł Żak b2b58bab9e
chore: Fix linter findings for errorlint (part6) (#12733)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-01 22:19:38 +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 fc1fb2fcd9
docs(inputs.procstat): add ppid field (#12641) 2023-02-07 09:37:21 -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
Paweł Żak c6663aca4f
chore: fix linter findings for makezero (part3) (#12371) 2022-12-12 07:05:33 -07:00
Paweł Żak 74703d092b
chore: Fix linter findings for prealloc (part2) (#12242) 2022-11-15 09:31:51 +01:00
Paweł Żak b83bdd5eac
chore: enable interfacebloat linter (#12174) 2022-11-10 11:41:11 -07:00
Paweł Żak 6816aefcd5
chore: fix linter findings for unparam and revive.unused-parameter (#12150) 2022-11-08 12:04:12 -07:00
Joshua Powers 49ac03fa80
docs: add global configuration header (#12107) 2022-10-26 14:58:36 -05:00