Saving to my graphs is not remembering preferances

Asked by Nathanael Anderson

Using the included example-client.py to create 1 5 and 15 minute load averages I put all 3 views on a graph and checked the update box, then saved the view as full load. once the view is saved it does not show up under my graphs, so i reloaded the page. I then clicked on the new graph view I created, and only the 1 minute average showed up, and it didn't have the update box checked.

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
chrismd
Solved:
Last query:
Last reply:
Revision history for this message
Best chrismd (chrismd) said :
#1

Unfortunately the ExtJS library that I use for the tree widget caches the tree structures so once you have expanded your "My Graphs" everything below it will not change until you refresh the page. I will open a bug to track this issue because I do not like this behavior. As far as you only seeing the 1 minute average, I will create a separate bug for that as it is probably my code at fault. The fact that your settings are not reflected in the composer after loading the graph (like auto-refresh) is a known issue. Basically when you save a graph as a My Graph it simply tells the server the URL of the image, not a datastructure describing the settings. So when you load it that information is lost. There are a couple ways I can fix this but it is expected behavior at the moment (though admittedly annoying). I will create a third bug to track this. Three bugs in one question is a new record!

Revision history for this message
Nathanael Anderson (wirelessdreamer) said :
#2

Thanks chrismd, that solved my question.