Skip to content

Commit

Permalink
removed incorrect size param on the composite terms sub-agg
Browse files Browse the repository at this point in the history
  • Loading branch information
ogupte committed Nov 5, 2020
1 parent 14fa497 commit 02c63f7
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ export async function getTraceSampleIds({
? config['xpack.apm.serviceMapTraceIdBucketSize']
: config['xpack.apm.serviceMapTraceIdGlobalBucketSize'];

const maxServiceEnvironments = config['xpack.apm.maxServiceEnvironments'];

const samplerShardSize = traceIdBucketSize * 10;

const params = {
Expand Down Expand Up @@ -94,7 +92,6 @@ export async function getTraceSampleIds({
terms: {
field: SERVICE_ENVIRONMENT,
missing_bucket: true,
size: maxServiceEnvironments,
},
},
},
Expand Down

0 comments on commit 02c63f7

Please sign in to comment.