mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-14 08:56:36 +00:00
add wmi_service_info metric with display_name and pid labels (#516)
* add wmi_service_info metric
This commit is contained in:
committed by
GitHub
parent
54d94c261b
commit
99ed969bf7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user