Commit 5a46c239 by Torkel Ödegaard

OpenTSDB: Downsample query field now supports interval template variable, Closes #1242

parent f79588c1
......@@ -2,6 +2,7 @@
**Enhancements**
- [Issue #1028](https://github.com/grafana/grafana/issues/1028). Graph: New legend option ``hideEmtpy`` to hide series with only null values from legend
- [Issue #1242](https://github.com/grafana/grafana/issues/1242). OpenTSDB: Downsample query field now supports interval template variable
**Fixes**
- [Issue #1199](https://github.com/grafana/grafana/issues/1199). Graph: fix for series tooltip when one series is hidden/disabled
......
......@@ -148,7 +148,7 @@ function (angular, _, kbn) {
}
if (target.shouldDownsample) {
query.downsample = target.downsampleInterval + "-" + target.downsampleAggregator;
query.downsample = templateSrv.replace(target.downsampleInterval) + "-" + target.downsampleAggregator;
}
query.tags = angular.copy(target.tags);
......
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