# Queries are not working

**URL:** <https://community.grafana.com/t/queries-are-not-working/108730>\
**Category:** Prometheus\
**Tags:** query-editor, grafana\
**Created:** [November 28, 2023, 8:37am UTC](https://community.grafana.com/t/queries-are-not-working/108730 "2023-11-28T08:37:14Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![nithya4](https://avatars.discourse-cdn.com/v4/letter/n/ce7236/32.png) [@nithya4](https://community.grafana.com/u/nithya4)\
**Post date:** [November 28, 2023, 8:37am UTC](https://community.grafana.com/t/queries-are-not-working/108730/1 "2023-11-28T08:37:14Z")

</div>

Queries which were working earlier are not working now. Please refer attached snippets for reference. Same Query shows expected output in one environment and not in another.

 ![Grafana_Prod](https://us1.discourse-cdn.com/grafana/original/3X/0/7/07d01234bf588ac471ba477821494f274de57cf8.png)  
 ![Grafana_Stage](https://us1.discourse-cdn.com/grafana/original/3X/9/0/902e4be12ed9111d830d306a3111b8fc0e460cd8.png)

---

<div class="post-metadata">

**Author:** ![sowdenraymond](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/sowdenraymond/32/38541_2.png) [@sowdenraymond](https://community.grafana.com/u/sowdenraymond)\
**Post date:** [November 28, 2023, 8:55am UTC](https://community.grafana.com/t/queries-are-not-working/108730/2 "2023-11-28T08:55:56Z")

</div>

if you switch to table view are you seeing data?

---

<div class="post-metadata">

**Author:** ![nithya4](https://avatars.discourse-cdn.com/v4/letter/n/ce7236/32.png) [@nithya4](https://community.grafana.com/u/nithya4)\
**Post date:** [November 28, 2023, 11:02am UTC](https://community.grafana.com/t/queries-are-not-working/108730/3 "2023-11-28T11:02:59Z")

</div>

No, am not getting the results.

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/d/4/d4738ee8eb67d38c2dc8b5867cc4986dca2b9192.png)

---

<div class="post-metadata">

**Author:** ![jasonmallory](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/jasonmallory/32/36686_2.png) [@jasonmallory](https://community.grafana.com/u/jasonmallory)\
**Post date:** [November 28, 2023, 4:39pm UTC](https://community.grafana.com/t/queries-are-not-working/108730/4 "2023-11-28T16:39:44Z")

</div>

What do you see in the query inspector?

---

<div class="post-metadata">

**Author:** ![nithya4](https://avatars.discourse-cdn.com/v4/letter/n/ce7236/32.png) [@nithya4](https://community.grafana.com/u/nithya4)\
**Post date:** [November 29, 2023, 5:53am UTC](https://community.grafana.com/t/queries-are-not-working/108730/5 "2023-11-29T05:53:34Z")

</div>

Hi,

Could see the below details in query inspector.

{  
“request”: {  
“url”: “api/datasources/proxy/1/api/v1/query\_range”,  
“method”: “POST”,  
“data”: {  
“query”: “sum(kube\_pod\_info{node=~"._"}) / sum(kube\_node\_status\_allocatable{node=~"._",resource="pods",exported\_node=~"aks.\*"}) \* 100”,  
“start”: 1701235360,  
“end”: 1701237160,  
“step”: 20  
},  
“hideFromInspector”: false  
},  
“response”: {  
“status”: “success”,  
“data”: {  
“resultType”: “matrix”,  
“result”:   
}  
}  
}

---

<div class="post-metadata">

**Author:** ![jasonmallory](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/jasonmallory/32/36686_2.png) [@jasonmallory](https://community.grafana.com/u/jasonmallory)\
**Post date:** [November 29, 2023, 4:35pm UTC](https://community.grafana.com/t/queries-are-not-working/108730/6 "2023-11-29T16:35:20Z")

</div>

Did it return any data?

---

<div class="post-metadata">

**Author:** ![nithya4](https://avatars.discourse-cdn.com/v4/letter/n/ce7236/32.png) [@nithya4](https://community.grafana.com/u/nithya4)\
**Post date:** [November 30, 2023, 5:36am UTC](https://community.grafana.com/t/queries-are-not-working/108730/7 "2023-11-30T05:36:02Z")

</div>

Hi,

We are neither getting error nor data for the above query.

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/6/9/69eef181846bdb98b7f349262bd05e02822e58ae.png)

---

<div class="post-metadata">

**Author:** ![nithya4](https://avatars.discourse-cdn.com/v4/letter/n/ce7236/32.png) [@nithya4](https://community.grafana.com/u/nithya4)\
**Post date:** [December 2, 2023, 4:48pm UTC](https://community.grafana.com/t/queries-are-not-working/108730/8 "2023-12-02T16:48:05Z")

</div>

Hi,

Could someone kindly assist in looking into this matter?

---

<div class="post-metadata">

**Author:** ![jasonmallory](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/jasonmallory/32/36686_2.png) [@jasonmallory](https://community.grafana.com/u/jasonmallory)\
**Post date:** [December 25, 2023, 9:45pm UTC](https://community.grafana.com/t/queries-are-not-working/108730/9 "2023-12-25T21:45:32Z")

</div>

Okay try running the query in Explore
