-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[UsageCollection] Expose events
API
#64156
Comments
Pinging @elastic/pulse (Team:Pulse) |
This can be started after #63953 is done |
How about moving usage collection plugin cannot be disabled and makes sense to have it in core. We can update the |
Yeah! I think it might be worth it! |
I agree! We need a proper re-thought about internal channels if they make sense. Although that would mean in the remote service maintaining more indices (as far as I understand, that means slight architectural changes in the telemetry cluster). Not sure if that's the way to go. One thing we can do for sure is to split @Bamieh's comment into another issue: Moving the plugin to core is a different thing vs. adding new APIs any allegedly new telemetry structure. |
@elastic/kibana-telemetry should we modify this issue to suite our needs for usage collection or close it? |
I'm ok with either option. I guess this one might provide more context for the already linked issues. |
@afharo, "moving-to-core" by default would make usageCollection available to other plugins 😄 |
Oh! Hahaha! I see the confusion here: I guess the title should have been: UsageCollection APIs are already available to any plugin that requires it. Moving it to core will simply remove the need to require it in the Since we found this issue already confusing enough that we both got a different understanding out of it, I'd vote for closing it and creating new ones that may seem more straight-forward :) |
events
API
@TinaHeiligers I updated the description in this issue so maybe we can repurpose it and add it to the meta issue #69291? |
Closing this issue as it feels like a duplicate of #81645 |
Pinging @elastic/kibana-core (Team:Core) |
Updated description
I'd be great to expose on the server side an API for plugins to be able to report events in their plugins (i.e.: new ML job created, new alert triggered, etc.).
UsageCollection will store these events internally and report them via
telemetry
in the best-aggregated way we can come up with (most likely in a breakdown of 7/30/90/total days accums).Original description
In Pulse, we need to expose the capability for other plugins to push data to the existing channels.
We can achieve this by adding APIs to the UsageCollection plugin (or creating a new Plugin) and adding a deprecated flag to the current
makeUsageCollector
method to discourage the usage of it in the futureThe text was updated successfully, but these errors were encountered: