Grafana not showing datapoints

1,825 views
Skip to first unread message

pnich...@gmail.com

unread,
Jul 27, 2017, 5:06:15 PM7/27/17
to Prometheus Users

I have a query that runs fine in Prometheus:






but is showing up with no datapoints in Grafana.  I have no idea what to try and haven't found anything relevant in the documentation.  


Any assistance would be greatly appreciated.  Chrome's network tab shows all 200 responses.  I'm not sure what else to try.  The time scale seems weird to me but I can't seem to change it.




jain....@gmail.com

unread,
Jul 28, 2017, 12:13:36 PM7/28/17
to Prometheus Users, pnich...@gmail.com
I have exactly the same issue as well. I tried importing the default prometheus dashboard and have the same outcome... No data in grafana but requests are 200 in network tab.

Matthias Rampke

unread,
Jul 29, 2017, 7:44:19 AM7/29/17
to jain....@gmail.com, Prometheus Users, pnich...@gmail.com

One thing I noticed: your dashboard range is very short, do you get something when you zoom out?

Are there any JavaScript errors in the console? Which Grafana version? Did you change any display options? Does this happen on a new dashboard as well?

/MR


--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/be355cf6-3a26-48e7-b13b-09a1acc650c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tobias Schmidt

unread,
Jul 29, 2017, 7:46:49 AM7/29/17
to Matthias Rampke, jain....@gmail.com, Prometheus Users, pnich...@gmail.com
Check your local clock and consider installing a NTP daemon. Grafana uses the time of your browser to make requests, which might be ahead/behind of the Prometheus server.

jain....@gmail.com

unread,
Aug 1, 2017, 11:00:12 AM8/1/17
to Prometheus Users, m...@soundcloud.com, jain....@gmail.com, pnich...@gmail.com
zooming out should be able to solve for that as I can look at past 7 days and some data show flow in right?

I still dont see anything @Tobias

Paul Nicholsen

unread,
Aug 1, 2017, 11:30:41 AM8/1/17
to Prometheus Users
I've zoomed out so the range is at the scale of months, and still no datapoints.

You received this message because you are subscribed to a topic in the Google Groups "Prometheus Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/prometheus-users/29fv9evProU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/5d91d12b-b5cc-4cfd-be6e-d7e12110f82e%40googlegroups.com.

elut...@gmail.com

unread,
Aug 1, 2017, 1:25:30 PM8/1/17
to Prometheus Users, pnich...@gmail.com
Since prometheus is working, it seems like the issue is with connecting the 2 together. When you added the prometheus datasource to grafana, can you copy that datasource url to a browser, add /metrics all see all the scraped data? If you can't then double check your url to make sure it is correct. Also make sure you don't have a url ending in / when importing your prometheus data into grafana. 

jain....@gmail.com

unread,
Aug 1, 2017, 2:33:22 PM8/1/17
to Prometheus Users, pnich...@gmail.com

Nicholas Capo

unread,
Aug 1, 2017, 3:43:03 PM8/1/17
to jain....@gmail.com, Prometheus Users, pnich...@gmail.com

That link probably shouldn't be open to the public.

Nicholas


--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages