# Can I use query in SingleStat?

**URL:** <https://community.grafana.com/t/can-i-use-query-in-singlestat/5463>\
**Category:** Grafana\
**Created:** [February 14, 2018, 11:42am UTC](https://community.grafana.com/t/can-i-use-query-in-singlestat/5463 "2018-02-14T11:42:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigyellow](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@bigyellow](https://community.grafana.com/u/bigyellow)\
**Post date:** [February 14, 2018, 11:42am UTC](https://community.grafana.com/t/can-i-use-query-in-singlestat/5463/1 "2018-02-14T11:42:16Z")

</div>

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

> node\_filesystem\_size{device=~“wdknas01”}

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

 ![image](https://us1.discourse-cdn.com/grafana/original/2X/f/f77a6b28994f794dc771d93749dea4bc47ac025d.png)

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

---

<div class="post-metadata">

**Author:** ![anon34853223](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@anon34853223](https://community.grafana.com/u/anon34853223)\
**Post date:** [February 19, 2018, 5:10pm UTC](https://community.grafana.com/t/can-i-use-query-in-singlestat/5463/2 "2018-02-19T17:10:38Z")

</div>

Hi,

There are a [feature request issue](https://github.com/grafana/grafana/issues/4929) at Grafana github repository. You can upvote it by adding a 👍 emoji if you want this feature implemented. We’ll consider implementing it if it gets a lot of upvotes.

Marcus
