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

    Status: Open => Answered

Nicholas Leskiw proposed the following answer:
Hello,

1.) Graphite can render many days, weeks, months, even years.

2.) I do not believe that it is correct. 
You need to adjust the retention rate. 
Use this:

retentions = 5:120960

The second number is the number of datapoints to save.  So, to save 1
week's worth of data, every 5 seconds:

60 sec * 60 min * 24 hours * 7 days = 604,800 seconds in one week.

604,800 / 5 sec = 120,960 datapoints.


Once you change the storage-schemas.conf file you need to erase the .wsp files 
in /opt/graphite/storage/ or use the whisper-resizse.py utility to change their 
retention rate. 

3.) It is not adjusted - it is set when the wsp file is created, then it
wraps around to the beginning of the file and overwrites existing data
once it reaches the end of the file.

-- 
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     : [email protected]
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to