Hello,
I would like to customize my alertmanager deployment, and so far everything works great, notifications are sent correctly via AlertManager to my slack channel, but i've found that there are some cool things which may be customized like image on the left side of the alert, username etc. I've added icon_url & username parameters but they seems to not working. Custom icon is not showing at all and also username doesn't change - here's output from my values, as this is templated by Helm chart.
Prometheus version 2.2.2
Alertmanager version 0.15.1
- name: 'myname'
slack_configs:
- channel: '#alerts'
username: 'Alerting System'
icon_url: 'https://i.imgur.com/BeNCJG5.png'
title: '[{{ .Status | toUpper }}{{ if eq .Status "firing" }}:{{ .Alerts.Firing | len }}{{ end }}] Prometheus Event Notification'
text: >-
{{ range .Alerts }}
*Alert:* {{ .Annotations.summary }} - `{{ .Labels.severity }}`
*Description:* {{ .Annotations.description }}
*Graph:* <{{ .GeneratorURL }}|:chart_with_upwards_trend:> *Runbook:* <{{ .Annotations.runbook }}|:spiral_note_pad:>
*Details:*
{{ range .Labels.SortedPairs }} • *{{ .Name }}:* `{{ .Value }}`
{{ end }}
{{ end }}
send_resolved: true
Any ideas how to solve or what i'm missing here ?
Regards.
--
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/6f84acbe-7376-4f3b-bbb2-11e8a7620a1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.