mirror of
https://github.com/grafana/grafana.git
synced 2025-02-11 08:05:43 -06:00
Merge branch 'master' of github.com:grafana/grafana
This commit is contained in:
commit
8789be7671
@ -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