-
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
[Telemetry] [schema] Define schema for the data that is reported by the telemetry
plugin
#83704
Comments
Pinging @elastic/kibana-telemetry (Team:KibanaTelemetry) |
Additional tasks required to support this:
Note: |
I suggest that we keep away from complicating the tools we have to support the "static" part of the data we report. I think adding a static file for the remainder of the reported fields in the telemetry repo should be more than enough. I dont recall any changes to those fields since the past 2 years or so. |
Makes sense! +1 on creating static schemas for that. I'd add on top some sort of validation based on the schema we define in the API's functional tests to make sure we are compliant over time. How does that sound? |
+1 to including functional tests in the scope of this task |
Pinging @elastic/kibana-core (Team:Core) |
Updated the description with the agreed items to cover to in this issue. |
We currently have a way to define the schema that is returned by the
Usage Collectors
.They usually end up under
stack_stats.kibana.plugins.[]
. But we need to find a way to define and keep up to date the structure of the data that we return for every other fields (otherstack_stats.[PRODUCT]
, and thestack_stats.kibana
and root keys likeversion
,cluster_stats
, etc.).This way we can have a contract with the remote telemetry service for all the fields that we send.
Items to cover:
N.B.: Elasticsearch will eventually provide an API for telemetry purposes (elastic/elasticsearch#58198). But it's not happening anytime soon.
The text was updated successfully, but these errors were encountered: