mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 20:24:18 -06:00
improves timeseries naming for moving average series
This commit is contained in:
parent
0b285845d1
commit
0644bfe27c
@ -197,7 +197,10 @@ function (_, queryDef) {
|
||||
});
|
||||
}
|
||||
|
||||
if (series.field) {
|
||||
if (series.field && series.metric === 'moving_avg') {
|
||||
var appliedAgg = _.findWhere(target.metrics, { id: series.field });
|
||||
metricName += ' ' + queryDef.describeMetric(appliedAgg);
|
||||
} else if (series.field) {
|
||||
metricName += ' ' + series.field;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user