Skip to content

History

Module: history (optional)
API Endpoints:

Collects historical print job statistics and current in-progress print metadata.

Metrics

MetricTypeDescription
klipper_total_jobsGaugeTotal number of print jobs completed
klipper_total_timeGaugeTotal elapsed time across all jobs in seconds
klipper_total_print_timeGaugeTotal printing time across all jobs in seconds
klipper_total_filament_usedGaugeTotal filament used across all jobs
klipper_longest_jobGaugeDuration of the longest job in seconds
klipper_longest_printGaugeDuration of the longest print in seconds
klipper_current_print_first_layer_heightGaugeFirst layer height of the current in-progress print
klipper_current_print_layer_heightGaugeLayer height of the current in-progress print
klipper_current_print_object_heightGaugeObject height of the current in-progress print
klipper_current_print_total_durationGaugeTotal duration of the current in-progress print in seconds

Current print metrics (klipper_current_print_*) only report values when a print is in progress (status is in_progress). When idle, they report 0.

Example PromQL

promql
# Total jobs completed
klipper_total_jobs

# Average print time
klipper_total_print_time / klipper_total_jobs

# Current print progress (if using slicer estimated time)
klipper_current_print_total_duration

Released under the MIT License.