On 4/4/20 6:42 PM, Sagar wrote: > relabel_configs: > - action: drop > source_labels: [replica] > regex: (.*) [...] > > For other server, replica is secondary > I want to drop only label in alert manager , but it drops entire alert > in alert_manager.
Ah, now I see the problem. You are using action: drop -- this means exactly that: dropping the whole alert. You want to use action: labeldrop instead. Kind regards, Christian -- 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/e180cb19-ba76-6b3a-1098-60f33a2d2cca%40hoffmann-christian.info.

