{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/3"}],"enrichment":{"capability":"A Python client library that sends metrics to a statsd daemon, enabling you to track counters, timers, and gauges for monitoring and visualization in Graphite.","skillfed_tags":["metrics","monitoring","graphite"],"use_cases":["Track request counts and response times in a web application for real-time performance dashboards.","Monitor background job execution by recording job duration and success/failure counters.","Measure database query performance by timing queries and reporting slow-query counts.","Instrument microservices to emit custom business metrics (e.g., user signups, transactions) to a shared monitoring backend.","Profile batch processing jobs by recording throughput and latency metrics during data pipelines."],"what_it_does":"statsd is a lightweight Python client for sending application metrics to a statsd daemon, which typically forwards them to Graphite for storage and visualization. It provides a simple API to increment counters, record timings, and report gauges\u2014the core metric types used in monitoring systems. The library has no runtime dependencies and works across Python 3.7 through 3.11, making it easy to add to existing projects.\n\nYou instantiate a StatsClient with a host and port, then call methods like incr(), timing(), and gauge() to emit metrics. The client handles the UDP protocol communication with the daemon. It supports metric prefixing to namespace your stats, and the straightforward API makes it suitable for both simple scripts and large applications that need to feed metrics into a centralized monitoring stack.","worth_installing":"Yes. statsd is a mature, zero-dependency client for a widely-used monitoring protocol. It has no known vulnerabilities, permissive licensing, and active maintenance. Install it if you need to send metrics to a statsd/Graphite stack; skip it only if your monitoring backend uses a different protocol (Prometheus, CloudWatch, etc.)."},"id":"statsd","links":{"html":"https://skillfed.io/packages/statsd","md":"https://skillfed.io/packages/statsd.md","pypi":"https://pypi.org/project/statsd/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2022-11-06","license_spdx":null,"license_treatment":"permissive","name":"statsd","python_support":"unspecified","summary":"A simple statsd client."},"popularity":{"monthly_downloads":17993050,"position":1093,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"4.0.1"}
