Dear Brian, Thanks for your valuable advise. I have one doubt about the functionality of labeldrop. "replica" is my global label and requires to go with each and every metric ( Its a pre requisite for working of thanos) Now my question to you is :
When label drop is applied , will it stop ignoring the label as a whole (i.e. will not even store the label along with metrics in the external data storage) or will it only remove labels from the alerts ? If only alerts are effected, then is it a way to remove this label globally from all alerts ? Regards On Wed, Apr 29, 2020 at 1:35 PM Brian Candler <[email protected]> wrote: > I don't use alertmanager clustering myself, but if you search this group > for "alertmanager duplicates" or "alertmanager alert_relabel_configs" > you'll find the answer. Example: > https://groups.google.com/d/topic/prometheus-users/S9Xmg8209xE/discussion > > As I understand it, it's your responsibility to remove the "replica" label > using alert_relabel_configs, using "action: labeldrop". Otherwise, a > different label set makes these look like different alerts. > > You also need to make sure the alertmanagers themselves are properly > configured to gossip to each other, so they'll deduplicate alerts amongst > themselves. > > -- > 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/14201529-86e8-4ff1-903a-89d93fd2ffad%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/14201529-86e8-4ff1-903a-89d93fd2ffad%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAPz289se_JvLMKyAhgHSDNrM6N_PhO1B5bsCNtCUxoLMAdYK-Q%40mail.gmail.com.

