Skip to content

Commit

Permalink
[7.x] [APM] add service map config options to legacy plugin (#… (elas…
Browse files Browse the repository at this point in the history
  • Loading branch information
dgieselaar authored Mar 24, 2020
1 parent 7d32617 commit ff4ef4a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion x-pack/legacy/plugins/apm/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,12 @@ export const apm: LegacyPluginInitializer = kibana => {
autocreateApmIndexPattern: Joi.boolean().default(true),

// service map
serviceMapEnabled: Joi.boolean().default(true)
serviceMapEnabled: Joi.boolean().default(true),
serviceMapFingerprintBucketSize: Joi.number().default(100),
serviceMapTraceIdBucketSize: Joi.number().default(65),
serviceMapFingerprintGlobalBucketSize: Joi.number().default(1000),
serviceMapTraceIdGlobalBucketSize: Joi.number().default(6),
serviceMapMaxTracesPerRequest: Joi.number().default(50)
}).default();
},

Expand Down

0 comments on commit ff4ef4a

Please sign in to comment.