scross01 / prometheus-klipper-exporter

Prometheus Exporter for Klipper
MIT License
51 stars 12 forks source link

Fix unmarshalling of `total_jobs` value #27

Closed jangrewe closed 5 months ago

jangrewe commented 5 months ago

This should fix the error json: cannot unmarshal number 49.0 into Go struct field .result.job_totals.total_jobs of type int64 that happens with the current version of Moonraker.

See https://github.com/scross01/prometheus-klipper-exporter/issues/26