Skip to content

Printer Objects

Module: printer_objects (optional)
API Endpoint: /printer/objects/query

Collects state from Klipper printer objects. This is the largest and most important module, covering temperatures, fans, motors, toolhead, print status, and more. Objects with dynamic instances (e.g., temperature_sensor my_sensor) are auto-discovered via /printer/objects/list.


webhooks

MetricTypeLabelsDescription
klipper_webhooks_state_infoGauge=1stateWebhooks server state (ready, startup, shutdown, error)

pause_resume

MetricTypeDescription
klipper_pause_resume_is_pausedGaugeWhether the print is paused (1) or not (0)

controller_fan

Labels: fan

MetricTypeDescription
klipper_controller_fan_rpmGaugeController fan RPM
klipper_controller_fan_speedGaugeController fan speed (0–1)

display_status

MetricTypeDescription
klipper_print_gcode_progressGaugePrint progress percentage as reported by M73

extruder

MetricTypeDescription
klipper_extruder_powerGaugeExtruder heater power (0–1)
klipper_extruder_pressure_advanceGaugePressure advance value
klipper_extruder_smooth_timeGaugePressure advance smooth time
klipper_extruder_targetGaugeTarget extruder temperature
klipper_extruder_temperatureGaugeCurrent extruder temperature

fan

MetricTypeDescription
klipper_fan_rpmGaugePart cooling fan RPM
klipper_fan_speedGaugePart cooling fan speed (0–1)

filament_sensor

Labels: sensor

MetricTypeDescription
klipper_filament_sensor_detectedGaugeWhether filament is detected (0/1)
klipper_filament_sensor_enabledGaugeWhether the sensor is enabled (0/1)

gcode

MetricTypeDescription
klipper_gcode_extrude_factorGaugeExtrude multiplier (M221)
klipper_gcode_position_eGaugeCurrent E position in G-code coordinates
klipper_gcode_position_xGaugeCurrent X position in G-code coordinates
klipper_gcode_position_yGaugeCurrent Y position in G-code coordinates
klipper_gcode_position_zGaugeCurrent Z position in G-code coordinates
klipper_gcode_speedGaugeCurrent G-code speed
klipper_gcode_speed_factorGaugeSpeed multiplier override (M220)

generic_fan

Labels: fan

MetricTypeDescription
klipper_generic_fan_rpmGaugeGeneric fan RPM
klipper_generic_fan_speedGaugeGeneric fan speed (0–1)

heater_bed

MetricTypeDescription
klipper_heater_bed_powerGaugeHeated bed power (0–1)
klipper_heater_bed_targetGaugeTarget bed temperature
klipper_heater_bed_temperatureGaugeCurrent bed temperature

heater_fan

Labels: fan

MetricTypeDescription
klipper_heater_fan_rpmGaugeHeater fan RPM
klipper_heater_fan_speedGaugeHeater fan speed (0–1)

heater_generic

Labels: heater

MetricTypeDescription
klipper_generic_heater_powerGaugeGeneric heater power (0–1)
klipper_generic_heater_targetGaugeTarget temperature
klipper_generic_heater_temperatureGaugeCurrent temperature

idle_timeout

MetricTypeLabelsDescription
klipper_printing_timeCounterTime spent in the Printing state
klipper_idle_timeout_state_infoGauge=1stateIdle timeout state (Idle, Printing, Ready)

mcu

Labels: mcu

MetricTypeDescription
klipper_mcu_awakeGaugeMCU awake status
klipper_mcu_task_avgGaugeMCU average task time
klipper_mcu_task_stddevGaugeMCU task time standard deviation
klipper_mcu_clock_frequencyGaugeMCU clock frequency
klipper_mcu_invalid_bytesGaugeInvalid bytes received
klipper_mcu_read_bytesGaugeBytes read from MCU
klipper_mcu_ready_bytesGaugeReady buffer size
klipper_mcu_receive_seqGaugeReceive sequence number
klipper_mcu_retransmit_bytesGaugeRetransmitted bytes
klipper_mcu_retransmit_seqGaugeRetransmit sequence number
klipper_mcu_rtoGaugeRetransmission timeout
klipper_mcu_rttvarGaugeRound trip time variance
klipper_mcu_send_seqGaugeSend sequence number
klipper_mcu_stalled_bytesGaugeStalled buffer bytes
klipper_mcu_srttGaugeSmoothed round trip time
klipper_mcu_write_bytesGaugeBytes written to MCU

output_pin

Labels: pin

MetricTypeDescription
klipper_output_pin_valueGaugeOutput pin value

MetricTypeDescription
klipper_print_filament_usedGaugeFilament used in current print (mm)
klipper_print_total_durationGaugeTotal elapsed time since print started (seconds)
klipper_print_state_infoGauge=1Current print state (standby, printing, paused, error, complete) with state label
klipper_printingGaugeWhether printer is actively printing (1) or not (0)

query_endstops

Labels: endstop

MetricTypeDescription
klipper_endstop_triggeredGaugeWhether an endstop is triggered (1) or not (0)

input_shaper

MetricTypeDescription
klipper_input_shaper_damping_ratio_xGaugeInput shaper damping ratio for X axis
klipper_input_shaper_damping_ratio_yGaugeInput shaper damping ratio for Y axis
klipper_input_shaper_frequency_xGaugeInput shaper frequency for X axis (Hz)
klipper_input_shaper_frequency_yGaugeInput shaper frequency for Y axis (Hz)
klipper_input_shaper_type_infoGauge=1axis, type labels, input shaper type per axis

firmware_retraction

MetricTypeDescription
klipper_firmware_retract_lengthGaugeFirmware retraction length (mm)
klipper_firmware_retract_speedGaugeFirmware retraction speed (mm/min)
klipper_firmware_unretract_extra_lengthGaugeFirmware unretract extra length (mm)
klipper_firmware_unretract_speedGaugeFirmware unretract speed (mm/min)

temperature_fan

Labels: fan

MetricTypeDescription
klipper_temperature_fan_rpmGaugeTemperature-controlled fan RPM
klipper_temperature_fan_speedGaugeTemperature-controlled fan speed (0–1)
klipper_temperature_fan_temperatureGaugeTemperature fan sensor reading
klipper_temperature_fan_targetGaugeTemperature fan target threshold

temperature_probe

Labels: probe

MetricTypeDescription
klipper_temperature_probe_temperatureGaugeCurrent probe temperature
klipper_temperature_probe_measured_max_tempGaugeMaximum measured probe temperature
klipper_temperature_probe_measured_min_tempGaugeMinimum measured probe temperature
klipper_temperature_probe_estimated_expansionGaugeEstimated probe thermal expansion

temperature_sensor

Labels: sensor

MetricTypeDescription
klipper_temperature_sensor_temperatureGaugeCurrent sensor temperature
klipper_temperature_sensor_measured_max_tempGaugeMaximum measured temperature
klipper_temperature_sensor_measured_min_tempGaugeMinimum measured temperature

tmc_sensor

Labels: sensor

MetricTypeDescription
klipper_tmc_sensor_enabledGaugeWhether TMC driver is enabled (0/1)
klipper_tmc_sensor_run_currentGaugeTMC driver run current
klipper_tmc_sensor_temperatureGaugeTMC driver temperature (if available)

toolhead

MetricTypeDescription
klipper_toolhead_estimated_print_timeGaugeEstimated total print time (seconds)
klipper_toolhead_homed_axes_infoGauge=1A homed axis with axis label
klipper_toolhead_max_accelGaugeMaximum acceleration (mm/s²)
klipper_toolhead_max_accel_to_decelGaugeMaximum acceleration to deceleration
klipper_toolhead_max_velocityGaugeMaximum velocity (mm/s)
klipper_toolhead_print_timeGaugeCurrent print time (seconds)
klipper_toolhead_square_corner_velocityGaugeSquare corner velocity (mm/s)
klipper_toolhead_stalls_totalCounterTotal number of toolhead stalls

virtual_sdcard

MetricTypeDescription
klipper_print_file_positionGaugeCurrent file position in bytes
klipper_print_file_progressGaugeFile read progress as percentage
klipper_sdcard_activeGaugeWhether the virtual SD card is actively being read (1) or not (0)

Example PromQL

promql
# Current extruder temperature
klipper_extruder_temperature

# Bed heating to target
klipper_heater_bed_temperature / klipper_heater_bed_target

# Print state (is printing?)
klipper_print_state_info{state="printing"}

# Total print time estimate
klipper_toolhead_estimated_print_time

# MCU communication health
klipper_mcu_retransmit_bytes / klipper_mcu_write_bytes > 0.01

Released under the MIT License.