Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
import statsd
statsd_connection = statsd.Connection(
host='127.0.0.1',
port=8125,
)
raw = statsd.Raw('MyApplication', statsd_connection)