← Back to team overview

graphite-dev team mailing list archive

Re: [Question #206495]: Graphite storing only 24hours data in whisper files

 

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

    Status: Open => Answered

Michael Leinartas proposed the following answer:
whisper-fetch.py will by default only fetch the last 24 hours worth of
points. You can fetch a different range by specifying --from and --to

In your case, to get the entire archive you can use:
whisper-fetch.py --from $(($(date '+%s')-1312149104)) <file>
Where 1312149104 is the maxRetention above. You may also be interested in looking at whisper-dump.py which gives a raw dump of the file's data.

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