# Grafana instant query option is returning empty results always

**URL:** <https://community.grafana.com/t/grafana-instant-query-option-is-returning-empty-results-always/73270>\
**Category:** Dashboards\
**Tags:** promql, query-help\
**Created:** [September 29, 2022, 9:30am UTC](https://community.grafana.com/t/grafana-instant-query-option-is-returning-empty-results-always/73270 "2022-09-29T09:30:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![manjunathkallannavar](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/manjunathkallannavar/32/26375_2.png) [@manjunathkallannavar](https://community.grafana.com/u/manjunathkallannavar)\
**Post date:** [September 29, 2022, 9:30am UTC](https://community.grafana.com/t/grafana-instant-query-option-is-returning-empty-results-always/73270/1 "2022-09-29T09:30:33Z")

</div>

From last few days we are seeing `Instant` query in Grafana is not working and returning empty results always. This used to work fine earlier.

We enabled `Instant` query to have accurate results in Stat visualisation. If disabled we are getting incorrect results. We are using below query and visualising results in Stat visualisation.

`sum(increase(abc_volume_action_count{kube_cluster_name="$xyz",controller="provision",result="completed"}[$__range]))`

- Grafana v7.5.6
- Is there a way we can display accurate counter type metrics results without using `Instant` query ? or
- Way to fix `Instant` option is not working ?.

More details here [time series - Grafana instant query option is returning empty results - Stack Overflow](https://stackoverflow.com/questions/73892046/grafana-instant-query-option-is-returning-empty-results)

Any help ?

---

<div class="post-metadata">

**Author:** ![usman.ahmad](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/usman.ahmad/32/29706_2.png) [@usman.ahmad](https://community.grafana.com/u/usman.ahmad)\
**Post date:** [September 29, 2022, 12:21pm UTC](https://community.grafana.com/t/grafana-instant-query-option-is-returning-empty-results-always/73270/2 "2022-09-29T12:21:59Z")

</div>

Hi @manjunathkallannavar,

Welcome to the :grafana: community support forums !!

I will try to test this out on my test VM.

Did you try to reproduce this on the new Grafana ver 9 as well?

---

<div class="post-metadata">

**Author:** ![manjunathkallannavar](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/manjunathkallannavar/32/26375_2.png) [@manjunathkallannavar](https://community.grafana.com/u/manjunathkallannavar)\
**Post date:** [September 30, 2022, 5:06am UTC](https://community.grafana.com/t/grafana-instant-query-option-is-returning-empty-results-always/73270/3 "2022-09-30T05:06:23Z")

</div>

Hi @usman.ahmad Thank you. Yes I tried to reproduce in v9 as well. Results are same. Attached screen shot.

 ![grafana_9.0.6](https://us1.discourse-cdn.com/grafana/original/3X/d/3/d381298ca5c96038309d8ffcbdc5a884cc3f6a03.jpeg)

---

<div class="post-metadata">

**Author:** ![usman.ahmad](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/usman.ahmad/32/29706_2.png) [@usman.ahmad](https://community.grafana.com/u/usman.ahmad)\
**Post date:** [September 30, 2022, 9:14am UTC](https://community.grafana.com/t/grafana-instant-query-option-is-returning-empty-results-always/73270/4 "2022-09-30T09:14:56Z")

</div>

Hi @manjunathkallannavar,

Thanks for the reply.

I currently do have a K8s environment or setup to reproduce it. Does it also happens with any standard Prometheus queries e.g. getting any CPU info etc. OR specific for K8s ?

---

<div class="post-metadata">

**Author:** ![manjunathkallannavar](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/manjunathkallannavar/32/26375_2.png) [@manjunathkallannavar](https://community.grafana.com/u/manjunathkallannavar)\
**Post date:** [September 30, 2022, 9:52am UTC](https://community.grafana.com/t/grafana-instant-query-option-is-returning-empty-results-always/73270/5 "2022-09-30T09:52:15Z")

</div>

Hi @usman.ahmad , Yeah I see issue is reproducible even with standard K8s metrics. If `instant` is disabled everything works fine.

 ![k8_metrics](https://us1.discourse-cdn.com/grafana/original/3X/d/8/d828d90dc061379e2fa6ee03ed62f77837d6c409.png)

---

<div class="post-metadata">

**Author:** ![usman.ahmad](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/usman.ahmad/32/29706_2.png) [@usman.ahmad](https://community.grafana.com/u/usman.ahmad)\
**Post date:** [September 30, 2022, 11:01am UTC](https://community.grafana.com/t/grafana-instant-query-option-is-returning-empty-results-always/73270/6 "2022-09-30T11:01:33Z")

</div>

Hi @manjunathkallannavar,

So I tried to reproduce it on my local machine using the Prometheus Uptime query. I played around with the Instant option but unfortunately not able to reproduce it.

Will it be possible for you to reproduce this on [https://play.grafana.com/](https://play.grafana.com/) and share the result with us?

Incase if it is not possible for you to reproduce there, then I suggest that you increase the log level to DEBUG mode and reproduce this case. So that we can see what logs are telling.

I hope this helps.

---

<div class="post-metadata">

**Author:** ![manjunathkallannavar](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/manjunathkallannavar/32/26375_2.png) [@manjunathkallannavar](https://community.grafana.com/u/manjunathkallannavar)\
**Post date:** [September 30, 2022, 12:31pm UTC](https://community.grafana.com/t/grafana-instant-query-option-is-returning-empty-results-always/73270/7 "2022-09-30T12:31:53Z")

</div>

Thanks @usman.ahmad will give a try.
