Skip to content

[Usage Collection] Ensure unique type in usage collectors #70940

@afharo

Description

@afharo

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 under stack_stats.kibana.plugins[type], some usage collectors might overwrite others.

Let's change the logic to validate the registered collector is not overwriting others.

Metadata

Metadata

Assignees

Labels

Feature:TelemetryTeam:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions