Skip to main content

Collect and send metrics to StatsD

Project description

This library allows you to send metrics to your Datadog 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for aiomeasures, version 0.5.13
Filename, size File type Python version Upload date Hashes
Filename, size aiomeasures-0.5.13.tar.gz (22.4 kB) File type Source Python version None Upload date Hashes View
Filename, size aiomeasures-0.5.13-py2.py3-none-any.whl (13.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page