In Slack, if the message is too long, it will truncate the message. If Grafana sends a notification that is longer that the Grafana message character limit, the notification is truncated, which breaks the templating visualization. It will show as many alerts as possible. The unfortunate alert that is truncated will show partial formatting, and then raw text with formatting markup that was not parsed correctly because the ending markup was lost in the truncation.
Is there a way to limit how many characters are added to a notification?
If not, this could possibly be a bug, or a feature request.
One way to possibly hack the situation would be to create a counter loop in the template and only allow so many alerts to be printed by the template…
I could also try adding some extra groupings, which would only work if the alerts are similar, if I recall correctly…