r3inbowari
19c4316694
chore: Update README.md ( #12989 )
2023-04-04 13:43:49 +02:00
Paweł Żak
c76f319b84
chore: Remove `revive:unhandled-error` - `errcheck` is more flexible ( #13008 )
2023-04-03 07:19:43 -06:00
Paweł Żak
9608d118bd
chore: Don't use all default exclude patterns for golangci-lint ( #12969 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-29 09:50:00 +02:00
Paweł Żak
73076bb9fa
chore: Fix linter findings for Darwin ( #12958 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-28 11:46:32 +02:00
Joshua Powers
8e5c2d0538
chore: Specify distro support (part 3) ( #12792 )
2023-03-06 12:18:43 +01: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
Paweł Żak
d9d9cd4c0b
chore: fix linter findings for nolintlint part 1 ( #12427 )
2023-01-25 13:28:13 -07: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
Sven Rebhan
373966babe
feat(inputs.diskio): Allow selecting devices by ID ( #11703 )
2022-09-28 09:26:14 -05: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
1b1482b5eb
chore: Fix readme linter errors for input plugins A-D ( #10964 )
2022-06-07 15:10:18 -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
6b697db11e
chore(inputs_a-l): migrate sample configs into separate files ( #11132 )
2022-05-18 11:31:52 -05:00
Thomas Casteleyn
6dc2b99549
style: align plugin renaming ( #10868 )
2022-04-28 13:40:34 -06: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
0c02f245d6
fix: markdown: resolve all markdown issues with d-f ( #10171 )
2021-11-24 11:56:26 -07:00
Pierre Fersing
4a0397342a
fix: update shirou/gopsutil to v3 ( #10119 )
2021-11-18 09:33:47 -07: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
Paweł Żak
9a794919e3
Linter fixes for plugins/inputs/[de]* ( #9379 )
2021-06-21 10:07:52 -05:00
Sven Rebhan
03b2daeb1b
Linter fixes (unhandled errors) -- Part 2 ( #9122 )
2021-04-22 16:08:03 -05:00
Paweł Żak
099ccda3f9
Linter fixes - gosimple ( #9046 )
2021-03-25 13:57:01 -04:00
Paweł Żak
5de640b855
Linter fixes - unconvert, revive:empty-lines, revive:var-naming, revive:unused-parameter ( #9036 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-24 11:27:46 -04:00
Paweł Żak
38c61c07ef
Revive fixes - part 4: ( #8981 )
...
empty-lines
Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-12 14:21:51 -06:00
Niels Huylebroeck
e1a896ca12
Non systemd support with unittest ( #8785 )
2021-02-26 10:42:46 -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
Simon Knittel
af8093e00e
Fix typo in queue depth example of diskio plugin ( #7613 )
2020-06-02 23:11:13 -07:00
victornet
c6b8947c15
Add counters for merged reads and writes to diskio input.
2020-01-24 11:57:47 -07:00
Jonathan Hurter
01e31e9d53
Invalidate diskio cache if the metadata mtime has changed ( #6835 )
2019-12-30 13:52:03 -08:00
Greg
817c9a69a9
Document and add support to input plugins for logging alias ( #6357 )
2019-09-23 15:39:50 -07:00
omgold
12831f43d4
Allow devices option to match against devlinks ( #5817 )
2019-05-15 12:21:55 -07:00
Soulou
205de66dd6
[diskio] Force type of stat.Rdev uint64 for mipsle compatibility
...
For most platforms, stat.Rdev is already a uint64 so this is without any effect
for linux,mipsle, unix.Stat_t.Rdev is a uint32, but the way to compute major and minor doesn't change, casting the uint32 has no impact either
2019-03-21 12:00:20 +01:00
Soulou
2118fbe78a
Use unix.Major/unix.Minor instead of custom implementation
2019-03-15 14:36:56 +01:00
Soulou
92b01ab4f9
Fix how major and minor identifiers of block devices are read.
...
The current implementation assure that the major and the minor are
coded on one byte. But they are not:
```
brw-rw---- 1 root disk 252, 290 Feb 25 11:36 dm-290
```
290 as minor in this example is over 1 byte.
So after wondering why all my devices iops weren't correctly stored,
I found out that several points were added for some disks. For `dm-290`
it was overriding `252:34`, instead of getting udev stats for `252:290`.
The solution is here:
https://sites.uclouvain.be/SystInfo/usr/include/sys/sysmacros.h.html
The implementation is directly taken from this, fixing my bug.
2019-03-11 01:31:30 +01:00
Daniel Nelson
8526aa5c87
Update changelog
2018-12-13 11:51:53 -08:00
dbergmanskytap
6b5ddbbf66
Include DEVLINKS in available diskio udev properties ( #5116 )
2018-12-13 11:49:19 -08: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