Using kapacitor vars within AlertNode message property


Just curious whether it’s possible to interpolate the vars set within the tickscript, within an AlertNode's message field?

For example, I have a var timeWindow that I would like to include in my message (Eg. The total error rate for the last {{ index .vars "timeWindow" }} minutes is: {{ index .Fields "error_rate" }}).


And I’m not sure if it’s possible at the minute, but the ability to convert my metrics int within my message would be nice. I’m even considering adding in a URL to my alerts that goes straight to a dashboard but it could be a bit clumsy without var support.