Skip to content

Instantly share code, notes, and snippets.

@clutchski
Created November 1, 2012 21:19
Show Gist options
  • Save clutchski/3996627 to your computer and use it in GitHub Desktop.
Save clutchski/3996627 to your computer and use it in GitHub Desktop.
from statsd import statsd
while True:
import time; time.sleep(1)
statsd.increment('test.counter', 1)
statsd.gauge('test.gauge', 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment