From dd3cb6ce4e8b5319d33113c46c214d16198fd399 Mon Sep 17 00:00:00 2001 From: Tomasz Kajtoch Date: Tue, 12 Nov 2024 23:38:14 +0100 Subject: [PATCH] add `theme:name` to stack telemetry collectors --- .../server/collectors/management/schema.ts | 4 ++++ .../server/collectors/management/types.ts | 1 + src/plugins/telemetry/schema/oss_plugins.json | 6 ++++++ 3 files changed, 11 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 e3374219b6553..c4202cf6f92e2 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts @@ -272,6 +272,10 @@ export const stackManagementSchema: MakeSchemaFrom = { type: 'boolean', _meta: { description: 'Non-default value of setting.' }, }, + 'theme:name': { + type: 'keyword', + _meta: { description: 'Non-default value of setting.' }, + }, 'state:storeInSessionStorage': { 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 b49647c3d4791..e4b10f038a75a 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/management/types.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/management/types.ts @@ -108,6 +108,7 @@ export interface UsageStats { 'timepicker:quickRanges': string; 'theme:version': string; 'theme:darkMode': boolean; + 'theme:name': string; 'state:storeInSessionStorage': boolean; 'savedObjects:perPage': number; 'search:queryLanguage': string; diff --git a/src/plugins/telemetry/schema/oss_plugins.json b/src/plugins/telemetry/schema/oss_plugins.json index 6a43177492548..78f8b4f2f7b38 100644 --- a/src/plugins/telemetry/schema/oss_plugins.json +++ b/src/plugins/telemetry/schema/oss_plugins.json @@ -10272,6 +10272,12 @@ "description": "Non-default value of setting." } }, + "theme:name": { + "type": "keyword", + "_meta": { + "description": "Non-default value of setting." + } + }, "state:storeInSessionStorage": { "type": "boolean", "_meta": {