Python StatsD Client Library
This StatsD client
itrsstatsd is a Python module used for collecting custom application metrics.
It is intended to be used with the Collection Agent and the StatsD plug-in. The workflow is as follows:
- The StatsD client sends metrics via UDP or TCP to the agent.
- The agent aggregates and reports the metrics every 10 seconds by default.
You need to have Python 3.7 or higher to use it.
The StatsD client is based on the StatsD protocol with the following enhancements:
- Dimensions (tags) can be added to all metrics or to specific metrics.
- Unit of measure can be specified per metric.
To install the module from PyPi:
pip3 install itrsstatsd
You can also find the installation files at ITRS Downloads.
Once the module has been installed, documentation and usage examples are available via the pydoc: