ripienaar / gdash

A dashboard for Graphite
http://www.devco.net/
Apache License 2.0
755 stars 117 forks source link

Question: ability to include partial graph definitions? #101

Open ojilles opened 11 years ago

ojilles commented 11 years ago

Wondering how to best solve this...

I have a definition on how to display release lines (vertical lines depicting when we released an application). Obviously I want to define that only once, then include in all the graphs where applicable. However, I haven't found an easy way to do this. Does the community have any ideas?

bwhaley commented 11 years ago

Does the feature to include graphs from external templates do this for you?

:include_graphs: 
- "templates/release.line"
ojilles commented 11 years ago

Including this inside the .graph file won't work (Syntax Error). Including it into the dash.yaml gives a Errno::ENOTDIR. If I rename the .line file to a .graph, i just get a seperate graph with release lines (and I would like to accomplish integrating these lines into the existing graphs themselves).

Any ideas?