From e9a4555623ad55120085a1f9bca3774116eef07b Mon Sep 17 00:00:00 2001 From: Wylie Conlon Date: Tue, 15 Sep 2020 18:27:39 -0400 Subject: [PATCH] [Lens] Remove dynamic names in telemetry fields (#76988) Co-authored-by: Elastic Machine --- .../editor_frame_service/editor_frame/suggestion_panel.tsx | 1 - .../dimension_panel/dimension_editor.tsx | 3 --- 2 files changed, 4 deletions(-) diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_panel.tsx b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_panel.tsx index f1dc3fa306d1..e6503cb793a8 100644 --- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_panel.tsx +++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_panel.tsx @@ -338,7 +338,6 @@ export function SuggestionPanel({ if (lastSelectedSuggestion === index) { rollbackToCurrentVisualization(); } else { - trackSuggestionEvent(`position_${index}_of_${suggestions.length}`); setLastSelectedSuggestion(index); switchToSuggestion(dispatch, suggestion); } diff --git a/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/dimension_editor.tsx b/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/dimension_editor.tsx index 98e9389a8581..153757ac37da 100644 --- a/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/dimension_editor.tsx +++ b/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/dimension_editor.tsx @@ -213,9 +213,6 @@ export function DimensionEditor(props: DimensionEditorProps) { previousColumn: selectedColumn, }); - trackUiEvent( - `indexpattern_dimension_operation_from_${selectedColumn.operationType}_to_${operationType}` - ); setState( changeColumn({ state,