Expose printer metrics for integration with monitoring systems like Grafana, Home Assistant, or DataDog. Track print progress, temperatures, and operational data.
Always enabled on all printers running Moonraker. This is a core feature required by client applications:
You can create custom metrics collection using the Moonraker API.
Exposes Klipper metrics via HTTP endpoint for OpenMetrics/Prometheus systems.
Disabled by default.
Navigate to the firmware-config web interface, go to the Monitoring section, and enable Klipper Metrics Exporter.
Step 1: Edit /home/lava/printer_data/config/extended/extended2.cfg to enable the exporter:
[monitoring]
klipper_exporter: :9101
Step 2: Reboot the printer for changes to take effect.
Setup:
Once configured, you can view metrics in Home Assistant or forward them to other systems like DataDog.
The prometheus-klipper-exporter is already running on your printer when enabled. Setup instructions: https://github.com/scross01/prometheus-klipper-exporter/tree/main/example
Point Prometheus to your printer’s IP address and port (no Docker setup needed on the printer).
Use DataDog’s OpenMetrics integration to collect Prometheus metrics.
Setup:
/etc/datadog-agent/conf.d/openmetrics.d/snapmaker_u1.yaml on the computer running DataDog Agent
Example Dashboard: https://p.datadoghq.com/sb/750c84c6f-0e38a89ca620e6047171edbfb15b756e