(prometheus) fix prometheus link (#5074)

This commit is contained in:
Mitsuhiro Tanda
2016-05-18 14:49:32 +09:00
committed by Torkel Ödegaard
parent 8a9455d901
commit fc1891320e
2 changed files with 5 additions and 5 deletions

View File

@@ -61,7 +61,7 @@ class PrometheusQueryCtrl extends QueryCtrl {
var rangeDiff = Math.ceil((range.to.valueOf() - range.from.valueOf()) / 1000);
var endTime = range.to.utc().format('YYYY-MM-DD HH:mm');
var expr = {
expr: this.templateSrv.replace(this.target.expr, this.panelCtrl.panel.scopedVars),
expr: this.templateSrv.replace(this.target.expr, this.panelCtrl.panel.scopedVars, this.datasource.interpolateQueryExpr),
range_input: rangeDiff + 's',
end_input: endTime,
step_input: '',