Idiots guide to templating alerts for email or Teams? To be more readable


I’ve almost given up trying to understand how to get alerts readable in Grafana v9 (v8 was ok).

Could someone guide me through getting one alert readable then I think the rest will click in my head. It’s not something that is coming naturally to me.

Here is an example of an email alert I get, I’ve removed everything in it, but Grafana is looking for a Citrix Windows service running and if it stopped then email.

Here is what the email sends:

Value: [ var='L0' metric='Server: CitrixDC5 Service: CitrixBrokerService' labels={host=CitirxDC5, service_name=CitrixBrokerService} value=1 ]

I want the email or Teams alert to look like:


How do I do this please? I really need to go back to basics .