save graphs in composer, add them to dashboard

Bug #850513 reported by Bruce Lsyik
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Graphite
Fix Released
Medium
Unassigned

Bug Description

There should be a way that I can create graphs in composer, save them, and then add them to a dashboard.

Revision history for this message
Nicholas Leskiw (nleskiw) wrote :

Were you aware all the composer functions are available in the dashboard?
Left click on a graph in the dashboard and you'll see a familiar interface.
I know it's not the same as saving a graph in the composer, but this can get you by for now.

Changed in graphite:
status: New → Triaged
Revision history for this message
Bruce Lsyik (blysik) wrote :

I'm still running 0.9.8, so I wasn't aware of that. I'm getting by with params and target right now, but composer -> dashboard is definitely more user friendly.

Revision history for this message
Geoff Flarity (geoff-flarity) wrote :

I think this feature is pretty important. We've put a bunch of effort into creating and saving graphs in the composer only to discover you can't bring them into the dashboard. I'm sure others will make the same mistake.

Would you accept a patch if someone implemented this? If so I might consider doing it.

Revision history for this message
Michael Leinartas (mleinartas) wrote :

Yes, definitely! Patches welcome

Revision history for this message
Michael Leinartas (mleinartas) wrote :
Revision history for this message
Michael Leinartas (mleinartas) wrote :

This has been added in r765

Changed in graphite:
importance: Undecided → Medium
milestone: none → 0.9.10
status: Triaged → Fix Committed
Changed in graphite:
status: Fix Committed → Fix Released
Revision history for this message
Felix GV (felixgv) wrote :

Hello,

I have a question about this bug/fix. It may be slightly off-topic, but I'm new to Graphite and couldn't find the info anywhere, so please bear with me :) !

I have recently installed Graphite 0.9.10 using pip and I can't figure out how to save a graph from the Composer.

I see that this bug fix was committed into 0.9.10 after 0.9.10's release date (based on the date of the article talking about that release on the main wikidot page). Thus, I'm wondering if perhaps the 0.9.10 version of Graphite I got from pip may perhaps be older than the r765 version this fix was added in?

Alternatively, it's possible that I'm just doing it wrong or looking in the wrong place. Which one is it?

If the version available through pip is indeed not the latest incarnation of Graphite 0.9.10, then is my only option for getting this fix to build from sources?

On a related topic, is there a way for me to tell which r# my current version of Graphite is at?

Sorry if this is somewhat off-topic in the context of this ticket. If you'd rather have me repost this on a mailing list or some place else, don't hesitate to tell me.

Thanks for your help :) !

--
Felix

Revision history for this message
Michael Leinartas (mleinartas) wrote :

@felixgv: this did make it into 0.9.10. You can save a graph in composer only when you're logged in. If you haven't set up any users, you can log into the admin account to test it. Once logged in, you should see an Icon at the top of the composer window to save a graph. Once you save it, you should see it appear in the metric tree under User Graphs. It's after this point that you can import it into the dashboard.

Revision history for this message
Felix GV (felixgv) wrote :

Thanks a lot Michael!

You guessed right. I just needed to log in in order to use the feature :)

Also, it might be worth pointing out, for future reference, that on one of the Graphite instances I was playing around with, I had not set up any user during the installation process, in which case the django user called "default" was able to log in but didn't have access to that feature. I used manage.py to create a super user and that user could then use the feature above, as you had predicted.

Thanks again!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.