← Back to team overview

graphite-dev team mailing list archive

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

 

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


Follow ups

References