add wmi_service_info metric with display_name and pid labels (#516)

* add wmi_service_info metric
This commit is contained in:
Guillermo Sanchez Gavier
2020-05-15 13:13:25 +02:00
committed by GitHub
parent 54d94c261b
commit 99ed969bf7
2 changed files with 28 additions and 7 deletions

View File

@@ -20,6 +20,7 @@ Example: `--collector.service.services-where="Name='wmi_exporter'"`
Name | Description | Type | Labels
-----|-------------|------|-------
`wmi_service_info` | Contains service information in labels, constant 1 | gauge | name, display_name, process_id
`wmi_service_state` | The state of the service, 1 if the current state, 0 otherwise | gauge | name, state
`wmi_service_start_mode` | The start mode of the service, 1 if the current start mode, 0 otherwise | gauge | name, start_mode
`wmi_service_status` | The status of the service, 1 if the current status, 0 otherwise | gauge | name, status