Hi everybody,
I want to tag people, when I send alert to Msteam. I cannot find any document of grafana for this.
Please help me!
Thanks.
Hi everybody,
I want to tag people, when I send alert to Msteam. I cannot find any document of grafana for this.
Please help me!
Thanks.
Hi, @tieungao88
I managed to mention people by using the following within a template:
Here is a short version of my template, in case it helps:
{{ define “RMQ.Queue.Message” }}
{{ if .Alerts.Firing -}}
Alerting Queue Details:
{{- range .Alerts.Firing }}Queue Name: {{ .Labels.queue}}
Check this out: someone@example.com{{ if .SilenceURL }}
[Silence here]({{ .SilenceURL }})
{{ end }}
{{ if .DashboardURL -}}
Go to dashboard: {{ .DashboardURL }}
{{ end }}
{{ end }}
{{- end }}
I think you need to find MS Team doc/example first, e.g. Sending message with atmention onto a channel using GraphAPI .. and replying it – Vesa Nopanen – My Metaverse Day
So then you need to find if you can get all user details and if you can add it to custom Grafana MS Team notification template.
Didn’t realize the markdown would make the email clickable.
I was using:
< a t> “name-goes-here”@“somedomain” </ a t> (without spaces and quotes)