mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-27 15:16:35 +00:00
Add documentation for system collector
This commit is contained in:
@@ -16,18 +16,24 @@ None
|
|||||||
|
|
||||||
Name | Description | Type | Labels
|
Name | Description | Type | Labels
|
||||||
-----|-------------|------|-------
|
-----|-------------|------|-------
|
||||||
`wmi_system_context_switches_total` | _Not yet documented_ | counter | None
|
`wmi_system_context_switches_total` | Total number of [context switches](https://en.wikipedia.org/wiki/Context_switch) | counter | None
|
||||||
`wmi_system_exception_dispatches_total` | _Not yet documented_ | counter | None
|
`wmi_system_exception_dispatches_total` | Total exceptions dispatched by the system | counter | None
|
||||||
`wmi_system_processor_queue_length` | _Not yet documented_ | gauge | None
|
`wmi_system_processor_queue_length` | Number of threads in the processor queue. There is a single queue for processor time even on computers with multiple processors. | gauge | None
|
||||||
`wmi_system_system_calls_total` | _Not yet documented_ | counter | None
|
`wmi_system_system_calls_total` | Total combined calls to Windows NT system service routines by all processes running on the computer | counter | None
|
||||||
`wmi_system_system_up_time` | _Not yet documented_ | gauge | None
|
`wmi_system_system_up_time` | Time of last boot of system | gauge | None
|
||||||
`wmi_system_threads` | _Not yet documented_ | gauge | None
|
`wmi_system_threads` | Number of Windows system [threads](https://en.wikipedia.org/wiki/Thread_(computing)) | gauge | None
|
||||||
|
|
||||||
### Example metric
|
### Example metric
|
||||||
_This collector does not yet have explained examples, we would appreciate your help adding them!_
|
Show current number of system threads
|
||||||
|
```
|
||||||
|
wmi_system_threads{instance="localhost"}
|
||||||
|
```
|
||||||
|
|
||||||
## Useful queries
|
## Useful queries
|
||||||
_This collector does not yet have any useful queries added, we would appreciate your help adding them!_
|
Find hosts that have rebooted in the last 24 hours
|
||||||
|
```
|
||||||
|
time() - wmi_system_system_up_time < 86400
|
||||||
|
```
|
||||||
|
|
||||||
## Alerting examples
|
## Alerting examples
|
||||||
_This collector does not yet have alerting examples, we would appreciate your help adding them!_
|
_This collector does not yet have alerting examples, we would appreciate your help adding them!_
|
||||||
|
|||||||
Reference in New Issue
Block a user