flask_prometheus_metrics
flask_prometheus_metrics copied to clipboard
Leaks memory while running
In one of our services, we have been making use of this project. Over time we found that the project is causing a memory leak over a long period. Steadily it increases the Maximum Resident Set Size. When it hits our maximum the entire service has to be restarted to resume operations.
We've been running without the collector for several hours now and the memory usage doesn't grow.
It feels a memory leak is present in either this project or one of its dependencies. Unfortunately, I am not a python expert and can help out in debugging.