--- id: python-statsd version: "2.1.0" license: BSD license_treatment: permissive maintenance: abandoned --- # python-statsd — statsd is a client for Etsy's node-js statsd server. A proxy for the Graphite stats collection and graphing server. License: permissive · Maintenance: abandoned · Downloads: 87.5K/mo ## What it is and what it does python-statsd is a Python client for sending application metrics to Etsy's statsd server, which acts as a UDP-based proxy that aggregates and forwards metrics to Graphite for storage and visualization. It provides a simple API for recording timers, counters, gauges, and raw metric data, with support for sampling and connection configuration. The library is designed for low-overhead metric collection in production applications. It sends data via UDP to a statsd server (default localhost:8125), which then handles aggregation and forwarding to Graphite. The package has no runtime dependencies and installs easily, but is no longer maintained—the last release was in 2017 and the repository received its final commit in 2019. Use it for: - Track application performance metrics like request latency and throughput in production systems. - Monitor custom business metrics (e.g., user signups, transactions) alongside infrastructure metrics. - Collect timing data for code sections using the Timer class to measure execution performance. - Send pre-aggregated or raw metric data directly to Graphite via statsd for bandwidth efficiency. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A client library for sending metrics to Etsy's statsd server, which acts as a front-end proxy to Graphite for stats collection and graphing. No. While the package is simple and has no dependencies, it is abandoned and unmaintained since 2017. For new projects, use an actively maintained alternative like statsd or a modern observability client. Only consider it for legacy systems already using it where switching would introduce unnecessary risk. ## Install pip install python-statsd uv add python-statsd poetry add python-statsd ## Installing python-statsd Before you install: Installation is straightforward with no runtime dependencies. However, the package is abandoned—last release was in 2017 and last commit in 2019—so it receives no active maintenance or security updates. License in practice: BSD license is permissive, allowing commercial and private use with minimal restrictions. Quickstart: import statsd timer = statsd.Timer('MyApplication') timer.start() # do something timer.stop('SomeTimer') counter = statsd.Counter('MyApplication') counter += 1 Requires a running statsd server (typically on localhost:8125) to receive and forward metrics. Verify before relying: - Whether the package works correctly with modern Python versions (support unspecified in metadata). - Whether the package is compatible with current versions of Graphite and statsd servers. ## Package facts - License: BSD (permissive) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 87.5K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags statsd client, metrics collection graphite, send stats to statsd, application monitoring metrics, graphite integration python, metrics, monitoring, graphite [View on SkillFed](https://skillfed.io/packages/python-statsd) · [View on PyPI](https://pypi.org/project/python-statsd/)