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 (other stack_stats.[PRODUCT], and the stack_stats.kibana and root keys like version, 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.
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.kibanaand 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.