Commit Graph

27 Commits

Author SHA1 Message Date
Paweł Żak e2b5a9910b
chore: Fix linter findings for `revive:exported` in `plugins/inputs/p*` (#16307) 2024-12-17 11:10:18 -06: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
Sven Rebhan fd8cbbf662
feat(inputs.procstat): Add ability to collect per-process socket statistics (#15423) 2024-07-17 12:44:41 -06: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 46dbab0c0d
feat(inputs.procstat): Report consistent I/O on Linux (#15186) 2024-04-23 08:50:36 -06: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 ebffaa3916
chore(inputs.procstat): Convert bool tagging settings to a list (#14333) 2023-11-30 16:23:35 -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
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 00347033ab
chore: Fix linter findings for nolintlint (part2) (#12430)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-01-26 11:27:32 +01:00
Paweł Żak b83bdd5eac
chore: enable interfacebloat linter (#12174) 2022-11-10 11:41:11 -07:00
Pierre Fersing 4a0397342a
fix: update shirou/gopsutil to v3 (#10119) 2021-11-18 09:33:47 -07:00
Paweł Żak b9e4978b17
fix: Linter fixes for plugins/inputs/p* (#10066) 2021-11-15 09:14:09 -06: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
reimda 851136f16c
Add PPID field to procstat input plugin (#8887) 2021-03-02 21:42:06 -07: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 ba66d4facb
Revive fixes - part 1 (#8797)
* Revive fixes regarding following set of rules:
[rule.blank-imports]
[rule.context-as-argument]
[rule.context-keys-type]
[rule.dot-imports]
[rule.error-return]
[rule.error-strings]
[rule.indent-error-flow]
[rule.errorf]
2021-02-08 11:18:40 -05:00
prashanthjbabu 59a506ae4a
Add process created_at time to procstat input (#7039) 2020-02-19 11:57:07 -08:00
Matthew Crenshaw e36639b15d Add memory_usage field to procstat input plugin (#6249) 2019-08-14 10:17:38 -07:00
Matthew Crenshaw 9c3af1e6ac Add pagefault data to procstat input plugin (#5769) 2019-04-25 17:21:02 -07:00
scottprichard d2666d0db6 Add cmdline tag to procstat input (#5681) 2019-04-10 18:42:38 -07:00
Greg b5cdeeb300 Add user tag to procstat input (#4386) 2018-07-05 13:56:41 -07:00
Ben Aldrich a7571d5730 Add native Go method for finding pids to procstat (#3559) 2018-02-01 15:14:27 -08:00
Patrick Hemmer 0339dc7faf Add process resource limits to procstat input (#3231) 2017-09-15 11:16:44 -07:00
Daniel Nelson a962e958eb Refactor procstat input (#2540)
fixes #1636 
fixes #2315
2017-03-17 16:49:11 -07:00