How to use variables in Alert

Version : Grafana 7.4.0.1
Datasource : MYSQL

I am using Mysql as a data source, creating a dashboard panel.
When the threshold is exceeded, Kafka Proxy is used to generate Alert.

I want to include the time when the message exceeds the threshold.
I declared it as a variable using the Mysql Selete query, and designated it as a variable name and label

I entered in the form of ${label} in the messages, but the data received is not actual time data
${label} is marked as it is. How can I enter the time when the alert occurs in the messages

1 Like

Hi @jeonghc11,

Can you share a screenshot of your alert configuration?

This topic was automatically closed after 365 days. New replies are no longer allowed.