← Back to team overview

graphite-dev team mailing list archive

[Question #192109]: Is there a tool to dump the entire .wsp file?

 

New question #192109 on Graphite:
https://answers.launchpad.net/graphite/+question/192109

Hello,

Our current schema is:

[default]
priority = 100
pattern = .*
#5 second intervals for a week, then 1 min intervals for 13 months
retentions = 5:120960,60:565920

I'm debugging an issue where fetching data for certain files from the last 7 days shows some data, but moving to 8 or more last days shows pretty much nothing.

I read the documentation about the whisper file format in http://readthedocs.org/docs/graphite/en/latest/whisper.html as well as some of the code in whisper.py (e.g. file_fetch) and I think I understand that once our query moves beyond the time scope of the last 7 days the data is fetched from the longer-term "archive".

In order to debug this I'd like to have a complete dump of the whisper file - from the header down to the last data point entry (whether it's empty or not). Quite like RRDdump (http://oss.oetiker.ch/rrdtool/doc/rrddump.en.html) (except for the horrible XML format - yaml will do thank you).

Before I set out to try to write such a thing based on whisper.py - can someone point me to an existing tool which does the same?

Thanks.

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