Update notification_examples.md (#3707)

Signed-off-by: Lucas Burigo <burigolucas@users.noreply.github.com>
This commit is contained in:
Lucas Burigo 2024-02-13 13:40:46 +01:00 committed by GitHub
parent 44d5f70c3b
commit 2fd1b52c98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ Receiver
## Defining reusable templates
Going back to our first example, we can also provide a file containing named templates which are then loaded by Alertmanager in order to avoid complex templates that span many lines.
Create a file under `/alertmanager/template/myorg.tmpl` and create a template in it named "slack.myorg.txt":
Create a file under `/alertmanager/template/myorg.tmpl` and create a template in it named "slack.myorg.text":
```
{{ define "slack.myorg.text" }}https://internal.myorg.net/wiki/alerts/{{ .GroupLabels.app }}/{{ .GroupLabels.alertname }}{{ end}}