Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (8 sloc) 238 Bytes
#!/usr/bin/env python
from pystatsd import Client, Server
sc = Client('localhost',8125)
sc.timing('python_test.time',500)
sc.increment('python_test.inc_int')
sc.decrement('python_test.decr_int')
srvr = Server(debug=True)
srvr.serve()