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

This commit is contained in:
Torkel Ödegaard 2014-12-17 13:34:52 +01:00
parent f79588c191
commit 5a46c2397b
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
**Enhancements** **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 #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** **Fixes**
- [Issue #1199](https://github.com/grafana/grafana/issues/1199). Graph: fix for series tooltip when one series is hidden/disabled - [Issue #1199](https://github.com/grafana/grafana/issues/1199). Graph: fix for series tooltip when one series is hidden/disabled

View File

@ -148,7 +148,7 @@ function (angular, _, kbn) {
} }
if (target.shouldDownsample) { if (target.shouldDownsample) {
query.downsample = target.downsampleInterval + "-" + target.downsampleAggregator; query.downsample = templateSrv.replace(target.downsampleInterval) + "-" + target.downsampleAggregator;
} }
query.tags = angular.copy(target.tags); query.tags = angular.copy(target.tags);