Skip to content

System Info

Module: system_info (default) API Endpoint: /machine/system_info

Collects system information from the Klipper host, including CPU details and Moonraker-managed service states.

Metrics

MetricTypeLabelsDescription
klipper_system_cpu_countGaugeNumber of CPU cores
klipper_service_availableGauge=1serviceService is registered as available (always 1 when present)
klipper_service_state_infoGauge=1service, stateCurrent state of the service (e.g. active, inactive, failed)
klipper_service_sub_state_infoGauge=1service, sub_stateCurrent sub-state of the service (e.g. running, dead, exited)

Example PromQL

promql
# CPU count
klipper_system_cpu_count

# Count available services
count(klipper_service_available)

# Services that are in a failed state
klipper_service_state_info{state="failed"}

# Check if klipper service is running
klipper_service_sub_state_info{service="klipper", sub_state="running"}

Released under the MIT License.