Skip to content

Commit

Permalink
Set size of terms agg on error rate aggregation
Browse files Browse the repository at this point in the history
  • Loading branch information
dgieselaar committed Jul 2, 2020
1 parent 1c1d526 commit a645758
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,14 @@ export const getErrorRates = async ({
],
},
},
aggs: {
services: {
terms: {
...projection.body.aggs.services.terms,
size: MAX_NUMBER_OF_SERVICES,
},
},
},
},
})
);
Expand Down

0 comments on commit a645758

Please sign in to comment.