← Back to team overview

graphite-dev team mailing list archive

Re: [Question #160576]: Can't view data older then one week.

 

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

    Status: Answered => Open

Royce King is still having a problem:
When I run the whisper-info.py I get the following:

whisper-info.py count.wsp
maxRetention: 565920
xFilesFactor: 0.5
fileSize: 113212

Archive 0
retention: 565920
secondsPerPoint: 60
points: 9432
size: 113184
offset: 28

and my storage-schemas.conf contains this:
[everything_1min_13months]
priority = 100
pattern = .*
retentions = 60:565920


Am I wrong by understanding this?  Doesn't this mean that data will be
retained for every minute for 13 months?

-Royce


On Tue, Jun 7, 2011 at 9:11 AM, Nicholas Leskiw <
question160576@xxxxxxxxxxxxxxxxxxxxx> wrote:

> Your question #160576 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/160576
>
>     Status: Open => Answered
>
> Nicholas Leskiw proposed the following answer:
> Check the actual retention rate of the .wsp file.
> Go to /opt/graphite/storage/whisper/, and you'll see the same hierarchy as
> in the UI.  Find the .wsp file and run whisper-info.py name-of-metric.wsp
>
> Look for secondsPerPoint and Points.
>
> If you multiply those two numbers, is it around 600,000? If so your
> retention rate is set to one week.  You can change the retention rate of
> an existing wsp file with whisper-resize.py Run it with --help for more
> info.
>
> If you find the retention rate is incorrect, you can set retention rates
> for new metrics in /opt/graphite/conf/storage-schemas.conf
>
> If this doesn't solve the issue, please post your storage-schemas.conf
> and the output of whisper-info.py
>
> -Nick
>
> On Jun 7, 2011, at 9:50 AM, Royce King
> <question160576@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
> > New question #160576 on Graphite:
> > https://answers.launchpad.net/graphite/+question/160576
> >
> > I am trying to view data with graphite for last month and can only seem
> to be able to view data for the last week.  from=-3weeks doesn't work, nor
> does &from=00%3A00_20110531&until=14%3A00_20110531.
> >
> > Has anybody else had this problem?  Is there some kind of configuration
> that I am missing?
> >
> > --
> > 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
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/graphite/+question/160576/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/graphite/+question/160576
>
> You received this question notification because you asked the question.
>

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


Follow ups

References