A prometheus exporter for 3D printers exposing Prusa Connect's API.
Go to file
2024-10-16 12:45:25 +00:00
etc add basic plist for mac usage 2022-02-07 19:25:37 -05:00
.gitignore initial wrapper around Prusa Connect API 2022-02-06 16:17:52 -05:00
go.mod Update module github.com/prometheus/client_golang to v1.20.5 2024-10-15 11:02:27 +00:00
go.sum Update module github.com/prometheus/client_golang to v1.20.5 2024-10-15 11:02:27 +00:00
main_test.go add more metrics that only appear when a print job is running 2022-04-18 20:18:00 -04:00
main.go upgrade in prep for PC 4.4.0 2022-08-06 14:30:42 -04:00
README.md upgrade in prep for PC 4.4.0 2022-08-06 14:30:42 -04:00
renovate.json Add renovate.json 2023-04-07 00:01:01 +00:00

Prusa Connect Prometheus Exporter

Version v0.1.0 of this exporter supports the pre-4.4.0 changes to the Prusa Connect API (non-API-key version).

Current master branch supports the new, 4.4.0-beta2 release of Prusa Connect as well as the older API.

Usage

./prusa-connect-exporter -h

  • apikey Prusa Connect API key (see Main Menu -> Settings -> Network on the printer). If no key is provided, exporter assumes the older API layout when querying the printer.
  • hostname Hostname the Prusa Connect API is available at (assumes http) (default "localhost")
  • interval How often, in seconds, to query the API (default 2)
  • path Local path to export metrics on (default "metrics")
  • port Local port to export metrics on (default "2112")