← Back to team overview

graphite-dev team mailing list archive

[Question #269190]: Should counters in telemetry be monotonically increasing

 

New question #269190 on Graphite:
https://answers.launchpad.net/graphite/+question/269190

Hello
Not a direct graphite question. I was wondering as to what is the standard best practice for storing counter values to a time series database. Should it be a constantly increasing value like 10, 20, 30 showing at each time the total value of that counter. Or should it be 10, 10, 10 showing the value of the counter during that particular time interval and then resetting it to 0 once that value has been reported to the TSDB. The problem with the first approach is that with a server restart etc. this counter value will be reset to 0 also as some point the counter value might overflow.

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.