OctoPrint-Prometheus-Exporter icon indicating copy to clipboard operation
OctoPrint-Prometheus-Exporter copied to clipboard

Fix print time metrics not being cleared correctly

Open hyperair opened this issue 1 year ago • 2 comments

This fixes an issue where print time metrics for a path that has completed don't get fully cleared after print completion

hyperair avatar Feb 05 '24 02:02 hyperair

Trying this seemed to result in an error after a cancel?

Exception in thread Thread-102: TypeError: PrometheusExporterPlugin.print_deregister_callback() takes 2 positional arguments but 51 were given Exception in thread Thread-106: TypeError: PrometheusExporterPlugin.print_deregister_callback() missing 1 required positional argument: 'label'

arcnmx avatar Jul 14 '24 21:07 arcnmx

Oops, just fixed that

hyperair avatar Jul 15 '24 09:07 hyperair