No project description provided
Project description
Python Statsd Client
:construction: WIP :construction:
This is an implementation of a Statsd client for Python.
For usage see documentation.
Motivation
I was looking for a generic Statsd client with tags support to interact with various statsd servers for an application that I distribute but don't operate, so there could be high variability in the statsd implementations used (I know one uses Telegraf and InfluxDB and one Datadog and they both have different tag formats).
pystatsdexists and works, but it intentionally does not support tags.- The docs point to an alternative supporting tags, but at the time of writing the repository leads to a 404 for me.
- There a are a few more available on PyPi that likely work, but most of the ones I've checked haven't been updated in a while, are not documented and don't support tags.
datadogpycould be a solid solution, but I'd rather avoind pulling the full Datadog client library in projects where I don't use datadog. It also exposes some non standard metric types, and while I can always not use them I'd prefer a generic solution (ignoring tags which, while not standardized, are supported by most statsd servers).
Development
- All development dependencies are defined in requirements-dev.txt.
- All tests and linting steps are defined in tox.ini, you can run the all the checks with
tox. - Code is expected to be formatted with
blackandisort, you can run the formatters withtox -e fmt.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file statsd_python-0.6.1.tar.gz.
File metadata
- Download URL: statsd_python-0.6.1.tar.gz
- Upload date:
- Size: 515.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aae1e87565745ac8f1ae5ffa3286648c5c4c8db6c65144b56165bf857612d40d
|
|
| MD5 |
55fe7916f050a85fd69b0de768ab52a1
|
|
| BLAKE2b-256 |
d4c49f8726660c7a83c97cf289dfadcf513e90555f90caa3d2e772e65fb0af2b
|
File details
Details for the file statsd_python-0.6.1-py3-none-any.whl.
File metadata
- Download URL: statsd_python-0.6.1-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30f84925a7c71792d56f738c5186c142e40ed5274b4257fb9b1e5d59708a49bd
|
|
| MD5 |
f53ed66a066784a915c81210c0ec128b
|
|
| BLAKE2b-256 |
9cee4987147e502885f37f9b9a91578dac640f83e22e89ed1765d868b6b45408
|