skip to navigation
skip to content

aiomeasures 0.5.14

Collect and send metrics to StatsD

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.

 
File Type Py Version Uploaded on Size
aiomeasures-0.5.14-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2015-10-29 13KB
aiomeasures-0.5.14.tar.gz (md5) Source 2015-10-29 21KB