Support OpenTSDB 2.2 fill policies, closes #3802

This commit is contained in:
Ivan Babrou
2016-01-21 16:38:39 +00:00
parent 28fabadeae
commit bbfdbaf952
3 changed files with 23 additions and 2 deletions

View File

@@ -272,6 +272,10 @@ function (angular, _, dateMath) {
}
query.downsample = interval + "-" + target.downsampleAggregator;
if (target.downsampleFillPolicy !== "none") {
query.downsample += "-" + target.downsampleFillPolicy;
}
}
query.tags = angular.copy(target.tags);