Commit Graph

85 Commits

Author SHA1 Message Date
Vincent Caron 3d979493ad Use same timestamp for fields in system input (#4078) 2018-04-27 14:55:10 -07:00
Daniel Nelson 04c72df264 Report available fields if utmp is unreadable (#4043) 2018-04-18 16:55:18 -07:00
James Maidment 300568db72 Update mem values to gauge (#4034) 2018-04-17 15:43:10 -07:00
Chris Ottinger 25cc56d1e3 Added config flag to skip collection of network protocol metrics (#3880) 2018-03-13 21:08:21 -07:00
Daniel Nelson b6912e84f4 Set path to / if HOST_MOUNT_PREFIX matches full path (#3736) 2018-01-30 18:06:53 -08:00
Daniel Nelson 7e597c8992 Add support for using globs in devices list of diskio input plugin (#3687) 2018-01-17 15:12:05 -08:00
gerardocorea92 3997abfd65 Add available_entropy field to kernel input plugin (#3524) 2018-01-05 14:54:29 -08:00
Daniel Nelson b657480a1b Add wired field to mem input (#3632) 2018-01-02 16:37:11 -08:00
Ildar Svetlov 856655f955 Don't add system input uptime_format as a counter (#3578) 2017-12-13 11:13:56 -08:00
Daniel Nelson 8761193dc7 Add idle state to processes test 2017-12-11 15:33:44 -08:00
Ted Zlatanov 6a5d8e31b3 Support I (idle) process state on procfs+Linux (#3530) 2017-12-11 15:31:52 -08:00
Daniel Nelson 7e91563647 Fix HOST_MOUNT_PREFIX in docker with disk input (#3529) 2017-12-01 11:21:39 -08:00
Bob Shannon dd8157ec68 Add support for glob patterns in net input plugin (#3140) 2017-11-29 12:16:34 -08:00
Daniel Nelson 9325f6e937 Add slab to mem plugin (#3518) 2017-11-29 10:49:45 -08:00
Daniel Nelson 07a98ea5f7 Always ignore autofs filesystems in disk input (#3440) 2017-11-07 11:45:09 -08:00
Maximilien Richer c569863119 Fix typos in comments (#3415) 2017-10-31 17:00:06 -07:00
Daniel Nelson 71480f8cee Use golang.org/x/sys/unix instead of syscall in diskio (#3384) 2017-10-24 16:22:31 -07:00
Pierre Fersing 7efce41d39 Fix CPU system plugin gets stuck after system suspend (#3342) 2017-10-16 14:25:00 -07:00
Patrick Hemmer 43a2b49ad1 Fix documented equation for diskio average queue depth (#3334) 2017-10-12 15:08:51 -07:00
Daniel Nelson e7bbb66957 Fix panic in cpu input if number of cpus changes (#3306) 2017-10-05 16:02:21 -07:00
Daniel Nelson 3398c43c75 Allow 64bit integers in kernel_vmstat 2017-09-26 15:25:57 -07:00
Raúl Benencia f685837519 Include mount mode option in disk metrics (#3027) 2017-09-06 14:28:11 -07:00
rdxmb 7f71b10080 Fix docker image name in docs (#3193) 2017-09-05 11:44:51 -07:00
Daniel Nelson cc67c3f4de Allow using system plugin in Windows (#3127) 2017-08-16 12:05:46 -07:00
Patrick Hemmer 585fbb6f0d Add weighted_io_time to diskio input (#3119) 2017-08-11 11:49:42 -07:00
Daniel Nelson 6f0ff514c9 Add diskio %util sample query 2017-08-09 11:28:27 -07:00
Daniel Nelson bd78b8e1b3 Fix build on Windows (#2972) 2017-06-27 16:31:28 -07:00
Bob Shannon d7af1b797c Add optional usage_active and time_active CPU metrics (#2943) 2017-06-26 15:13:38 -07:00
MatthewCh cc72af94e6 Support HOST_PROC in processes and linux_sysctl_fs inputs (#2924) 2017-06-23 11:11:33 -07:00
Timo Mihaljov b66e53a2ac Handle process termination during read from /proc (#2816)
Fixes #2815.
2017-05-16 17:33:35 -07:00
Frederick Roth ec3c27a555 Fixed inconsistency between HasIntField and IntField (#2813) 2017-05-16 15:25:30 -07:00
Zack Zatkin-Gold 61be19b1f0 Fix telegraf example arguments (#2788)
Many of the examples provided within documentation are using a single
dash for the command line arguments, but the telegraf executable
explicitly has two dashes.

There are also some inconsistencies with the ordering of the command
line argument examples.  I've ordered them so that the examples will
show: config, config-directory, input-filter, test
2017-05-12 15:22:29 -07:00
Alexander Blagoev 06199523ac System net input documentation (#2698)
closes #2166
2017-04-24 11:03:53 -07:00
Nikolay Denev cc44150054 Simplify system.DiskUsage() (#2630) 2017-04-18 11:42:58 -07:00
Daniel Nelson 2177270d80 Use variadic disk.IOCounters() function 2017-04-14 13:48:02 -07:00
Daniel Nelson 8b4c3201a2 Use name filter for IOCounters in diskio (#2649)
Use IOCountersForNames for disk counters.
2017-04-11 11:41:09 -07:00
Rajaseelan Ganeswaran 223fce4770 Add sample config stanza for CPU (#2620) 2017-04-06 14:44:02 -07:00
Patrick Hemmer 0def641ce8 add support for linux sysctl fs metrics (#2609) 2017-03-31 14:01:02 -07:00
jeremydenoun ccd2182295 Report DEAD (X) State Process (#2501)
Report count of processes in dead (X) process state from the processes input.  This process state is only valid on Linux.
2017-03-09 11:28:54 -08:00
Patrick Hemmer 28314f93b6 add support for diskio name templates & udev tags
closes #1453
closes #1386
closes #1428
2017-01-27 16:15:42 -08:00
Claudius Zingerli c9e0ae4d81 Add minimal documentation to the diskio plugin (#2296)
* Add documentation to diskio plugin

* Update spelling, fix iops_in_progress unit
2017-01-21 15:08:17 -08:00
Viet Hung Nguyen c4a708751a Ignore devfs on OSX (#2232) 2017-01-13 14:19:57 +00:00
Cameron Sparr fe9d3257c7 readme fixup & test output fixup 2017-01-09 12:28:13 +00:00
Mark Wolfe 2f521a87d4 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
Foxlik 5a3f2e61f3 Fix improper total of CPU times (#2123)
On linux, the cpu timer counters of user and nice include the respective guest and guest_nice counters. This results in improper calculation of percentages.

Please see:
https://github.com/torvalds/linux/blob/447976e/kernel/sched/cputime.c#L169
https://lists.linuxfoundation.org/pipermail/virtualization/2009-August/013459.html
https://github.com/giampaolo/psutil/pull/940
2016-12-05 08:35:59 +00:00
leplan73 81004c808f Added IopsInProgress to diskio stats (#2037)
* Export IopsInProgress

* Export IopsInProgress

* Export IopsInProgress
2016-11-16 13:16:16 +00:00
Cameron Sparr c7834209d2 Major Logging Overhaul
in this commit:

- centralize logging output handler.
- set global Info/Debug/Error log levels based on config file or flags.
- remove per-plugin debug arg handling.
- add a I!, D!, or E! to every log message.
- add configuration option to specify where to send logs.

closes #1786
2016-10-03 17:13:03 +01:00
Cameron Sparr b18d375d6c Implement AddGauge & AddCounter functions
and utilize them in the in the 'system' input plugins.
2016-09-02 16:51:26 +01:00
Cameron Sparr 6dbbe65897 Remove Add() function from accumulator 2016-09-02 16:35:27 +01:00