Skip to content

Process Stats

Module: process_stats (default)
API Endpoint: /machine/proc_stats

Collects Moonraker process statistics and system-level CPU, memory, and uptime metrics from the Klipper host.

Metrics

MetricTypeDescription
klipper_moonraker_cpu_usageGaugeMoonraker process CPU usage
klipper_moonraker_memory_kbGaugeMoonraker process memory usage in KB
klipper_moonraker_websocket_connectionsGaugeNumber of active Moonraker websocket connections
klipper_system_cpuGaugeSystem-wide CPU usage percentage
klipper_system_cpu_tempGaugeSystem CPU temperature in Celsius
klipper_system_memory_availableGaugeAvailable system memory
klipper_system_memory_totalGaugeTotal system memory
klipper_system_memory_usedGaugeUsed system memory
klipper_system_uptimeCounterSystem uptime in seconds
klipper_system_throttled_bitsGaugeThrottled state bitmask from the Raspberry Pi firmware
klipper_system_throttled_flag_infoGauge=1Active throttled state flags with flag label

Example PromQL

promql
# Moonraker memory usage over time
klipper_moonraker_memory_kb

# System CPU temperature
klipper_system_cpu_temp

# System uptime in days
klipper_system_uptime / 86400

# Throttled state (non-zero means throttling occurred)
klipper_system_throttled_bits

# Active throttling flags (e.g., under-voltage, frequency capped)
klipper_system_throttled_flag_info

Released under the MIT License.