Hello:
We are using the golang Prometheus package, and the metrics is pulled from the /metric endpoint of the HTTP server.
The package provides a function called unregister.
I want to know what is the use case for this function?
In some UTs, we called the unregister function to make sure the code will not panic.
Apart from that, is there any place I should call the unregister function?
Best regards