korfuri / django-prometheus

Export Django monitoring metrics for Prometheus.io
Apache License 2.0
1.44k stars 244 forks source link

RAM keeps going up when scraping metrics #413

Open tasiotas opened 1 year ago

tasiotas commented 1 year ago

Hi,

Once I instruct Prometheus to scrape django /metrics endpoint, Django memory usage starts to slowly creep up, until its OOM.

If I disable Django endpoint in Prometheus, memory usage stays stable. Any ideas what is that happening?

image