Where to find template used when sending alter for webhook?

  • What Grafana version and what operating system are you using?
    9.2.20

  • What are you trying to achieve?
    Create a new template to use for webhook alerts.

  • How are you trying to achieve it?
    In creating a new contact point add the go template file.

  • What happened?
    Looking for default template grafana uses when sending a webhook alert.

  • What did you expect to happen?
    Ideally locate the file in github that I can use as a base of customization.

  • Can you copy/paste the configuration(s) that you are having problems with?
    N/A

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    N/A

  • Did you follow any online instructions? If so, what is the URL?
    Tried to follow this doc, but it appears the webhook is different from the templates shown.
    Create notification templates | Grafana documentation

Found the answer – in case anyone else is looking:

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