[aggTypes/percentile] specify that we want array-based responses
This commit is contained in:
parent
7f089c4a5f
commit
fb361de791
|
@ -37,6 +37,11 @@ export default function AggTypeMetricPercentileRanksProvider(Private) {
|
|||
name: 'values',
|
||||
editor: valuesEditor,
|
||||
default: []
|
||||
},
|
||||
{
|
||||
write(agg, output) {
|
||||
output.params.keyed = false;
|
||||
}
|
||||
}
|
||||
],
|
||||
getResponseAggs: function (agg) {
|
||||
|
|
|
@ -35,6 +35,11 @@ export default function AggTypeMetricPercentilesProvider(Private) {
|
|||
name: 'percents',
|
||||
editor: percentsEditor,
|
||||
default: [1, 5, 25, 50, 75, 95, 99]
|
||||
},
|
||||
{
|
||||
write(agg, output) {
|
||||
output.params.keyed = false;
|
||||
}
|
||||
}
|
||||
],
|
||||
getResponseAggs: function (agg) {
|
||||
|
|
Loading…
Reference in a new issue