Sven Rebhan
9aee2681bb
fix(inputs.temp): Recover pre-v1.22.4 temperature sensor readings ( #14575 )
2024-01-18 07:56:47 -07:00
Paweł Żak
5661341813
chore: Enable filepathJoin checker for gocritic ( #13758 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-08-14 23:18:20 +02:00
Joshua Powers
ef8484aab3
fix(inputs.temp): Ignore warnings, return errors ( #13307 )
2023-05-22 22:11:05 +02:00
Joshua Powers
52b3f5211f
chore(deps): Bump github.com/shirou/gopsutil from 3.23.2 to 3.23.3 ( #13017 )
2023-04-03 20:27:19 +02:00
Paweł Żak
e2a510f157
chore: Fix linter findings for errorlint (part7) ( #12772 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-03 10:11:54 +01:00
Jacob Marble
a5cf3cccef
chore(deps): update gopsutil dependency from 3.22.9 to 3.22.12 ( #12580 )
2023-01-31 13:28:23 -07:00
Paweł Żak
e84df8983a
chore: Fix linter findings for errname ( #12253 )
2022-11-21 21:11:07 +01:00
Tomas Barton
0087a5d245
feat(inputs.conntrack): Parse conntrack stats ( #8958 )
2022-10-12 14:12:16 -05:00
Nathan Ferch
62922de631
feat: add mount option filtering to disk plugin ( #11039 )
2022-05-12 15:16:19 -06:00
Joshua Powers
f97e50a73d
fix: reduce log level in disk plugin ( #10925 )
2022-04-26 15:46:28 -06:00
reimda
6ef39deda1
fix: Remove verbose logging from disk input plugin ( #10527 )
2022-02-22 11:56:22 -07:00
Sven Rebhan
7867ef3623
fix: fix missing storage in container with disk plugin ( #10318 )
2022-01-05 08:45:03 -07:00
Pierre Fersing
4a0397342a
fix: update shirou/gopsutil to v3 ( #10119 )
2021-11-18 09:33:47 -07:00
Paweł Żak
2a0c3059a1
fix: Linter fixes for plugins/inputs/s* ( #10104 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-18 09:04:52 -07: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
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
Marc Venturini
4b6e791908
Fix sensor read error stops reporting of all sensors in temp input ( #5941 )
2019-06-14 11:27:24 -07:00
pytimer
25f9cc0b8d
Add temp input plugin ( #4411 )
2018-09-10 11:52:15 -07:00
Steve Domino
7b73b0db3a
Moved system package inputs out to top level ( #4406 )
2018-07-11 16:43:49 -07:00
Daniel Nelson
10e51e4b49
Set path to / if HOST_MOUNT_PREFIX matches full path ( #3736 )
2018-01-30 18:06:53 -08:00
Daniel Nelson
7f66863b87
Fix HOST_MOUNT_PREFIX in docker with disk input ( #3529 )
2017-12-01 11:21:39 -08:00
Daniel Nelson
b81bea658f
Always ignore autofs filesystems in disk input ( #3440 )
2017-11-07 11:45:09 -08:00
Nikolay Denev
eb7ef5392e
Simplify system.DiskUsage() ( #2630 )
2017-04-18 11:42:58 -07:00
Daniel Nelson
b968759d10
Use variadic disk.IOCounters() function
2017-04-14 13:48:02 -07:00
Daniel Nelson
f55af7d21f
Use name filter for IOCounters in diskio ( #2649 )
...
Use IOCountersForNames for disk counters.
2017-04-11 11:41:09 -07:00
Mark Wolfe
d2787e8ef5
Fix for loop over value array range issue. ( #2187 )
2016-12-20 22:56:02 +00:00
Nathan D Acuff
d518d7d806
Add device name as a tag in disk stats ( #1807 )
...
* return partition stat alongside disk stat from disk usage method, and report device name (minus /dev/) as a tag in disk stats
* update system/disk tests to include new partition stat return value from disk usage method calls
* update changelog for #1807 (use device name instead of path to report disk stats)
2016-12-05 17:42:36 +00:00
Cameron Sparr
6dbbe65897
Remove Add() function from accumulator
2016-09-02 16:35:27 +01:00
Cameron Sparr
0aff7a0bc1
Disk plugin: return immediately if usage fails
...
closes #1297
2016-05-31 17:17:06 +01:00
Cameron Sparr
56aee1ceee
Update gopsutil dependency
...
closes #1233
2016-05-20 15:30:13 +01:00
John Engelman
0b9b7bddd7
Specify host mount prefix with envvar.
...
closes #1120
2016-05-02 15:53:30 -06:00
Pierre Fersing
47ad73cc89
Ignore boring filesystems from disk plugin
...
Modern Linux has a lots of boring filesystem (tmpfs on /dev, devpts on
/dev/pts, lots of cgroup on /sys/fs/cgroup/*, ...).
* Ignore filesystem with 0 bytes (this cover cgroup, devpts and other).
* Add IgnoreFS to ignore additional FS by their type. Add tmpfs and
devtmpfs as default ignored type.
2016-02-22 14:34:26 -07:00
Cameron Sparr
9c0d14bb60
Create public models for telegraf metrics, accumlator, plugins
...
This will basically make the root directory a place for storing the
major telegraf interfaces, which will make telegraf's godoc looks quite
a bit nicer. And make it easier for contributors to lookup the few data
types that they actually care about.
closes #564
2016-01-27 15:42:50 -07:00
Cameron Sparr
4d0dc8b7c8
Refactor the docker plugin, use go-dockerclient throughout
...
fixes #503
fixes #463
2016-01-21 16:07:03 -07:00
Jack Zampolin
0cdf1b07e9
Fix issue 524
2016-01-20 10:57:35 -08:00
Cameron Sparr
fc1aa7d3b4
Filter mount points before stats are collected
...
fixes #440
2016-01-20 11:46:59 -07:00
Cameron Sparr
9c5db1057d
renaming plugins -> inputs
2016-01-07 15:04:30 -07:00