Know what every route is doing.¶
django-prometric is an open-source analytics dashboard and API monitoring tool for Django. It discovers your Django and Django REST Framework endpoints, then connects traffic, performance, audience, error, and database metrics to the routes that produced them—all inside your own protected, self-hosted dashboard.
Beta software
Test the dashboard in a non-critical environment before rolling it out broadly. The dashboard is private by default and only superusers can open it.
One dashboard, several points of view¶
-
Routes without registration
Discover regular Django views and Django REST Framework endpoints directly from your URL configuration.
-
Metrics in context
See site-wide signals and drill into the path, method, status, cache, and latency data for a specific route.
-
Composable providers
Combine edge traffic, application performance, errors, and database health. Each card names the source that answered it.
-
Private by default
Reuse Django authentication, groups, and permissions. Hide the dashboard behind a 404 when even its existence should remain private.
Built for the Django stack¶
| Supported versions | |
|---|---|
| Python | 3.9–3.14 |
| Django | 4.2–6.0 |
| Django REST Framework | Detected automatically when installed |
The core package depends only on Django. Templates, CSS, JavaScript, and Chart.js ship with the package, so the dashboard needs no Node.js build step.
Start in five commands¶
python -m pip install "django-prometric[full]"
# add "django_prometric" to INSTALLED_APPS
# mount path("prometric/", include("django_prometric.urls"))
python manage.py migrate
python manage.py runserver
Sign in as a superuser and open /prometric/. Continue with the installation guide for the exact settings and production checklist.