WIP: Rename duplicated alloc names before register into the collector
Fixes #2
The goal is to keep track of alloc.Name
in AllocRegistry
and rename when they are duplicated. I use a mutex because allocations are registered concurrently.
TODO:
-
safenet when alloc.Name
is not in the formjob-name.job-name[i]
-
allocation registry tests
cc @pcarranza @estromboliano