No data on grafana query but do exist on prometheus

Hello grafana community,

  • What Grafana version and what operating system are you using?


  • What are you trying to achieve?

I want to display a time series based on a prometheus (promql) query.

Expr : sum by (path) (increase(http_client_responseTime_seconds_sum{path=~"/.*", path!="/_bulk",path!="/_node/metrics/prometheus",job="gravitee-gateway-préprod"}[1m])) != 0

  • How are you trying to achieve it?

Pasting the query into the query tab on a time series visualization

  • What happened?

No data is shown and the query inspector return 0 rows.

  • What did you expect to happen?

Showing the visualization of this query.

Prometheus return the correct result :

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

No error log on the grafana ui nor the browser console.
No particular error log on the prometheus nor grafana docker container.

  • Did you follow any online instructions? If so, what is the URL?

No particular online instructions.


I alreeady tried to delete the actual visualization and create a new one without success…
Time range on dashboard : last 6 hours.
Scraping inteval : 35 seconds
When changing Time range to Last 12 hours (or more), it does display graph !

Thank you for any help you could provide !