Skip to content

fix: Cleanup prometheus metrics for dead workers

Mario Oenning requested to merge moson/aurweb:fix-prometheus-gauges into master

Issue: Prometheus gauges not working properly (values from dead processes taken into account)

The current "cleanup" function that is removing orphan Prometheus files is actually never invoked.
Let's move this to a gunicorn config file (which is loaded by default) to register our hook(s).

Signed-off-by: moson

Edited by Mario Oenning

Merge request reports