9/24/2023 0 Comments Default notice template![]() ![]() You can then embed custom templates within this fragment using the template keyword. You can embed templates within other templates.įor example, you can define a template fragment using the define keyword: resolved. The following example shows the use of a custom template within one of the contact point fields. The message body lists the alerts and their status. The message title contains a count of alerts that are firing or were resolved. The following example shows how to use default templates to render an alert message in Slack. Since most of the contact point fields can be templated, you can create reusable custom templates and use them in multiple contact points. The default template default_template.go is a useful reference for custom templates. Grafana’s default templates are based on the Go templating system where some fields are evaluated as text, while others are evaluated as HTML (which can affect escaping). ![]() ![]() Notifications sent via contact points are built using notification templates. Grafana Cloud Enterprise Open source Notification templating ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |