https://github.com/ttys3/grafana-alert-template-validator
grafana-alert-template-validator
https://github.com/ttys3/grafana-alert-template-validator
Last synced: over 1 year ago
JSON representation
grafana-alert-template-validator
- Host: GitHub
- URL: https://github.com/ttys3/grafana-alert-template-validator
- Owner: ttys3
- Created: 2022-01-06T01:00:24.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-26T19:18:41.000Z (over 2 years ago)
- Last Synced: 2025-02-10T08:32:35.009Z (over 1 year ago)
- Language: Go
- Size: 862 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# grafana-alert-template-validator
## faq
The `define` tag in the **Content** section assigns **the template name**.
This tag is **optional**, and when omitted, the template name is derived from the **Name** field.
When **both** are specified, it is a best practice to ensure that they are the same.
## Refs
ref https://grafana.com/docs/grafana/latest/alerting/unified-alerting/message-templating/
default template https://github.com/grafana/grafana/blob/main/pkg/services/ngalert/notifier/channels/default_template.go