tessera-metrics / tessera

A dashboard front-end for graphite.
http://tessera-metrics.github.io/tessera/
Apache License 2.0
1.19k stars 81 forks source link

Add template tag to reference other queries #538

Closed aalpern closed 7 years ago

aalpern commented 7 years ago

Copying issues from https://github.com/aalpern/tessera => https://github.com/aalpern/tessera/issues/2

This would quickly address query reuse within a single dashboard, which goes part of the way to addressing urbanairship/tessera/issues/191.

Queries are named, so having a simple {{query "query-name"}} handlebars extension would allow re-using a query within another in the same dashboard.

For bonus points, add a way to override variables, allowing re-use of queries with, say, different clusto roles or hostnames.

aalpern commented 7 years ago

Done