Django O11y
Drop-in observability for Django. Install it, add a small config, and get traces, structured logs, metrics, and profiling.
Features
- OpenTelemetry traces for requests, database queries, cache, and Celery tasks
- Structlog with colorized dev output, JSON production logs, and automatic trace correlation
- django-prometheus for infrastructure metrics and a simple API for custom business metrics
- Pyroscope continuous profiling
- Full Celery observability: tracing, structured logs, and metrics
- Pre-built Grafana dashboards
- Sensible defaults, overridable via Django settings or environment variables
- Management command to spin up a local observability stack for testing
Background
This package bundles the patterns from these blog posts into an installable library:
- Django Monitoring with Prometheus and Grafana
- Django Development and Production Logging
- Celery Monitoring with Prometheus and Grafana
Docs
Read the full docs at adinhodovic.github.io/django-o11y.
License
Apache 2.0 - see LICENSE
Metadata
Release files for django-o11y 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_o11y-0.9.0.tar.gz | 4.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_o11y-0.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.5 MB
Release files / django_o11y-0.9.0.tar.gz
| Download URL | django_o11y-0.9.0.tar.gz |
|---|---|
| Size | 4.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3bd99c5a009d4bf82ea9b584b2ee30c9313b866ebcfef1ea38a9fb103ab4ae88
|
|
BLAKE2b-256 checksum How to use checksums |
0da857c09bc1730a7d029730013ab585214f5ea33a988e986bd57a23e0a69d01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.
Transparency logRelease files / django_o11y-0.9.0-py3-none-any.whl
| Download URL | django_o11y-0.9.0-py3-none-any.whl |
|---|---|
| Size | 48.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
25852be21500bc6cb634fb02c26e68f9b6be664f643e19f4b07219154d41bdc4
|
|
BLAKE2b-256 checksum How to use checksums |
6e211aaff258cafac2addefad93e4687e18520196c0a5f96d12c4ed8a2e7a33e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.
Transparency log