pstrobl96 / prusa_exporter

Prometheus exporter for Prusa3D printers - supports Prusa Link API and Syslog metrics as well as logs from printer
GNU General Public License v3.0
36 stars 8 forks source link

Fix/syslog up #91

Closed pstrobl96 closed 7 months ago

pstrobl96 commented 7 months ago

Fixed when printer goes down and exporter was still exposing metrics of dead printer. Now it expose only prusa_syslog_up as it should be.

Also changed behavior when syslog ttl is lower than 1 - exporter will panic and exit.