mirror of
https://github.com/prometheus-community/windows_exporter
synced 2025-03-03 11:27:43 +00:00
Merge pull request #37 from martinlindhe/update-default-collectors
Set default collectors and update documentation
This commit is contained in:
commit
56eef24660
14
README.md
14
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.
|
||||
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user