No data in Prometheus UI console, even though targets are UP

390 views
Skip to first unread message

Tamar

unread,
Dec 27, 2021, 3:30:20 AM12/27/21
to Prometheus Users
Hi,

My Prmethus UI shows that all targets are UP

promUI.png

Despite this, when I try to click on a ip:port/metrics, I recieve a window saying:
"This site can’t be reached...

1.6.1.10 took too long to respond."

In addition, when I try to use the "Graph" from the menu, and then the "console" tab - I can see metrics showing up in the drop down list:

prom_ui_console.png

but when I hit the "execute" button, it shows no data:

prom_no_data.png

The Graph tab however seems to show the values:

prom_ui_grapgh1.png

How can I troubleshoot this ?


Thanks,

Tamar

Ben Kochie

unread,
Dec 27, 2021, 3:48:41 AM12/27/21
to Tamar, Prometheus Users
This is likely a time sync problem between your client browser and your server. What version of Prometheus are you running?

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/6e6c9f77-77e5-4b8a-8fa0-77742b708361n%40googlegroups.com.

Tamar

unread,
Dec 28, 2021, 3:18:43 AM12/28/21
to Prometheus Users
Hi,

These are the version details:
Build Information
Version        2.22.0
Revision        0a7fdd3b76960808c3a91d92267c3d815c1bc354
Branch        HEAD
BuildUser        root@6321101b2c50
BuildDate        20201015-12:29:59
GoVersion        go1.15.3

Thanks!
Tamar

ב-יום שני, 27 בדצמבר 2021 בשעה 10:48:41 UTC+2, sup...@gmail.com כתב/ה:

Ben Kochie

unread,
Dec 28, 2021, 4:15:15 AM12/28/21
to Tamar, Prometheus Users
That should be fine. Are you using the pushgateway or similar?

You cut off the screenshot, so I can't tell if your lines are ending before "now".

Like I said in the first response, you likely have time drift between components. Please check your NTP settings.

Tamar

unread,
Dec 28, 2021, 5:40:14 AM12/28/21
to Prometheus Users
Hi,

NTP settings were indeed off, showing the wrong time compared to browser (PC).

Changing it solved it.

Thanks!
Tamar

ב-יום שלישי, 28 בדצמבר 2021 בשעה 11:15:15 UTC+2, sup...@gmail.com כתב/ה:
Reply all
Reply to author
Forward
0 new messages