← Back to team overview

graphite-dev team mailing list archive

Re: [Question #210013]: Values changed upon refresh

 

Question #210013 on Graphite changed:
https://answers.launchpad.net/graphite/+question/210013

    Status: Open => Answered

Nicholas Leskiw proposed the following answer:
Change average to sum with whisper-resize.py and use the cumulative()
function on the targets.  Also setup storage-aggregation.conf to sum
instead of average any counter metrics.

Vlad <question210013@xxxxxxxxxxxxxxxxxxxxx> wrote:

>Question #210013 on Graphite changed:
>https://answers.launchpad.net/graphite/+question/210013
>
>Description changed to:
>I have a standard 0.9.10 graphite setup, data are getting in from statsd
>with a 1 second flush interval.
>
>Depending of the displayed interval and the values of the metric, values
>change upon refresh.
>
>whisper-info output :
>maxRetention: 157680000
>xFilesFactor: 0.0
>aggregationMethod: average
>fileSize: 2340064
>
>Archive 0
>retention: 86400
>secondsPerPoint: 1
>points: 86400
>size: 1036800
>offset: 64
>
>Archive 1
>retention: 604800
>secondsPerPoint: 10
>points: 60480
>size: 725760
>offset: 1036864
>
>Archive 2
>retention: 2592000
>secondsPerPoint: 600
>points: 4320
>size: 51840
>offset: 1762624
>
>Archive 3
>retention: 157680000
>secondsPerPoint: 3600
>points: 43800
>size: 525600
>offset: 1814464
>
>I have attached example of displayed graph and associated raw data.
>graph1 : http://img.ly/nXst
>same graph upon refresh : http://img.ly/nXsx
>same graph upon refresh: http://img.ly/nXsA
>
>Raw data :
>https://gist.github.com/3808245
>
>URL used is :
>http://localhost/render/?target=stats_counts.test3&tz=Europe/Paris&from=-60minutes
>
>
>I tried ajusting minXStep to 0 and the graph displays the proper values.
>So I guess this is the exact same case than the third comment on https://answers.launchpad.net/graphite/+question/199322, but I'd like to make sure.
>
>same graph upon refresh with minXStep : http://img.ly/nXsE
>
>-- 
>You received this question notification because you are a member of
>graphite-dev, which is an answer contact for Graphite.
>
>_______________________________________________
>Mailing list: https://launchpad.net/~graphite-dev
>Post to     : graphite-dev@xxxxxxxxxxxxxxxxxxx
>Unsubscribe : https://launchpad.net/~graphite-dev
>More help   : https://help.launchpad.net/ListHelp

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