Commit 8789be76 by Torkel Ödegaard

Merge branch 'master' of github.com:grafana/grafana

parents fe46410c df4d5ea8
...@@ -284,6 +284,10 @@ function (angular, _, dateMath, kbn) { ...@@ -284,6 +284,10 @@ function (angular, _, dateMath, kbn) {
query.aggregators = []; query.aggregators = [];
if (target.downsampling !== '(NONE)') { if (target.downsampling !== '(NONE)') {
if (target.downsampling === undefined) {
target.downsampling = 'avg';
target.sampling = '10s';
}
query.aggregators.push({ query.aggregators.push({
name: target.downsampling, name: target.downsampling,
align_sampling: true, align_sampling: true,
......
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