Setting min/max on Gauge visualizations through template variables?

Is there a way to set the min/max (or threshold) on a Gauge visualization through a template variable or other programmatic action?

e.g. I’d like to show the number of “up” nodes in a cluster of machines – but would like to not have to hard-code the max. I can easily set the num_nodes through a template-var/flux query, but is there a way to use that as the max of the Gauge?

No unfortunately there is no way to programmatically set the max right now.

I encourage you to submit a feature request here:

For other users this is how you set the max: