Open luoxiaopeng opened 9 months ago
django_http_requests_before_middlewares_total is a counter, but why sometimes it goes down? Maybe this is not issue, just discuss.
and also django_http_requests_latency_including_middlewares_seconds_sum
Maybe this reason: https://github.com/korfuri/django-prometheus/blob/master/documentation/exports.md#exporting-metrics-in-a-wsgi-application-with-multiple-processes-globally
Hey @luoxiaopeng setting the PROMETHEUS_MULTIPROC_DIR=/tmp environment variable for my dockerized Django app solves the mentioned issue!
PROMETHEUS_MULTIPROC_DIR=/tmp
django_http_requests_before_middlewares_total is a counter, but why sometimes it goes down?
Maybe this is not issue, just discuss.