- What Grafana version and what operating system are you using?
Grafana 11.0
- What are you trying to achieve?
I’m using the Slack Contact Point to send out Alerts and would like to make some minor edits to the default Notification Template but otherwise keep it as is.
The default template is defined as
{{ template "slack.default.text" . }}
What i would like to do is copy the content of the slack.default.text template and adapt it to my needs. What I can’t figure out is where the source code for the slack.default.text template is located. Can somebody give me some pointers?
P.S.: I am aware that there is both extensive documentation on how to create new Notification templates as well as examples of templates other people have built from scratch. I’m not looking for that. Instead I’m trying to understand how exactly the default template is defined.