Prometheus exporter for Windows machines, using the WMI (Windows Management Instrumentation).
Package parameters
The following package parameters can be set:
EnabledCollectors - A comma-separated list of collectors to enable in the exporter. Options and defaults in "Collectors" section below.
ListenAddress - The IP address to bind to. Defaults to 0.0.0.0.
ListenPort - The port to bind to. Defaults to 9182.
MetricsPath - The path at which to serve metrics. Defaults to /metrics.
TextFileDir - Specifies a directory for the textfile collector (equivalent to the --collector.textfile.directory flag).
These parameters can be passed to the installer with the use of --params.
For example: --params '"/EnabledCollectors:cpu,dns,iis /ListenPort:9182"'.
Collectors
| Name | Description | Enabled by default |
| ad | Active Directory Domain Services |
| cpu | CPU usage | ✓ |
| cs | "Computer System" metrics (system properties, num cpus/total memory) | ✓ |
| dns | DNS Server |
| hyperv | Hyper-V hosts |
| iis | IIS sites and applications |
| logical_disk | Logical disks, disk I/O | ✓ |
| net | Network interface I/O | ✓ |
| memory | Memory usage metrics |
| msmq | MSMQ queues |
| mssql | SQL Server Performance Objects metrics |
| os | OS metrics (memory, processes, users) | ✓ |
| process | Per-process metrics |
| service | Service state metrics | ✓ |
| system | System calls | ✓ |
| tcp | TCP connections |
| textfile | Read prometheus metrics from a text file | ✓ |
| vmware | Performance counters installed by the Vmware Guest agent |
More Information
For more information, see the project README:
https://github.com/martinlindhe/wmi_exporter/blob/v0.5.0/README.md