From e911c580a5667fa2a535b55cbe6b0f0ef589561b Mon Sep 17 00:00:00 2001 From: Anan Zhuang Date: Fri, 15 Nov 2024 19:57:52 +0000 Subject: [PATCH 1/2] Remove DQL telemetry endpoint call from QueryStringInput component Signed-off-by: Anan Zhuang --- .../public/ui/query_string_input/query_string_input.tsx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/plugins/data/public/ui/query_string_input/query_string_input.tsx b/src/plugins/data/public/ui/query_string_input/query_string_input.tsx index b94c38d0f15e..a091b63fda58 100644 --- a/src/plugins/data/public/ui/query_string_input/query_string_input.tsx +++ b/src/plugins/data/public/ui/query_string_input/query_string_input.tsx @@ -462,13 +462,6 @@ export default class QueryStringInputUI extends Component { }; private onSelectLanguage = (language: string) => { - // Send telemetry info every time the user opts in or out of kuery - // As a result it is important this function only ever gets called in the - // UI component's change handler. - this.services.http.post('/api/opensearch-dashboards/dql_opt_in_stats', { - body: JSON.stringify({ opt_in: language === 'kuery' }), - }); - this.services.storage.set('userQueryLanguage', language); const newQuery = { query: '', language }; From 5996406bffabff97881ebf0ed909b357a640f04b Mon Sep 17 00:00:00 2001 From: "opensearch-changeset-bot[bot]" <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Date: Fri, 15 Nov 2024 20:00:19 +0000 Subject: [PATCH 2/2] Changeset file for PR #8878 created/updated --- changelogs/fragments/8878.yml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 changelogs/fragments/8878.yml diff --git a/changelogs/fragments/8878.yml b/changelogs/fragments/8878.yml new file mode 100644 index 000000000000..2fc3f8fbf877 --- /dev/null +++ b/changelogs/fragments/8878.yml @@ -0,0 +1,2 @@ +fix: +- Remove DQL telemetry endpoint call from QueryStringInput component ([#8878](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8878)) \ No newline at end of file