Comprehensive OpenTelemetry observability for Django with traces, logs, metrics, and profiling
Project description
Django O11y
Opinionated, off-the-shelf observability for Django. Drop it in and get traces, structured logs, metrics, and profiling wired up with sensible defaults.
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
Documentation
To learn more about django-o11y, go to the complete documentation.
License
Apache 2.0 - see LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_o11y-0.3.0.tar.gz.
File metadata
- Download URL: django_o11y-0.3.0.tar.gz
- Upload date:
- Size: 141.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4abfe6ce497a95ad035e846abcb2626f2303a01d51d6210d8ab3898c15354bfb
|
|
| MD5 |
46babd3b0f3c3aff120b06e9ec1af4b6
|
|
| BLAKE2b-256 |
0e4fff667ad46b793ea73f1596cbd4c095be390cce2c1edb421ed1c9c8a714e1
|
Provenance
The following attestation bundles were made for django_o11y-0.3.0.tar.gz:
Publisher:
ci-cd.yml on adinhodovic/django-o11y
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_o11y-0.3.0.tar.gz -
Subject digest:
4abfe6ce497a95ad035e846abcb2626f2303a01d51d6210d8ab3898c15354bfb - Sigstore transparency entry: 995747462
- Sigstore integration time:
-
Permalink:
adinhodovic/django-o11y@29f77400498b8720731d6c2666a37662a5136529 -
Branch / Tag:
refs/tags/0.3.0 - Owner: https://github.com/adinhodovic
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yml@29f77400498b8720731d6c2666a37662a5136529 -
Trigger Event:
release
-
Statement type:
File details
Details for the file django_o11y-0.3.0-py3-none-any.whl.
File metadata
- Download URL: django_o11y-0.3.0-py3-none-any.whl
- Upload date:
- Size: 39.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5068b3f2aafc063ca67a1632aa1755c606f75695cc860e240ba68d9f195f2c56
|
|
| MD5 |
5b4cd71f55c22c5c42e1a6899fb59e12
|
|
| BLAKE2b-256 |
edf353fe5a809d9ff00d37f28c7df881ce869427c016affbde9f3395d7e5c88a
|
Provenance
The following attestation bundles were made for django_o11y-0.3.0-py3-none-any.whl:
Publisher:
ci-cd.yml on adinhodovic/django-o11y
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_o11y-0.3.0-py3-none-any.whl -
Subject digest:
5068b3f2aafc063ca67a1632aa1755c606f75695cc860e240ba68d9f195f2c56 - Sigstore transparency entry: 995747488
- Sigstore integration time:
-
Permalink:
adinhodovic/django-o11y@29f77400498b8720731d6c2666a37662a5136529 -
Branch / Tag:
refs/tags/0.3.0 - Owner: https://github.com/adinhodovic
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yml@29f77400498b8720731d6c2666a37662a5136529 -
Trigger Event:
release
-
Statement type: