empiredan commented on code in PR #1860:
URL: 
https://github.com/apache/incubator-pegasus/pull/1860#discussion_r1457331688


##########
collector/webui/webserver.go:
##########
@@ -27,14 +27,15 @@ import (
        "github.com/prometheus/client_golang/prometheus/promhttp"
 )
 
+var Registry = prometheus.NewRegistry()

Review Comment:
   Could the registry be created and returned by `StartWebServer()` to 
`main()`, thus registry would become a local variable ? 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to