Alanxtl commented on PR #3320:
URL: https://github.com/apache/dubbo-go/pull/3320#issuecomment-4427455646

   `initGlobalMetrics()` 现在直接吃 `global` 的默认值,而 `global` 和 `config` 在 
`EnableMetadata` / `EnableRegistry` / `EnableConfigCenter`,还有 
`Prometheus.Exporter.Enabled` 上默认值不一致,所以用户只开 `metrics.enable`、没显式补这些开关时,行为会和旧 
`config` 路径不一样。见 
instance_options_init.go:230、global/metric_config.go:21、config/metric_config.go:36。


-- 
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