Alert variables removed in alerts

Hi all,

I’m using Grafana v10.2.3 and I’m getting stuck using the alerting templates. Trying to form a custom message, and the preview looks good, but all of the variables I put in break once I test the alert.

So in this test message, I just print some basic info, and in the Preview it looks as I expect it to: Good stuff!


However, when I try to send this message to a discord webhook, the message cuts off after the first {{ }} variable. You can see it sends the plain-text then just doesn’t try to fill in the rest of the message


image

Nothing I do seems to make any difference, I cannot add any info from variables.

Anyone know what the problem might be?

Thanks!

Try to test it with real alert, not with “Test contact point”.

The output is the same with a real alert:

It had a legit alert 15 hours ago:
image

Which lines up to this alert in discord