[Alertmanager] [Slack] How to add buttons to slack notification and mute alert with it?

1,481 views
Skip to first unread message

Kirek007

unread,
Jun 4, 2018, 10:41:55 AM6/4/18
to Prometheus Users
Hi, 
I would like to enrich my slack notification by adding some buttons. 
Is it possible to add button that will mute alert? or at least pre-fill form with data about current alert?

If you could provide me an example configuration for adding buttons to notification that will be half way for me. I was trying to add it but each time I end up with invalid configuration file 

Thanks,
Marek

Simon Pasquier

unread,
Jun 4, 2018, 10:57:02 AM6/4/18
to Kirek007, Prometheus Users
You can specify actions in the Slack configuration but it is only available on the master branch.


--
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+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/2e87ca91-73b3-4c2b-a7cb-79de43c000ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

kire...@gmail.com

unread,
Jun 5, 2018, 3:37:20 AM6/5/18
to Prometheus Users
I forgot to respond to everyone. 
So Simon Told me that I have to compile binary from master branch to have this functionality. (Or use docker image with master tag.

Thanks Simon :) 


W dniu poniedziałek, 4 czerwca 2018 16:57:02 UTC+2 użytkownik Simon Pasquier napisał:
You can specify actions in the Slack configuration but it is only available on the master branch.

On Mon, Jun 4, 2018 at 4:41 PM, Kirek007 <kire...@gmail.com> wrote:
Hi, 
I would like to enrich my slack notification by adding some buttons. 
Is it possible to add button that will mute alert? or at least pre-fill form with data about current alert?

If you could provide me an example configuration for adding buttons to notification that will be half way for me. I was trying to add it but each time I end up with invalid configuration file 

Thanks,
Marek

--
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-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages