Right now we keep registered metrics for ever. We need a mechanism to make sure that this does not happen. For instance, we could have our own register logic based on Weak / GC. Or we could have a wrapper over our counter dealing with unregistering.
Right now we keep registered metrics for ever.
We need a mechanism to make sure that this does not happen.
For instance, we could have our own register logic based on Weak / GC.
Or we could have a wrapper over our counter dealing with unregistering.