-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix autocomplete telemetry #95724
Fix autocomplete telemetry #95724
Conversation
Pinging @elastic/kibana-app-services (Team:AppServices) |
23f64bf
to
0ad8f36
Compare
`query_string:${type}:suggestions_select_position`, | ||
listIndex | ||
METRIC_TYPE.CLICK, | ||
`query_string:${type}:suggestions_select_position_${listIndex}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't there a way to report this without losing the numeric nature of the data?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😕 Not using UI metrics. If we wanted to introduce our own mechanism for collecting/reporting data, we could probably get around it, but I'm not sure it's worth the effort. We can still do side-by-side comparisons of the different autocomplete implementations, we just won't have a single metric to compare side-by-side. (Although we may be able to get around this by using a scripted field...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not ideal, but best solution ATM 🤷🏻 😄
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @lukasolson |
Co-authored-by: Kibana Machine <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
Summary
Because of the way that telemetry data for UI metrics is
sum
marized before being shipped off, the data we're collecting for autocomplete is inaccurate.For example, if a user selects the suggestion in position 5, then position 6, the value reported will actually be 11 (instead of an average).
This PR adjusts the way we collect to report different keys (e.g.
query_string:value:suggestions_select_position_5
). This was the recommendation from the telemetry folks. When analyzing, we can sort by the sum and see which position is selected most frequently, however this will make it difficult to get a single value that summarizes the average position selected.