1.5 KiB
1.5 KiB
system collector
The system collector exposes metrics about ...
Metric name prefix | system |
Classes | Win32_PerfRawData_PerfOS_System |
Enabled by default? | Yes |
Flags
None
Metrics
Name | Description | Type | Labels |
---|---|---|---|
wmi_system_context_switches_total |
Total number of context switches | counter | None |
wmi_system_exception_dispatches_total |
Total exceptions dispatched by the system | counter | 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 |
Total combined calls to Windows NT system service routines by all processes running on the computer | counter | None |
wmi_system_system_up_time |
Time of last boot of system | gauge | None |
wmi_system_threads |
Number of Windows system threads | gauge | None |
Example metric
Show current number of system threads
wmi_system_threads{instance="localhost"}
Useful queries
Find hosts that have rebooted in the last 24 hours
time() - wmi_system_system_up_time < 86400
Alerting examples
This collector does not yet have alerting examples, we would appreciate your help adding them!