mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(tablepanel): completed work on time series aggregations table transform, #3219
This commit is contained in:
parent
f0087c93b8
commit
aad824a562
@ -143,6 +143,7 @@ class TimeSeries {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.stats.count = result.length;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,6 +78,9 @@ transformers['timeseries_aggregations'] = {
|
|||||||
{text: 'Avg', value: 'avg'},
|
{text: 'Avg', value: 'avg'},
|
||||||
{text: 'Min', value: 'min'},
|
{text: 'Min', value: 'min'},
|
||||||
{text: 'Max', value: 'max'},
|
{text: 'Max', value: 'max'},
|
||||||
|
{text: 'Total', value: 'total'},
|
||||||
|
{text: 'Current', value: 'current'},
|
||||||
|
{text: 'Count', value: 'count'},
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
transform: function(data, panel, model) {
|
transform: function(data, panel, model) {
|
||||||
|
Loading…
Reference in New Issue
Block a user