I have installed graphite, nodejs-statsd (to receive data), and python statsd client(to send data).
below is a test script which sends data to the udp socket of statsd process.
#!/usr/bin/env python
import time
import random
import statsd
c = statsd.StatsClient('localhost',8125)
c.incr('test')
i = 0
while i <= 10000:
time.sleep(2)
digit = random.randrange(200 , 999)
c.timing('stats.timed',digit)
i = i + 1
since its sending the data every 2secs, but graphite/statsd renders the graph every 60seconds and the x-axis is also in 60 seconds, any idea how i can set x-axis points to 2 seconds