diff --git a/packages/kbn-apm-config-loader/src/apm_config.ts b/packages/kbn-apm-config-loader/src/apm_config.ts index 0e7b1b9546288..2127d612d583b 100644 --- a/packages/kbn-apm-config-loader/src/apm_config.ts +++ b/packages/kbn-apm-config-loader/src/apm_config.ts @@ -8,14 +8,12 @@ import { schema } from '@kbn/config-schema'; -export const apmConfigSchema = schema.object({ - apm: schema.object( - { - active: schema.maybe(schema.boolean()), - serverUrl: schema.maybe(schema.uri()), - secretToken: schema.maybe(schema.string()), - globalLabels: schema.object({}, { unknowns: 'allow' }), - }, - { unknowns: 'allow' } - ), -}); +export const apmConfigSchema = schema.object( + { + active: schema.maybe(schema.boolean()), + serverUrl: schema.maybe(schema.uri()), + secretToken: schema.maybe(schema.string()), + globalLabels: schema.object({}, { unknowns: 'allow' }), + }, + { unknowns: 'allow' } +);