Commit Graph

21 Commits

Author SHA1 Message Date
Andrew Mostello
95b04ec0a1 Add flag to specify "where" in process WMI query
This flag can be used to limit the Win32_PerfRawData_PerfProc_Process
response and pull metrics for only the desired processes.
2017-05-28 22:04:31 -04:00
Andrew Mostello
2c84c5ad8a Add Win32_PerfRawData_PerfProc_Process collector
Collector to scrape per process data metrics from WMI. Collector not
enabled by default.
2017-05-28 10:16:40 -04:00
Simon Willcock
9d515255a6 Add App Pool metrics to IIS module (#70)
* Initial attempt at app pool collector

* Rename and tweak

* Attempt to convert uptime to unix timestamp

* Merge app pool metrics with existing IIS modules

* Update comments to reference new class

* Add state label to CurrentApplicationPoolState metric

* Return 0 value metrics for all non-active app states

Return 1 for active state

* Remove unnecessary float cast

* Add calculation for uptime

* Convert iis uptimes to unix timestamps and alter help msg

* Rename application pool uptime to start_time
2017-04-26 15:19:33 +02:00
Attila Tóth
4895e707ef Added metrics to OS collector
"time" for the Unix time
"timezone" for the name of the timezone
2017-04-03 10:50:16 +02:00
有张纸
0616dd6690 Update cpu.go (#65)
fix typo
2017-03-22 17:33:05 +01:00
有张纸
53048a42fd Update system.go (#66)
fix typo
2017-03-22 17:32:57 +01:00
jimliming
745f0a6f61 updating Win32_PerfRawData_Tcpip_NetworkInterface to uint64 (#61) 2017-03-17 19:12:47 +01:00
Calle Pettersson
f5365c96f6 Always expose all possible service states/start modes 2017-03-04 10:38:40 +01:00
Calle Pettersson
91374a75f2 Add Win32_Service collector 2017-03-03 14:51:24 +01:00
Martin Lindhe
2808da68d8 Merge pull request #41 from martinlindhe/fix_system_uptime
system: fix uptime calculation
2016-11-16 08:38:21 +01:00
Martin Lindhe
a3f44f60c5 system: fix uptime calculation, fixes #40 2016-11-15 09:07:04 +01:00
Calle Pettersson
0beff465c0 Add DNS server collector 2016-11-15 06:37:52 +01:00
Martin Lindhe
b40d60b8a4 fix comments 2016-11-14 08:55:51 +01:00
Calle Pettersson
a973ce9bca Fix missing rename from perfos->system 2016-10-14 10:14:32 +02:00
Martin Lindhe
6a5ae712d6 add network collector 2016-09-27 16:17:03 +02:00
Calle Pettersson
92b762f6a1 Initial cpu collector implementation 2016-09-24 20:52:56 +02:00
Martin Lindhe
52592bb097 os: expose Win32_ComputerSystem and Win32_PerfRawData_PerfOS_System 2016-09-19 09:02:05 +02:00
Martin Lindhe
8e229c4b93 Merge pull request #17 from martinlindhe/configurable-collectors
make enabled collectors configurable (based on code from node_exporter)
2016-09-01 16:07:49 +02:00
Martin Lindhe
d8f62e07c2 make enabled collectors configurable (based on code from node_exporter) 2016-09-01 16:04:43 +02:00
Martin Lindhe
b203702cad README: mention the IIS collector 2016-09-01 15:41:23 +02:00
Martin Lindhe
2af46d9313 refactor: rename namespace to 'collector' 2016-09-01 14:55:35 +02:00