diff --git a/src/plugins/data/public/autocomplete/collectors/types.ts b/src/plugins/data/public/autocomplete/collectors/types.ts index 582c7a5485e35..60eb9103dc44e 100644 --- a/src/plugins/data/public/autocomplete/collectors/types.ts +++ b/src/plugins/data/public/autocomplete/collectors/types.ts @@ -7,10 +7,10 @@ */ export enum AUTOCOMPLETE_EVENT_TYPE { - CALL = 'call', - REQUEST = 'req', - RESULT = 'res', - ERROR = 'err', + CALL = 'autocomplete:call', + REQUEST = 'autocomplete:req', + RESULT = 'autocomplete:res', + ERROR = 'autocomplete:err', } export interface AutocompleteUsageCollector { diff --git a/src/plugins/data/public/ui/filter_bar/filter_bar.tsx b/src/plugins/data/public/ui/filter_bar/filter_bar.tsx index 8e978e8bda145..9605eba9c1c28 100644 --- a/src/plugins/data/public/ui/filter_bar/filter_bar.tsx +++ b/src/plugins/data/public/ui/filter_bar/filter_bar.tsx @@ -133,7 +133,7 @@ function FilterBarUI(props: Props) { } function onUpdate(i: number, filter: Filter) { - reportUiCounter?.(METRIC_TYPE.CLICK, `filte:edited`); + reportUiCounter?.(METRIC_TYPE.CLICK, `filter:edited`); const filters = [...props.filters]; filters[i] = filter; onFiltersUpdated(filters);