Commit 329ee8d9 by Torkel Ödegaard

fix(prometheus): added template variable escape format to prometheus annotations…

fix(prometheus): added template variable escape format to prometheus annotations queries, fixes #4656
parent f70e0003
......@@ -157,7 +157,7 @@ export function PrometheusDatasource(instanceSettings, $q, backendSrv, templateS
var interpolated;
try {
interpolated = templateSrv.replace(expr);
interpolated = templateSrv.replace(expr, {}, interpolateQueryExpr);
} catch (err) {
return $q.reject(err);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment