Skip to main content

Collect and send metrics to StatsD

Project description

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.

Project details


Release history Release notifications

This version
History Node

0.5.16

History Node

0.5.15

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
aiomeasures-fork-0.5.16.tar.gz (22.3 kB) Copy SHA256 hash SHA256 Source None Sep 20, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page