← Back to team overview

graphite-dev team mailing list archive

Re: [Question #175090]: summarize, retentions & timezone

 

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

    Status: Open => Answered

chrismd proposed the following answer:
I believe this issue was fixed in Bug #712036 so if you're on 0.9.9 you
should be able to fix this by using the extended form of summarize()
like so:

summarize(stats.some_counter, "1d", "sum", "true")

The general form is:

summarize(series_expression, summary_interval, aggregation_func,
align_to_from)

Having a 4th arg of "true" will align the summarization buckets to the
begining of the request, which means you have to use absolute from/until
parameters (formats include "HH:MM YYYYMMDD"), using relative (like
"-30d") will cause confusing results, unless you make the request at
midnight :)

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