Commit Graph

61 Commits

Author SHA1 Message Date
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
Evan Phoenix 82cbc4daa2 Add ability to generate config from available plugins 2015-05-18 15:10:11 -07:00
Evan Phoenix f1e1204374 Enforce stat prefixing at the accumulator layer 2015-05-18 12:15:15 -07:00
Evan Phoenix 660285d764 Use _ as the namespace separator 2015-04-07 11:59:11 -07:00
Evan Phoenix f0675e52c3 Namespace the system metrics 2015-04-07 10:25:05 -07:00
Evan Phoenix 2820c0391e Fix all imports 2015-04-07 09:39:23 -07:00
Evan Phoenix 6302dc553c Detect docker is not available gracefully 2015-04-07 09:24:16 -07:00
Evan Phoenix 7b0c09d5e9 Use dockerclient to get containers and info 2015-04-06 17:24:04 -07:00
Evan Phoenix a574261b3a Report better errors where system stats can't be gathered 2015-04-06 17:23:38 -07:00
Evan Phoenix 8dba9a9383 Report cpu stats using tags 2015-04-06 17:23:15 -07:00
Evan Phoenix 470ae6548e Report that docker isn't available better in psutils 2015-04-06 17:21:43 -07:00
Evan Phoenix da3aeca720 Fix a few more imports 2015-04-06 17:21:22 -07:00