diff --git a/README.md b/README.md index f1f0dd46..965d1f23 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,15 @@ Prometheus exporter for Windows machines, using the WMI (Windows Management Inst ## Collectors -Name | Description ----------|------------- -os | [Win32_OperatingSystem](https://msdn.microsoft.com/en-us/library/aa394239) metrics (memory, processes, users) -logical_disk | [Win32_PerfRawData_PerfDisk_LogicalDisk](https://msdn.microsoft.com/en-us/windows/hardware/aa394307(v=vs.71)) metrics (disk I/O) -iis | [Win32_PerfRawData_W3SVC_WebService](https://msdn.microsoft.com/en-us/library/aa394345) IIS metrics +Name | Description | Enabled by default +---------|-------------|-------------------- +cpu | [Win32_PerfRawData_PerfOS_Processor](https://msdn.microsoft.com/en-us/library/aa394317(v=vs.90).aspx) metrics (cpu usage) | ✓ +cs | [Win32_ComputerSystem](https://msdn.microsoft.com/en-us/library/aa394102) metrics (system properties, num cpus/total memory) | ✓ +iis | [Win32_PerfRawData_W3SVC_WebService](https://msdn.microsoft.com/en-us/library/aa394345) IIS metrics | +logical_disk | [Win32_PerfRawData_PerfDisk_LogicalDisk](https://msdn.microsoft.com/en-us/windows/hardware/aa394307(v=vs.71)) metrics (disk I/O) | ✓ +net | [Win32_PerfRawData_Tcpip_NetworkInterface](https://technet.microsoft.com/en-us/security/aa394340(v=vs.80)) metrics (network interface I/O) | ✓ +os | [Win32_OperatingSystem](https://msdn.microsoft.com/en-us/library/aa394239) metrics (memory, processes, users) | ✓ +system | Win32_PerfRawData_PerfOS_System metrics (system calls) | ✓ The HELP texts shows the WMI data source, please see MSDN documentation for details. diff --git a/exporter.go b/exporter.go index ea03b368..9fa30f71 100644 --- a/exporter.go +++ b/exporter.go @@ -25,7 +25,7 @@ type WmiCollector struct { } const ( - defaultCollectors = "cpu,logical_disk,net,os" + defaultCollectors = "cpu,cs,logical_disk,net,os,system" serviceName = "wmi_exporter" )