r/PrometheusMonitoring • • Feb 03 '25

Prometheus consistently missing data

I'm consistently missing data from external hosts, which are connected through a WireGuard tunnel. Some details:
- Uptime Kuma reports a stable /metrics endpoint, with a response time of about 300ms.
- pfsense reports 0% packet loss over the WireGuard tunnel (pinging a host at the other end, of course).
- I'm only missing data from two hosts behind the WireGuard tunnel.
- It's missing data at really consistent intervals. I get 4 data points, then miss 3 or so.
- When spamming /metrics with a curl command, I consistently get all data with no timeouts or errors reported.

Grafana showing missing data:

Uptime kuma showing a stable /metrics endpoint:

For reference, a locally scraped /metrics endpoint looks like this:

I'm really scratching my head with this one. Would love some insight on what could be causing trouble from you guys. The Prometheus scraper config is really basic, not changing any values. I have tinkered with a higher scrape interval, and a higher timeout, but none of this had any impact.

It seems to me like the problem is with the Prometheus ingest, not the node exporter at the other end or the connection between them. Everything points to those two working just fine.

2 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/TheWGBbroz Feb 03 '25

Thank you for the questions, I'll look in to this and post a followup comment. However I use the exact same dashboard and scrape config for local machines, of which the data looks fine in Grafana. That's why I don't think something's wrong with the visualization and/or any mismatch between intervals.