From a768b3b6aff7873b6012714a0677dc9a894e5f5f Mon Sep 17 00:00:00 2001 From: Poff Poffenberger Date: Wed, 14 Apr 2021 12:17:36 -0500 Subject: [PATCH] Add data service to usage collector types --- .../server/collectors/management/schema.ts | 4 ++++ .../server/collectors/management/types.ts | 1 + 2 files changed, 5 insertions(+) diff --git a/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts b/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts index fcdd00380755f..b5e77045df611 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts @@ -436,4 +436,8 @@ export const stackManagementSchema: MakeSchemaFrom = { type: 'boolean', _meta: { description: 'Non-default value of setting.' }, }, + 'labs:canvas:useDataService': { + type: 'boolean', + _meta: { description: 'Non-default value of setting.' }, + }, }; diff --git a/src/plugins/kibana_usage_collection/server/collectors/management/types.ts b/src/plugins/kibana_usage_collection/server/collectors/management/types.ts index 613ada418c6e7..e5c71d81204af 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/management/types.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/management/types.ts @@ -119,4 +119,5 @@ export interface UsageStats { 'banners:textColor': string; 'banners:backgroundColor': string; 'labs:presentation:unifiedToolbar': boolean; + 'labs:canvas:useDataService': boolean; }