Skip to main content

Library for posting metrics to a server

Project description

A python library to send application metrics using UDP.

Build Status


pip install measures


  • count
from measures import Measure
measure = Measure('myclient', ('localhost', 1984))
measure.count('mymetric', dimensions={'name': 'john'})
  • time
from measures import Measure
measure = Measure('myclient', ('localhost', 1984))
with measure.time('mymetric') as dimensions:
    dimensions['name'] = 'john'


  • Set up your environment
git clone
cd measures
mkvirtualenv measures
pip install -r test_requirements.txt
  • Run the tests
make tests
  • Write tests for your new feature or bug fix
  • Write needed code changes
  • Iterate, have fun :)
  • Make a pull request with your changes

Who do I talk to?

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 measures, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size measures-1.1.0.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page