Dynamic max gauge in single stat is avaialble?

Hi, I’m trying to create single stat panel for used_capacity of the all the nodes. I have total_used_capacity and total_capacity as separate values. It would be ideal to create single stat panel for total_used_capacity with threshold as the total_capacity, meaning dynamic threshold. If not for single stat, other panels are also welcome. Is there any feature like this?

1 Like

You can do this with your query depending on which time series database you are using. It is possible with Graphite and Prometheus but not with InfluxDB (as far as I know).

Yes, this feature will be good. I hope it is added to influxdb also.

I’m using Influxdb. Is there other plugin/panel that does this kind of job?

Might be possible with the new subqueries feature in InfluxDB: https://docs.influxdata.com/influxdb/v1.2/query_language/data_exploration/#subqueries

You could try asking on the InfluxDB forum: https://community.influxdata.com/