How to use variables in Grafana-Alert-Message? especially for the value of "threshold"

Viewed 964

is here any body knows how to use system variables in Grafana-Alert-Message? especially for the value of "threshold"

As we know, we can configure the alert triggers on "grafana panel", according to the predefined values of last() or avg() etc/, but how can we pass those variables in "Alert Notification Message"? like the parameters used below:

Metrics Name is: ${__name__}
AlertName is: ${alertname}
Instance is: ${instance}
Job is: ${job}
HostName is: ${hostname}
Handler is: ${handler}

i am wondering if i could put some descriptions in the notification like: The value of ${var_1} exceeded the threshold of ${var_threshold}.

Thanks in advance.

0 Answers
Related