[Telemetry] Move all collection logic to Stats/Usage collectors #89709
Labels
discuss
Feature:Telemetry
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
At the moment, when building the Telemetry payload, on top of retrieving all the Stats and Usage collectors' data, the
telemetry
plugin appends some data to it. Examples of the latter are Data Telemetry, License data and ES's cluster_stats, Nodes Usage + X-Pack usage.This issue is to discuss if it's worth moving this logic to their own collectors. IMO, this will help with maintaining the full
schema
(#83704), and those sources of information can be reused, if needed, by the Suggestion Engine, since they can be called as any other usage/stat collector.While implementing this, we might want to explore a new API that allows collectors to specify the absolute path where they want to be merged in as needed in #89110.
What do you think?
The text was updated successfully, but these errors were encountered: