From ea64e03cdf29f97eb25921a7a17177725fa0ae82 Mon Sep 17 00:00:00 2001 From: Timothy Sullivan Date: Mon, 13 Sep 2021 16:13:23 -0700 Subject: [PATCH] [Reporting] Add config settings to telemetry for usage analysis --- x-pack/plugins/reporting/server/config/index.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/x-pack/plugins/reporting/server/config/index.ts b/x-pack/plugins/reporting/server/config/index.ts index d0c743f859b3c..119f49df014e2 100644 --- a/x-pack/plugins/reporting/server/config/index.ts +++ b/x-pack/plugins/reporting/server/config/index.ts @@ -54,4 +54,16 @@ export const config: PluginConfigDescriptor = { } }, ], + exposeToUsage: { + capture: { + maxAttempts: true, + timeouts: { openUrl: true, renderComplete: true, waitForElements: true }, + networkPolicy: false, // show as [redacted] + zoom: true, + }, + csv: { maxSizeBytes: true, scroll: { size: true, duration: true } }, + kibanaServer: false, // show as [redacted] + queue: { indexInterval: true, pollEnabled: true, timeout: true }, + roles: { enabled: true }, + }, };