Y axis divided by 10

Asked by rolandow

I just started with StatsD and Graphite.

I tested by executing the increment method 100 times in a little PHP script. Now, in graphite, this number is divided by ten. When I ask the JSON from graphite, it gives me 10 at this datapoint.

At first I thought that this could be because my retention is 10s, but I tested before with retention 5s with the same result.

What am I missing here?

Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Brian Lalor (blalor) said :
#1

I believe StatsD is giving you a *rate*. So you've called increment 100 times in 10 seconds, StatsD's default aggregation period. I think there's another StatsD metric in another part of the tree that will give you the actual count, but I'm not positive. I'm fuzzy on StatsD myself, but this is my basic understanding.

Revision history for this message
rolandow (rolandow) said :
#2

When I changed the flush interval of StatsD to 5000 ms (5 sec), it also divided the counts by 10.

Maybe it's just another settings that I missed. I reverted back to 10 sec interval, so in a way it does make sense now.

Revision history for this message
Paul Gilowey (paul-gilowey) said :
#3

I'm seeing the same thing rolandlow. My retention is 10s:6h,60s:7d. I found that counts for the second retention period are accurate, but those for the first period appear on average 10% of the second.

I'm sure these were correct at some stage, so I'm guessing that this is something I introduced by mistake... Like perhaps not resizing my whisper files.

Can you help with this problem?

Provide an answer of your own, or ask rolandow for more information if necessary.

To post a message you must log in.