From b553cab48a9e59e43deec4b7d36c9bfb7b2d5af9 Mon Sep 17 00:00:00 2001 From: Suchit Sahoo Date: Tue, 30 Apr 2024 18:44:20 +0000 Subject: [PATCH] Add Dashboards var for UI Metric Collectors Signed-off-by: Suchit Sahoo --- config/opensearch_dashboards-2.x.yml | 4 ++++ config/opensearch_dashboards-default.x.yml | 4 ++++ .../opensearch-dashboards-docker-entrypoint-2.x.sh | 1 + .../opensearch-dashboards-docker-entrypoint-default.x.sh | 1 + 4 files changed, 10 insertions(+) diff --git a/config/opensearch_dashboards-2.x.yml b/config/opensearch_dashboards-2.x.yml index c597651ec9..2e4f3c4dd3 100644 --- a/config/opensearch_dashboards-2.x.yml +++ b/config/opensearch_dashboards-2.x.yml @@ -204,6 +204,10 @@ # Set the value of this setting to false to disable the query assistant # observability.query_assist.enabled: false +# 2.14 Enable Ui Metric Collectors in Usage Collector +# Set the value of this setting to true to enable UI Metric collections +# usageCollection.uiMetric.enabled: false + opensearch.hosts: [https://localhost:9200] opensearch.ssl.verificationMode: none opensearch.username: kibanaserver diff --git a/config/opensearch_dashboards-default.x.yml b/config/opensearch_dashboards-default.x.yml index c597651ec9..2e4f3c4dd3 100644 --- a/config/opensearch_dashboards-default.x.yml +++ b/config/opensearch_dashboards-default.x.yml @@ -204,6 +204,10 @@ # Set the value of this setting to false to disable the query assistant # observability.query_assist.enabled: false +# 2.14 Enable Ui Metric Collectors in Usage Collector +# Set the value of this setting to true to enable UI Metric collections +# usageCollection.uiMetric.enabled: false + opensearch.hosts: [https://localhost:9200] opensearch.ssl.verificationMode: none opensearch.username: kibanaserver diff --git a/docker/release/config/opensearch-dashboards/opensearch-dashboards-docker-entrypoint-2.x.sh b/docker/release/config/opensearch-dashboards/opensearch-dashboards-docker-entrypoint-2.x.sh index 21b20b3cb2..20ab523591 100755 --- a/docker/release/config/opensearch-dashboards/opensearch-dashboards-docker-entrypoint-2.x.sh +++ b/docker/release/config/opensearch-dashboards/opensearch-dashboards-docker-entrypoint-2.x.sh @@ -168,6 +168,7 @@ opensearch_dashboards_vars=( ml_commons_dashboards.enabled assistant.chat.enabled observability.query_assist.enabled + usageCollection.uiMetric.enabled ) function setupSecurityDashboardsPlugin { diff --git a/docker/release/config/opensearch-dashboards/opensearch-dashboards-docker-entrypoint-default.x.sh b/docker/release/config/opensearch-dashboards/opensearch-dashboards-docker-entrypoint-default.x.sh index 21b20b3cb2..20ab523591 100755 --- a/docker/release/config/opensearch-dashboards/opensearch-dashboards-docker-entrypoint-default.x.sh +++ b/docker/release/config/opensearch-dashboards/opensearch-dashboards-docker-entrypoint-default.x.sh @@ -168,6 +168,7 @@ opensearch_dashboards_vars=( ml_commons_dashboards.enabled assistant.chat.enabled observability.query_assist.enabled + usageCollection.uiMetric.enabled ) function setupSecurityDashboardsPlugin {