How To Use Alert Message Templates in Grafana

Hi, where can I see the error of the evaluation failure? I only get the raw value in the notification.

I have alert:


Alert have $lables:

In this, I have:
value={message="APP_OUTOF_DATE",abc="test"}
I need include value of message and abc in alert message:
Alert xxx have message: APP_OUTOF_DATE and note: test
I used:

{{ with $labels }} 
{{ range $k, $v := . }} 
   Alerting value: {{ $v.message }} 
{{ end }} 
{{ end }}

But It not showing value of message.
Can you helpme!.

Thanks

Hi, I’ve tried to follow the template that you have provided from forum thread, not sure were I did wrong but values doesn’t show up in the email alert, below are my scenarios and data. Looking for some help as this is my first time with Grafana.
.
This is what comes in the Email, I want to also show Graphical stats in the email, not sure if it is possible.

This is my templates:


I see values are coming in the log but it is not cmg up in the email.:

this is how preview alerts looks like:

Hi, does this work with grafana 10? I cant get it to work. I have access to the .ValuesString which is useless since it cant easily be parsed for different alerts and .Values only contains the values, without labels, making it even more useless. We have recently migrated from legacy alerting, and not having the legend makes it confusing to read the alerts.