Graph generation doesn't match graph granularity

Asked by Eric Welsh

Does graphite generate graphs on-demand, and are they based on the most recent data in the whisper files? I ask because it seems like graphite will only generate new graphs every 60 seconds, even though I'm putting data in the whisper files every 5 seconds and have the retention set to 5 seconds. The graphs have 5 second granularity, but I only get new graphs every 60 seconds regardless of how often I reload the graph.

Question information

Language:
English Edit question
Status:
Answered
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michael Leinartas (mleinartas) said :
#1

You can adjust the cache duration with the DEFAULT_CACHE_DURATION setting (in seconds) which you can add to local_settings.py. The graphs are cached based on URL so an alternate way to force a fresh graph generation is to change the URL by modifying the _salt parameter to something (arbitrarily) different.

Can you help with this problem?

Provide an answer of your own, or ask Eric Welsh for more information if necessary.

To post a message you must log in.