-
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
[Lens] Bake lens ui metric type into @kbn/analytics #48352
Comments
Pinging @elastic/kibana-app (Team:KibanaApp) |
Once we do this, we can also use the provided utility components (https://github.com/elastic/kibana/blob/master/src/plugins/kibana_usage_collection/server/collectors/application_usage/README.md#tracking-sub-views-inside-your-application) to track how long the users spends in which menu |
I've briefly discussed the status of ui counters with @flash1293 today;
UI Counters provides more data about the events and it aggregates the data each day rather than a raw total. This allows us to slice and dice the data in meaningful ways across time and releases.
|
re-visiting this ~november 2021 |
Just dropping a comment to highlight that UI Counters are fully usable in production, and automatically indexed, so there's no need to update mappings as more events are added 😇 |
Thanks for the note @afharo ! We are migrating away from the custom lens ui to ui counters right now. |
@flash1293 please let us know if you find anything missing in the telemetry dev guide so we can fill in the gaps :) I am excited to see the reduction in the surface area of telemetry on the browser after this migration! thank you |
#135684 will resolve this issue 🧡 |
Introduce Lens metric collector into
@kbn/analytics
andui_metric
.Currently lens ui collection logic almost duplicates
@kbn/analytics
logic providing a new collection method. This UI metric can be easily baked into the@kbn/analytics
common library by introducing it as a newMETRIC_TYPE
. Doing so it makes it easier to manage telemetry, refactor code and have others utilize these metric types.It is also not ideal to have scattered code across kibana for each newly introduced metric. UI metrics currently only have 3 metric types; there are many interesting and important metrics we can introduce to it as features. Implementing these metrics across different plugins will only make planning and development for telemetry harder.
Context: #47919
The text was updated successfully, but these errors were encountered: