Can I use query in SingleStat?

I use prometheus to monitor our network share drive. and I feel SingleStat panel is very good,

but I have question, Instead use a hardcode value in the Gauge -> Max filed, can I use a query, for example something like


so I don’t need to reset the value when I have a new harddisk.

If SingleStat couldn’t do that, any idea which panel could fit my need?


There are a feature request issue at Grafana github repository. You can upvote it by adding a :+1: emoji if you want this feature implemented. We’ll consider implementing it if it gets a lot of upvotes.


1 Like