django-statsd-mozilla
Django interface with statsd
What it is and what it does
django-statsd-mozilla is a Django middleware and utility library that connects your Django application to a statsd server for real-time metrics collection. It sends application performance data to statsd, which aggregates and forwards metrics to monitoring systems. The package provides decorators and context managers to instrument custom code sections.
The library depends only on the statsd client library and integrates as Django middleware or through explicit instrumentation calls. It was last released 2017-09-01 with a final commit 2020-09-04, meaning it receives no active maintenance or security updates and may have compatibility issues with recent Django versions.
Use it for:
- Track request latency and throughput metrics in a Django application connected to a statsd aggregator.
- Monitor database query performance and cache hit rates by instrumenting ORM and cache operations.
- Collect custom application metrics via decorators on view functions or service methods.
- Feed real-time application telemetry into a monitoring system for alerting and capacity planning.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Django integration with statsd for sending application metrics to a statsd server, enabling real-time performance monitoring and statistics collection.
No—unless you are maintaining legacy code already using this package. The library is abandoned (last release 2017-09-01, last commit 2020-09-04) and likely incompatible with modern Django versions. For new projects, use actively maintained alternatives or direct integration with statsd via a maintained client library.
Install
django-statsd-mozilla on PyPI
pip
pip install django-statsd-mozillauv
uv add django-statsd-mozillapoetry
poetry add django-statsd-mozillaInstalling django-statsd-mozilla
Before you install
Low install friction with a single runtime dependency (statsd). However, the package is abandoned—last release was 2017-09-01 and last commit 2020-09-04—so it receives no active maintenance or security updates.
License in practice
BSD license is permissive and poses no restrictions on use, modification, or distribution in proprietary or open-source projects.
Quickstart
pip install django-statsd-mozilla
from django_statsd.middleware import StatsdMiddleware
# Add to Django MIDDLEWARE setting
Requires a running statsd server and Django application setup
Verify before relying
- Whether the package remains compatible with current Django versions (last release 2017-09-01)
- Whether statsd dependency versions are pinned or compatible with modern Python ecosystems
- Active community forks or maintained alternatives if compatibility issues arise
Package facts
| License | BSD (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — statsd |
| Maintenance | abandoned — 3,269 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 90,103/month — #13,618 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: django_statsd_mozilla-0.4.0-py3-none-any.whl
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
statsdA Python client library that sends metrics to a…
permissive · top 5,000 on PyPI
statsd-pythonA Python client library for sending metrics to…
permissive · top 15,000 on PyPI
python-statsdA client library for sending metrics to Etsy's…
permissive · top 15,000 on PyPI
statsd-tagsA Python client for sending metrics to…
permissive · top 15,000 on PyPI
statshogA Python client for sending metrics to StatsD…
permissive · top 5,000 on PyPI
aiodogstatsdAn asyncio-based client for sending metrics to…
permissive · top 15,000 on PyPI
timing-asgiTiming-asgi is an ASGI middleware that…
unclear · top 15,000 on PyPI
django-prometheusExports Django application metrics (requests,…
permissive · top 5,000 on PyPI
scout-apmScout APM is a Python application performance…
permissive · top 15,000 on PyPI
datadogProvides a Python client library to send…
permissive · top 1,000 on PyPI