Customize notifications
This documentation topic is designed for Grafana workspaces that support Grafana version 10.x.
For Grafana workspaces that support Grafana version 9.x, see Working in Grafana version 9.
For Grafana workspaces that support Grafana version 8.x, see Working in Grafana version 8.
Customize your notifications with notifications templates.
You can use notification templates to change the title, message, and format of the message in your notifications.
Notification templates are not tied to specific contact point integrations, such as Amazon SNS or Slack. However, you can choose to create separate notification templates for different contact point integrations.
You can use notification templates to:
-
Add, remove, or re-order information in the notification including the summary, description, labels and annotations, values, and links
-
Format text in bold and italic, and add or remove line breaks
You cannot use notification templates to:
-
Change the design of notifications in instant messaging services such as Slack and Microsoft Teams
Topics
Using notification templates
Use templates in contact points to customize your notifications.
To use a template when creating a contact point
-
From the Alerting menu, choose the Contact points tab to see a list of existing contact points.
-
Choose New. Alternately, you can edit an existing contact point by choosing the Edit icon.
-
Enter the templates you wish to use in a field, such as Message or Subject. To enter a template, use the form
{{ template "
, replacingtemplate_name
" . }}template_name
with the name of the template you want to use. -
Choose Save contact point.