Skip to content

Commit 8789be7

Browse files
committed
Merge branch 'master' of github.com:grafana/grafana
2 parents fe46410 + df4d5ea commit 8789be7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

public/app/plugins/datasource/kairosdb/datasource.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,10 @@ function (angular, _, dateMath, kbn) {
284284
query.aggregators = [];
285285

286286
if (target.downsampling !== '(NONE)') {
287+
if (target.downsampling === undefined) {
288+
target.downsampling = 'avg';
289+
target.sampling = '10s';
290+
}
287291
query.aggregators.push({
288292
name: target.downsampling,
289293
align_sampling: true,

0 commit comments

Comments
 (0)