[APM] Quick fix for ACM to ensure more than 10 items are displayed (#52262) (#52283)

This commit is contained in:
Søren Louv-Jansen 2019-12-05 16:20:55 +01:00 committed by GitHub
parent ebd4a51c11
commit 39d211be0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -44,6 +44,7 @@ Object {
exports[`agent configuration queries fetches configurations 1`] = `
Object {
"index": "myIndex",
"size": 200,
}
`;

View file

@ -15,7 +15,8 @@ export async function listConfigurations({ setup }: { setup: Setup }) {
const { internalClient, config } = setup;
const params = {
index: config.get<string>('apm_oss.apmAgentConfigurationIndex')
index: config.get<string>('apm_oss.apmAgentConfigurationIndex'),
size: 200
};
const resp = await internalClient.search<AgentConfiguration>(params);