From a0f212d441026dbba850ed3d0a5e15a2b1b48bdb Mon Sep 17 00:00:00 2001 From: Dario Gieselaar Date: Tue, 25 Feb 2020 21:30:08 +0100 Subject: [PATCH] =?UTF-8?q?[7.6]=20[APM]=20Add=20`xpack.apm.enabled`=20key?= =?UTF-8?q?=20to=20config=20schema=20(#575=E2=80=A6=20(#57680)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #57418. Co-authored-by: Elastic Machine --- x-pack/plugins/apm/server/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/x-pack/plugins/apm/server/index.ts b/x-pack/plugins/apm/server/index.ts index e301d157d2c7c..a42ffbfefc0df 100644 --- a/x-pack/plugins/apm/server/index.ts +++ b/x-pack/plugins/apm/server/index.ts @@ -15,6 +15,7 @@ export const config = { ui: true, }, schema: schema.object({ + enabled: schema.boolean({ defaultValue: true }), serviceMapEnabled: schema.boolean({ defaultValue: false }), serviceMapInitialTimeRange: schema.number({ defaultValue: 60 * 1000 * 60 }), // last 1 hour autocreateApmIndexPattern: schema.boolean({ defaultValue: true }),