← Back to team overview

graphite-dev team mailing list archive

Re: [Question #97331]: Lower precision archives must cover larger time intervals than higher precision archives

 

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

    Status: Open => Answered

chrismd proposed the following answer:
So there are two ways to do this, depending on what your needs are.

Whisper's configuration is probably different than MRTG/RRD, I don't
recall how they handle this situation off the top of my head, but here's
how it works with whisper.

So you want 3 months of 5 minute polls and 1 week of 30 minute polls
(ignore the others for now). Do you mean that you want the previous 3
months to be stored at 5 minute precision and then the week prior to
that (ie 3 months ago to 3 months and 7 days ago)? If so then just tell
whisper you want 300:25920 (3 months of 5 minute data) and 1800:4656 (97
days of 30 minute data).

However if what you want is to have recent data stored in several
different levels of precision, ie. the last 3 months at 5 minute
precision and the last week at 30 minute precision, etc... then you need
to have a separate whisper file (so a different metric name).

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