-
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
Provide a way to gather and store server side telemetry data #81645
Comments
Pinging @elastic/kibana-telemetry (Team:KibanaTelemetry) |
@Bamieh @afharo I'd love to discuss what the API would look like but for now, I was thinking along the lines of creating, editing (through aggregation) and deleting. e.g a way to delete the data we've already stored after it's been shipped to the remote service or if the opt-out status changes and we don't need the data anymore. The usage collector's |
I love this proposal! Thank you Tina for creating this issue so we can tackle it! I sincerely think that we need to provide an easy way for other plugins to count events. As far as I understand, I can see the server-side telemetry in 2 ways:
The first use case is very ad-hoc and we need to maintain the flexibility of the
Later on, when the telemetry payload needs to be sent to the server, a general collector in Possible further improvements:
I think that implementing these APIs can help us with UI metrics and Application Usage as well. What do you think? |
I think this could follow the same structure as UI Counters does. |
Pinging @elastic/kibana-core (Team:Core) |
Description
Provide a way to gather and store server-side telemetric data. The methods should allow for basic data gathering (e.g. a counter or a server-side event), aggregating and storing data in Saved Objects or Elasticsearch and have an easy to use API.
Describe a specific use case for the feature:
While retrieving and shipping telemetric data is disabled when telemetry is disabled, data gathering and aggregation isn't. This means that we're storing data that we're ultimately not using, which is a waste.
We want to stop collecting that data when telemetry is disabled, without having to manually go through each task and check on the telemetry status first.
Why is this needed?
At the moment, there isn't a standardized approach to gathering and storing data for telemetry purposes. This means that every time we want to start storing and shipping new server-side telemetric data, teams need to instrument the code themselves, aggregate it and save that data somewhere.
The text was updated successfully, but these errors were encountered: