Grafana 7.5.16 Alert notification template

We are using Grafana version 7.5.16. We have created a metrics using following Query
sum(artemis_message_count{ActiveMQArtemis=“xyz”,namespace=“abcd”,queue=“q1”}). Now in the alert notification message we want to refer the queue name when an alert is generated and a message is sent to any of the channels. Following is the message in the notifications section of Alert Tab : "Following queue contain unprocessed message which exceeds its configured threshold of 1,
${queue}"
When an alert is raised we want to send a message “Following queue contain unprocessed message which exceeds its configured threshold of 1”: q1 : value. But its not working as expected. It just sends a message Following queue contain unprocessed message which exceeds its configured threshold of 1": value. the queue name is missing.

We have followed the steps from the url Alert notification templating | Grafana documentation

Any help would be much appreciated.

Thanks

welcome to the :grafana: community @vidds!

You’re looking at the right docs for 7.5. Can you please follow these steps to share your raw unformatted data? It would be helpful for the community to see what the labels in your data look like.