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.
At the moment, we maintain an array of usage collectors and don't check for the duplicity of the registered
typeso, 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.