Thank you so much for the pointer Christian.
It resolved the issue.

Thanks
Sunil Sagar

On Sun, Apr 5, 2020 at 12:58 AM Christian Hoffmann <
m...@hoffmann-christian.info> wrote:

> 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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CANegE52RWJ2mCtO7NSQpYu5dHzhGY9DzVmczYHrsjRYVhFcy9g%40mail.gmail.com.

Reply via email to