statshog
A simple statsd client.
What it is and what it does
statshog is a lightweight Python StatsD client that connects to StatsD servers to send application metrics. It supports both Etsy's original StatsD protocol and InfluxDB's Telegraf StatsD variant, allowing you to record counters, timings, and gauges. The package has no runtime dependencies and installs as a single wheel, making it straightforward to add to any project.
You create a StatsClient instance pointing to your StatsD server, then call methods like incr(), timing(), or gauge() to record metrics. It includes Django integration via settings configuration. The package is marked Production/Stable but has been abandoned since May 2021, so it receives no maintenance or updates.
Use it for:
- Send application performance metrics to a StatsD server for monitoring dashboards
- Track custom business metrics in a centralized metrics backend
- Integrate metrics collection into a Django application using environment-based configuration
- Record timing data with Telegraf tags for dimensional analysis of performance data
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python client for sending metrics to StatsD servers and recording counters, timings, and gauges with optional tag support.
Yes, if you need a minimal, dependency-free StatsD client and your StatsD infrastructure is stable. The permissive MIT license and zero runtime dependencies make it low-risk to adopt. However, the abandoned status since May 2021 means you should verify compatibility with your target server version and be prepared to fork if issues arise.
Install
statshog on PyPI
pip
pip install statshoguv
uv add statshogpoetry
poetry add statshogInstalling statshog
Before you install
Low install friction with no runtime dependencies. However, the package is abandoned—last release was 2021-05-07 with no commits since then.
License in practice
MIT license is permissive and places no restrictions on use, modification, or distribution in commercial or private projects.
Quickstart
pip install statshog
import statshog
statsd = statshog.StatsClient(host='localhost', port=8125)
statsd.incr('foo')
statsd.timing('stats.timed', 320)
Verify before relying
- Whether the package works reliably with current versions of StatsD and Telegraf servers
- Whether Python 3.10+ is supported despite classifiers only listing through 3.9
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | abandoned — 1,925 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,080,642/month — #3,308 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: statshog-1.0.6-py2.py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 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
statsd-tagsA Python client for sending metrics to…
permissive · top 15,000 on PyPI
aiodogstatsdAn asyncio-based client 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
datadogProvides a Python client library to send…
permissive · top 1,000 on PyPI
django-statsd-mozillaProvides Django integration with statsd for…
permissive · top 15,000 on PyPI
influxdbClient library for writing to and querying…
permissive · top 5,000 on PyPI
timing-asgiTiming-asgi is an ASGI middleware that…
unclear · top 15,000 on PyPI
line-protocol-parserParses InfluxDB line protocol strings into…
permissive · top 15,000 on PyPI