Cameron Sparr
498482d0f6
0.3.0 unit tests: system plugins
2016-01-05 23:48:59 -07:00
Cameron Sparr
3be111a160
Breakout JSON flattening into internal package, exec & elasticsearch aggregation
2016-01-05 23:48:59 -07:00
Cameron Sparr
50fc3ec974
Updating system plugins for 0.3.0
2016-01-05 23:48:59 -07:00
Cameron Sparr
03e66d5b87
Implement Glob matching for pass/drop filters
2015-12-07 16:58:31 -07:00
Cameron Sparr
c83f220fc4
Resolve gopsutil & unit test issues with net proto stats
2015-12-04 15:12:18 -07:00
Nathaniel Cook
0d0a8e9b68
Add network protocol stats to the network plugin
2015-12-04 14:06:18 -07:00
Cameron Sparr
bcafadb68a
Convert uptime to float64 for backwards compatability.
...
Fixes #390
2015-12-04 13:47:24 -07:00
Cameron Sparr
00a6dbbe97
cpu plugin: update LastStats before returning
...
fixes #388
2015-12-03 16:23:49 -07:00
Cameron Sparr
6fb7d2883d
io plugin, add an 'unknown' tag when the serial number can't be found
...
closes #405
2015-12-02 13:20:59 -07:00
Daniel Malon
375045953f
FreeBSD compatibility
...
- Use gopsutils istead of gosigar
- Bump go-dockerclient
closes #372
2015-11-16 10:32:58 -07:00
Cameron Sparr
b975419bc7
Apache plugin unit tests and README
2015-11-13 13:01:00 -07:00
Cameron Sparr
acf9c1141a
Change duration -> internal and implement private gopsutil methods
2015-11-11 15:38:22 -07:00
Subhachandra Chandra
00614026b3
Added parameters "Devices" and "SkipSerialNumber to DiskIO plugin.
...
"Devices" can be used to specify storage devices on which stats
should be reported. "SkipSerialNumber" can be used to omit
the device serial number.
Added tests to verify the new parameters.
closes #344
2015-11-06 17:11:57 -07:00
Cameron Sparr
0986caf0ad
Fix Go vet issue, test accumulator should be passed by reference with lock
...
Closes #276
2015-10-16 11:21:44 -06:00
Cameron Sparr
4e5ed9d3b9
Change config file indentation to 2 spaces
2015-10-15 15:53:29 -06:00
Shirou WAKAYAMA
d394003739
add UDP socket counts and rename to 'netstat'.
...
Closes #244
2015-10-12 00:08:35 -06:00
Shirou WAKAYAMA
17dd058308
add REAME about TCP Connection plugin.
2015-10-12 00:05:10 -06:00
Shirou WAKAYAMA
99b1a3071d
add NetConnections to the mockPS.
2015-10-12 00:05:10 -06:00
Shirou WAKAYAMA
dc38e448bd
add tcp connections stat plugin.
2015-10-12 00:05:10 -06:00
subhachandrachandra
cf1dcfe37c
Dropped SkipInodeUsage option as "drop" achieves the same results.
...
Fixed a bug in restricting Disk reporting to specific mountpoints
Added tests for the Disk.Mountpoints option
Fixed minor bug in usage of assert for the cpu tests where expected and actual values were swapped.
2015-10-08 14:17:04 -07:00
subhachandrachandra
e6ea09f482
Added Mountpoints and SkipInodeUsage options to the Disk plugin to control
...
which mountpoint stats get reported for and to skip inode stats.
2015-10-07 14:42:11 -07:00
Cameron Sparr
f5d1aaf7d9
Memory plugin: re-add cached and buffered to memory plugin
2015-09-28 17:05:42 -07:00
Cameron Sparr
12420db4b9
docker plugin: Add docker labels as tags in
...
Closes #90
2015-09-23 14:20:15 -07:00
Cameron Sparr
1cd2db9f8c
Memory plugin: use 'available' instead of 'actual_'
...
Closes #214
2015-09-21 17:39:39 -07:00
Cameron Sparr
10d411c4f7
Update new memory unit tests, documentation
2015-09-21 17:22:24 -07:00
Cameron Sparr
74da03d9fa
Refactor memory stats, remove some, add 'actual_' stats
2015-09-21 17:22:23 -07:00
Cameron Sparr
b8a58dad65
Fix CPU unit tests for time_ prefix
2015-09-21 17:08:50 -07:00
Cameron Sparr
b012713cf2
Adding time_ prefix to all CPU time measurements
2015-09-21 10:23:46 -07:00
Cameron Sparr
10b0438201
Remove cpu_usage_busy, this is simply 100-cpu_usage_idle
2015-09-17 17:46:35 -07:00
Cameron Sparr
0270ace3d4
Add a CPU collection plugin README
2015-09-17 17:46:34 -07:00
Cameron Sparr
df15e7b379
Remove non-existent 'stolen' cpu stat, fix measurement names
2015-09-17 17:46:34 -07:00
Cameron Sparr
dd7a3b37b0
Delete 'vendored' gopsutil directory
2015-09-17 17:46:34 -07:00
Tim Allen
94a623c00e
Check if file exists before running disk usage on it. Not all mounts are normal files.
...
Closes #208
2015-09-17 17:45:58 -07:00
Cameron Sparr
2e68d3cb3c
Merge pull request #198 from mced/fix_mem_used_perc
...
[fix] mem_used_perc returns percentage of used mem
2015-09-15 15:24:48 -07:00
Cédric Menassa
4d6f11b61f
[fix] mem_used_perc returns percentage of used mem
2015-09-15 12:58:51 +02:00
mced
6d6158ff08
[fix] mem_used_perc returns percentage of used mem
...
Closes #189
2015-09-14 12:18:31 -07:00
Cameron Sparr
11126cf4ae
Add a server name tag to the RabbitMQ server list
...
Fixes #183
2015-09-11 16:46:49 -07:00
Ruslan Islamgaliev
bd00f46d8b
Fix docker stats to make it work on centos 7.
...
issue #58
issue #84
2015-09-11 16:26:08 -07:00
Cameron Sparr
d8482cc286
darwin net plugin fix, really need to godep vendor gopsutil
2015-09-10 13:57:57 -06:00
Cameron Sparr
9969c4e810
Add system uptime metric, string formatted AND in float64
...
closes #150
2015-08-31 14:43:34 -06:00
Cameron Sparr
ff2de0c715
Only build the docker plugin on linux
2015-08-27 17:09:18 -06:00
Cameron Sparr
434267898b
Indent the toml config for readability
2015-08-26 09:22:03 -06:00
subhachandrachandra
8d034f544c
Fixed memory reporting for Linux systems
...
/proc/meminfo reports memory in KiloBytes and so needs a multiplier of 1024 instead of 1000.
The kernel reports in terms of pages and the proc filesystem is left shifting by 2 for 4KB pages to get KB. Since this is a binary shift, Bytes will need to shift by 10 and so get multiplied by 1024.
From the kernel code. PAGE_SHIFT = 12 for 4KB pages
"MemTotal: %8lu kB\n", K(i.totalram)
Closes #131
2015-08-25 14:18:14 -06:00
subhachandrachandra
ca1d2c7000
Fixed total memory reporting for Darwin systems. hw.memsize is reported as bytes instead of pages.
2015-08-25 14:16:18 -06:00
Bruno Bigras
0acf15c025
Typo: prec -> perc
...
Closes #140
2015-08-25 14:15:12 -06:00
Simon Fraser
601b444a60
fix segv on error
2015-08-20 07:49:46 -06:00
Cameron Sparr
03c7d564d9
Merge pull request #118 from srfraser/diskusage_windows_fix
...
Get disk usage stats working on windows
2015-08-18 15:58:13 -06:00
Simon Fraser
7273e2e6f2
Get disk usage stats working on windows
2015-08-18 21:31:33 +01:00
Cameron Sparr
0e65d8e64e
Rebase and fixups for PR #111 , fixes issue #33
2015-08-13 14:47:51 -06:00
Josh Palay
1e742aec04
Adds cpu busy time and percentages
2015-08-13 14:30:32 -06:00