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
Cameron Sparr
04963f12a3
Allow a PerCPU configuration variable, issue #108
2015-08-13 13:30:11 -06:00
Simon Fraser
d280b968d7
Ensure tests pass now that we're passing fstype around
...
go fmt checks
Rework the example configuration snippets
2015-08-10 19:20:49 -06:00
Simon Fraser
1d8c7a74d6
to filter by filesystem type, we need to pass that up the chain
2015-08-10 19:19:36 -06:00
Cameron Sparr
42a7203b1e
Skip per-cpu unit test when in a circle ci container
2015-08-05 16:49:40 -06:00
Cameron Sparr
611ad26d1b
go fmt fixes
2015-08-04 16:09:59 -06:00
Cameron Sparr
3ff2ea8d4e
Creating circleci job to just lint and vet code
2015-08-04 11:22:26 -06:00
Todd Persen
1d8e6473c6
Merge pull request #45 from jhofeditz/patch-1
...
skip disk tags with no value
2015-07-05 16:51:58 -07:00
Joe Hofeditz
073b1084b7
skip disk tags with no value
...
Influxdb 0.9.1 now rejects writes with empty tag values. This patch skips tags with no values. A disk serial number does not exist for many devices including md raid arrays and VMs. Other plugins may also want to check for empty tags.
2015-07-03 08:11:52 -06:00
Brian Brazil
e34c52402f
Improve test infrastructure
2015-06-24 22:15:58 +01:00
Evan Phoenix
2bd58ee4df
A set of fixes to fix the tests
2015-05-26 22:15:05 -07:00
Evan Phoenix
1653330421
Tivan is dead, long live Telegraf. Fixes #3
2015-05-22 16:45:14 -07:00
Evan Phoenix
5e6d33a57f
Breakup the system plugin
2015-05-18 16:01:42 -07:00
Evan Phoenix
4146f5f6df
Add ability to restrict which network interfaces are sampled
2015-05-18 15:50:09 -07:00