Last active
February 11, 2026 13:08
-
-
Save muhamad-ridwant-tech/e26445e5ff29fda3d4a2f25d3035317d to your computer and use it in GitHub Desktop.
Notification Templates - Grafana
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {{ define "Notificationg" }} | |
| {{ if gt (len .Alerts.Firing) 0 }} | |
| Alerts : {{ len .Alerts.Firing }} π | |
| {{ range .Alerts.Firing }} {{ if gt (len .Annotations) 0 }} | |
| β οΈ {{ .Annotations.summary }} | |
| {{ .Annotations.description }} | |
| Timestamp: | |
| {{ .StartsAt | tz "Asia/Jakarta" }} | |
| Best Regards | |
| Bot Alert & Monitoring | Rdw π€ | |
| {{ range .Labels.SortedPairs }} | |
| {{ end }} | |
| {{ end }} | |
| {{ end }} | |
| {{ end }} | |
| {{ if gt (len .Alerts.Resolved) 0 }} | |
| RESOLVED: {{ len .Alerts.Resolved }} β | |
| {{ range .Alerts.Resolved }} {{ if gt (len .Annotations) 0 }} | |
| Description : | |
| {{ .Annotations.summary }} | |
| Telah Kembali Normal β | |
| Timestamp: | |
| {{ .EndsAt | tz "Asia/Jakarta" }} | |
| Best Regards | |
| Bot Alert & Monitoring | Rdw π€ | |
| {{ range .Labels.SortedPairs }} | |
| {{ end }} | |
| {{ end }} | |
| {{ end }} | |
| {{ end }} | |
| {{ end }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment