Hi Sadhana, You can use group_by feature in the Alertmanager's config file or you can drop the unwanted labels in the alert rule itself.
On Tue, 13 Jul, 2021, 8:38 pm sadhana B, <[email protected]> wrote: > HI, > > Any solution for this? > > On Tue, Dec 22, 2020 at 3:38 AM [email protected] < > [email protected]> wrote: > >> Hi. I am using Alertmanager v 0.21.0. I want to define a custom email >> template where in the subject of the email I don't get all the labels, but >> instead only want to print the alert name and the instance. Is it possible? >> I went through a bunch of documents but couldn't narrow down the labels in >> the subject. >> >> Thanks in advance! >> >> -- >> 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/bba00a74-cf39-451a-8c19-81365ec97fd4n%40googlegroups.com >> <https://groups.google.com/d/msgid/prometheus-users/bba00a74-cf39-451a-8c19-81365ec97fd4n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Thanks, > > -- 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/CAFGi5vBmhvRpR6LZ3kciBCC9xaarM-y2-W_-5d_6-xOK3aEMXA%40mail.gmail.com.

