skillfed

django-statsd-mozilla

Django interface with statsd

django-statsd-mozilla v0.4.0 90.1K downloads/30d#13,618 on PyPI272
Permissive license BSD Abandoned released

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-mozilla

uv

uv add django-statsd-mozilla

poetry

poetry add django-statsd-mozilla

Installing 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

Framework :: DjangoIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3

Tags

django statsd metricsdjango performance monitoringstatsd integration djangoapplication metrics collectiondjango monitoring instrumentation
monitoringmetricsabandoned

More Monitoring packages

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

opentelemetry-semantic-conventions

Provides generated Python code for…

permissive · top 100 on PyPI

opentelemetry-sdk

Provides the reference implementation of the…

permissive · top 100 on PyPI

opentelemetry-api

Provides the abstract API and interfaces for…

permissive · top 100 on PyPI

opentelemetry-exporter-otlp-proto-http

Exports OpenTelemetry observability data to an…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation

Provides automatic instrumentation commands and…

permissive · top 1,000 on PyPI

statsd

A Python client library that sends metrics to a…

permissive · top 5,000 on PyPI

statsd-python

A Python client library for sending metrics to…

permissive · top 15,000 on PyPI

python-statsd

A client library for sending metrics to Etsy's…

permissive · top 15,000 on PyPI

statsd-tags

A Python client for sending metrics to…

permissive · top 15,000 on PyPI

statshog

A Python client for sending metrics to StatsD…

permissive · top 5,000 on PyPI

aiodogstatsd

An asyncio-based client for sending metrics to…

permissive · top 15,000 on PyPI

timing-asgi

Timing-asgi is an ASGI middleware that…

unclear · top 15,000 on PyPI

django-prometheus

Exports Django application metrics (requests,…

permissive · top 5,000 on PyPI

scout-apm

Scout APM is a Python application performance…

permissive · top 15,000 on PyPI

datadog

Provides a Python client library to send…

permissive · top 1,000 on PyPI