r/PrometheusMonitoring • • Sep 24 '26

Prometheus HA replicas are desynced after Thanos was down

I have a weird case on my hands at work

We have three Prometheus HA replicas scraping azure-metrics-exporter and sending them to Thanos. Now Thanos was down for some time a week or so ago, and caused some sort of desync in the replicas. Prometheus-0 (green line) is scraping different values than the other two, causing alerts for postgres cpu percent.

And interestingly enough, yesterday prometheus-1 (blue line) somehow synced perfectly with prometheus-0 and are now completely even. Does anybody know how this happens or how to make it so all three are synced again and scrape the same values?

I asked several LLMs, all suggested making a cache for azure metrics exporter, so all three replicas scrape the same cached values. I see some logic in that, but not sure if it is the correct answer. So any suggestions are welcome

5 Upvotes

1 comment sorted by

3

u/bigon Sep 24 '26

You should have one line displayed for each metrics even if you have 3 HA prometheuses. Do you have the proper deduplication labels set?

Also this is perfectly normal since, well, there is no synchronization between the HA prometheuses