Add Django metrics through django-prometheus

Erwan Rouchet
2025-04-15T11:40:51Z

https://redmine.teklia.com/issues/10654

[`django-prometheus`](https://github.com/korfuri/django-prometheus/) should be added as a dependency to provide generic Django metrics on a new view at `/metrics/views/`. The existing `/metrics/` ...

https://redmine.teklia.com/issues/10654

django-prometheus should be added as a dependency to provide generic Django metrics on a new view at /metrics/views/. The existing /metrics/ view remains as it is.

Just like /metrics/, /metrics/views/ should only be available on the port set in settings.PROMETHEUS_METRICS_PORT.