Value returns by grafana is not same as value given by prometheus

Hi Everyone,

I’m using Grafana version - Grafana v11.1.0 (5b85c4c2fc) with the datasource as Prometheus.

I trying to create a dashboard which shows the status of Minikube. When I run the graphQL, the value is returned as 0(Zero) in grafana and in promQL the value is returned as 1(One). Ideally as per my stats Grafana should be one(1).

Prometheus screenshot

Grafana screenshot

Any help would be highly appreciated.

Thanks

Are you sure that both are using the same time range and the same type (e. g. instant)? How result in Grafana query inspector lools like?

Thanks for your response, the issue was with the time range. Its fixed now. Thanks alot @jangaraj