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
Paweł Żak
9d9eb403a6
chore: Review of //nolint comments ( #12088 )
2022-10-26 12:06:08 +02: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
Eng Zer Jun
c3d176029d
test: use `T.TempDir` to create temporary test directory ( #10988 )
2022-04-18 13:27:59 -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
Mya
d4582dca70
chore: clean up all markdown lint error on input plugins n through r ( #10168 )
2021-11-24 11:50:01 -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
Joshua Powers
85a7fbc13f
fix: procstat tags were not getting generated correctly ( #9973 )
...
Fixes : #9961
2021-10-25 13:21:39 -06:00
Sebastian Spaink
2e230e6bf4
fix: Correct conversion of int with specific bit size ( #9933 )
2021-10-18 09:48:16 -05:00
Joshua Powers
ac40bdc52e
fix: procstat missing tags in procstat_lookup metric ( #9808 )
...
In #9488 the way that tags were built for procstat_lookup was changed
and it was only including the pid_finder and result tags. This is not
consistent with the documentation and is a regression from how they were
previously constructed.
Becuase of the large change to how procstat metrics are gathered, this
will use one of the process metric's tags as a basis for the tags for
procstat_lookup.
Resolves : #9793
2021-10-01 15:10:25 -06:00
Eng Zer Jun
6a3b27126a
refactor: move from io/ioutil to io and os package ( #9811 )
2021-09-28 15:16:32 -06:00
Sebastian Spaink
3a7d9b6d98
fix: support 1.17 & 1.16.7 Go versions ( #9642 )
2021-08-23 15:37:44 -05:00
Sebastian Spaink
126825d944
Fix procstat plugin README to match sample config ( #9553 )
2021-07-28 16:22:37 -06:00