black-mirror-1 / singlestat-math

Panel based on the default single stat panel with added feature to do math across metrics from multiple queries.
MIT License
14 stars 14 forks source link

Gauge - Use a query to control Gauge Threshold #36

Open diegocanton opened 5 years ago

diegocanton commented 5 years ago

It would be very useful if we could control the Gauge "Min" and "Max" values through a query.

Imagine using a Query X with LimitThresholdMin alias and Query Y with LimitThresholdMax alias, now we use these variables in the Gauge Threshold "Min" and "Max" field making it dynamic.