Hello:
We are using the golang Prometheus package, and the metrics is pulled
from the /metric endpoint of the HTTP server.
https://pkg.go.dev/github.com/prometheus/client_golang
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
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/2adf21ef-a032-483f-a5b1-afe3016f4165n%40googlegroups.com.