-
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] Telemetry for embeddable component usage #94894
Comments
Pinging @elastic/kibana-app (Team:KibanaApp) |
@flash1293 we've got 2 ways to handle this: I would prefer the second approach because it avoids mapping field explosion, but it may require some work on the infra side to index it in an easy way to consume. If you prefer to go through the first one, you can use the keyword I'll let @elastic/infra-telemetry share their thoughts on this :) |
We would probably need some post-processing to make the array consumable. For reference, the cardinality of app ids will stay low (<10) |
Happy to! 😀 I suppose I have a slight preference for the first, simpler version (single hash-map of If this data will be indexed into a custom index, though, we don't have to worry so much about mapping explosion, especially if the number of appIds is bounded (as I think @flash1293 is saying?). @afharo @flash1293 Does that make sense? Is my assumption about easier query-ability accurate? cc @alexfrancoeur @thesmallestduck for insight on analysis/custom index suitability |
I think a custom index is overkill here. A map would be cool - aggregating these keys in Kibana is a big use case for us. |
@drewdaemon you might know, do we store this information in our ui counters? |
@stratoula I think our internal tracking dashboard basically covers this. I'm not sure UI counters are a good fit here since this issue seems mostly to be about tracking API usage within our codebase. WDYT? |
I think we are ok for now, I will close it and if there is a specific need for it we can always reopen |
Lens offers a component to be embedded into other solutions now. To track the usage in the final product, there should be a counter for these. The embeddable component should be extended by a prop
app: string
which identifies the calling application.@afharo is this compatible with how we structure telemetry today? Ideally there should be one counter per app, but we don't know all apps in advance. is it possible to keep this part dynamic?
The text was updated successfully, but these errors were encountered: