[Usage Collection] Ensure unique type
in usage collectors
#70940
Labels
Feature:Telemetry
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
At the moment, we maintain an array of usage collectors and don't check for the duplicity of the registered
type
so, when grouping their output understack_stats.kibana.plugins[type]
, some usage collectors might overwrite others.Let's change the logic to validate the registered collector is not overwriting others.
The text was updated successfully, but these errors were encountered: