mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
refactor es pipeline aggregation variables to match ES
This commit is contained in:
@@ -171,8 +171,8 @@ function () {
|
||||
var metricAgg = null;
|
||||
|
||||
if (metric.type === 'moving_avg') {
|
||||
if (metric.mavgSource && /^\d*$/.test(metric.mavgSource)) {
|
||||
metricAgg = { buckets_path: metric.mavgSource };
|
||||
if (metric.pipelineAgg && /^\d*$/.test(metric.pipelineAgg)) {
|
||||
metricAgg = { buckets_path: metric.pipelineAgg };
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user