How graphite handle same second hits?

Asked by julien

hi,

Let's say carbon receives these 3 identical hits

live.search.hit 1 1409831470
live.search.hit 1 1409831470
live.search.hit 1 1409831470

Will I see in graphite live.search.hit = 3 at this second?

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
Denis Zhdanov
Solved:
Last query:
Last reply:
Revision history for this message
Best Denis Zhdanov (deniszhdanov) said :
#1

Hi julien,

No, for same timestamp metrics will be overwritten. And not only for same timestamp, but for all timestamps matching with lowest retention. I.e. if you have retention = 60 s there's no need to send metrics more often than once per 60 s - last one will overwrite previous ones from same minute.
Thing what are you looking for is calling statsd - it has counters, timers etc. Check that link for details - http://blog.pkhamre.com/2012/07/24/understanding-statsd-and-graphite/

Revision history for this message
julien (julien-levasseur) said :
#2

Thanks Denis Zhdanov, that solved my question.