You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the prometheus client in the multiprocess mode, by default, Gauges export a separate timeseries per process. Therefore, migrations Gauges are exported as follows:
In a typical Django deployment with multiple processes running in parallel and periodical restarts of individual processes on top of that (e.g. by limiting the number of requests before restarting the worker in gunicorn), this quickly leads to unmanageably large /metrics/ response.
The proper way seems to be calculating the maximum value across all processes, by utilizing the corresponding multiprocess_mode param as documented here.
Activity
Disable prometheus migrations export