Created
February 22, 2012 19:12
-
-
Save philipcristiano/1886713 to your computer and use it in GitHub Desktop.
Test script for statsd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import time | |
from pystatsd import Client, Server | |
sc = Client('statsd.local.vm',8125) | |
while True: | |
sc.increment('python_test.inc_int') | |
time.sleep(random.random()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment