LaurenceLiZhixin commented on a change in pull request #1459:
URL: https://github.com/apache/dubbo-go/pull/1459#discussion_r709216342
##########
File path: config/root_config.go
##########
@@ -129,6 +131,9 @@ func (rc *RootConfig) Init() error {
if err := rc.Consumer.Init(rc); err != nil {
return err
}
+ go func() {
+ _ = http.ListenAndServe("0.0.0.0:6060", nil)
Review comment:
> 为啥要在这里写死端口?
1. 要么我们规定死,dubbogo的pprof和metrics端口就是固定的端口。
2. 要么放到配置里面,需要针对可视化监控(metrics、pprof)新搞一个配置结构。之后再完善。
--
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]