On Sun, 16 May 2021 at 15:39, [email protected] <[email protected]> wrote:

> Hi
> We have two Prometheus servers with the same configuration which are
> connected to two alertmanager instances.
>
> After setting up a Thanos instance, we added an external label to each
> Prometheus instance (replica:0 and replica:1) for the metric deduplication
> in the Thanos.
>
> But now we are receiving every alert twice, one with the label 'replica:0'
> from the first Prometheus and another one with the label 'replica:1' from
> the second Prometheus server
>
> Is there any way to fix this problem?
>

See how to use alert_relabel_configs here:
https://www.robustperception.io/high-availability-prometheus-alerting-and-notification


> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/46bb5c9a-66b4-46c0-a8a9-596d065b4274n%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/46bb5c9a-66b4-46c0-a8a9-596d065b4274n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Brian Brazil
www.robustperception.io

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAHJKeLqLgLpcSiTVjbosohirgPSccJ1hyB7e1YEaU_pS-BSGnw%40mail.gmail.com.

Reply via email to