This library allows you to send metrics to your Datadog or Statsd server. This works on Python >= 3.3 and relies on asyncio.
Installation:
python -m pip install aiomeasures
Usage:
from aiomeasures import Datadog
client = Datadog('udp://127.0.0.1:6789')
client.incr('foo')
client.decr('bar', tags={'one': 'two'})
with client.timer('baz'):
# long process
pass
The client will send metrics to agent as possible.
Release files for aiomeasures-fork 0.5.16
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aiomeasures-fork-0.5.16.tar.gz | 22.3 kB | Details |
Release files / aiomeasures-fork-0.5.16.tar.gz
| Download URL | aiomeasures-fork-0.5.16.tar.gz |
|---|---|
| Size | 22.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f1fc04e2794d4258338511e8f495f03a34ba8ed1aee29895b6822ae68225cb6
|
|
BLAKE2b-256 checksum How to use checksums |
b5251c6a6f9a34b7ff89517ef355b2b90f3905bb9fcf58c0158e96735a6f8b2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |