django-commons/django-prometheus
Export Django monitoring metrics for Prometheus.io observed · 2026-08-28
Health v2 · maintenance only
84/100
- Activity 95
- Release rhythm 62
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 170.5
- age_days: 4168
- days_rel: 99
- days_push: 34
- n_releases_24m: 3
Adoption not part of the score
1665 stars · 265 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Django app that exports Prometheus metrics for HTTP requests/responses, Django ORM database access, and Django cache operations. It integrates via middleware and URL routing to expose a /metrics endpoint for Prometheus scraping.
Use cases
- monitor django application metrics with prometheus
- export request latency histograms from a django app
- track django orm database query metrics
- instrument django cache hits and misses for prometheus
- expose a /metrics endpoint in django for prometheus scraping
- add custom latency buckets for django request monitoring
- namespace django prometheus metrics per project
When to choose
- you run Django 4.2+ on Python 3.9+ and want Prometheus metrics with minimal setup
- you need request, ORM, and cache metrics out of the box via middleware
- you want configurable latency histogram buckets and metric namespaces
When to avoid
- your stack is not Django (e.g., Flask, FastAPI, or a non-Python service)
- you need metrics for non-Django ORM databases or non-Django cache backends
- you want a full observability suite with dashboards and alerting rather than metric export
Facets
library · maturity active
monitoring middleware http-server monitoring web-development backend python prometheus django metrics observability instrumentation django-middleware prometheus-client histogram-buckets devops web-server docker
1 source
- readme: https://github.com/django-commons/django-prometheus · fetched 2026-08-28 · f5401c446413
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| django-commons/django-prometheus | main | 84 |
For agents
markdown · JSON · MCP: product_card(name="django-commons/django-prometheus")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem