mirror of
https://github.com/grafana/grafana.git
synced 2025-02-14 01:23:32 -06:00
Fix missing downsampling name in kairos plugin
This commit is contained in:
parent
f11785001c
commit
a94720878b
@ -284,6 +284,10 @@ function (angular, _, dateMath, kbn) {
|
||||
query.aggregators = [];
|
||||
|
||||
if (target.downsampling !== '(NONE)') {
|
||||
if (target.downsampling === undefined) {
|
||||
target.downsampling = 'avg';
|
||||
target.sampling = '10s';
|
||||
}
|
||||
query.aggregators.push({
|
||||
name: target.downsampling,
|
||||
align_sampling: true,
|
||||
|
Loading…
Reference in New Issue
Block a user