Look at the metric "probe_ip_addr_hash".  It's a numeric hash of the target 
IP and if it changes, you're connecting to a different IP address.

On Thursday, 14 October 2021 at 09:44:01 UTC+1 username wrote:

> Hi, 
>
> I am looking to monitor and alert on DNS failover. I basically have two 
> static IP load balancers that the requests go to when hitting an 
> www.my-endpoint.com endpoint (active-passive set up). Can I trace which 
> IP the request went to? I want to be able to tell if the passive IP was 
> activated to alert on DNS failover with blackbox exporter. Would the IP for 
> the endpoint be stored as label?
>
> If not, does anyone have any idea how to monitor the failover differently?
>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/2cfdffa0-de40-4ed9-94cc-d94a545efff6n%40googlegroups.com.

Reply via email to