Skip to content
This repository was archived by the owner on Aug 31, 2026. It is now read-only.

v0.1.0

Pre-release
Pre-release

Choose a tag to compare

@pubeldev pubeldev released this 17 Nov 17:28
· 36 commits to main since this release

MVP

This is first MVP version 🎉 of prusa_metrics_handler that is meant like alternative to Prusa's own metrics_handler that is written in Python. That version is prone to crashing and can only send metrics to v1 InfluxDB. On the other hand prusa_metrics_handler can sent metrics only to v2 InfluxDB so it's more advanced? However, InfluxDB was not my main goal and it is NOT properly tested, my main goal is to push metrics somewhere else.

Influx2Cortex proxy

In this version I tested (not so properly) Influx2Cortex proxy from Grafana Labs that parses data for Influx and allows to sent them to Prometheus remote_write endpoint. I want to update this approach and use Open Telemetry Collector - Or implement remote_write / OTel in my code.

Where are dashboards?

There are no dashboard at this moment unfortunately. After project matures little bit further then I'll create dashboards.

But why? There is prusa_exporter

prusa_exporter have one major flaw, it's trying to fix something that are printers producing on purpose. Printers sends a lot of metrics via UDP and I was trying to parse them and expose /metrics endpoint which was not a good idea. Why? Beacuse firmware is still in development and new metrics occurs here and there I wanted something more sensible and sustainable.

What's Changed

  • First working version by @pstrobl96 in #1
  • Processing timestamps - printer does not send timestamp when metrics are sent but it sends for how long it is running
  • Processing metrics and correcting timestamps
  • Sending data to Influx
  • Docker compose with influx2cortex and Grafana Mimir
  • Docker image
  • Tests - some of them at least
  • One Prometheus metric - about how many message were processed
  • Profit?

Full Changelog: https://github.com/pstrobl96/prusa_metrics_handler/commits/v0.1.0