Search code examples
grafanamicrosoft-teamsgrafana-alertsgrafana-templating

Default Grafana Alerting templates


I'm looking for the default templates that Grafana uses to send alert notifications... I'd like to make some changes but I couldn't find these templates anywhere to base myself on...

Does anyone know where the default grafana templates are? I will use Telegram, Microsoft Teams and Email.

Default notifications template for Grafana


Solution

  • It can be found in file alerting/templates/default_template.go within source code of Grafana. You can view it on GitHub here.

    Also link to it can be found on the page about Notification templating of official Grafana documentation, together with information on template usage and modification. Be sure to read it, before attempting modification.