kevin-cao opened a new issue, #12227:
URL: https://github.com/apache/dubbo/issues/12227

   **Environment**
   
   - Dubbo version: 3.2.0
   - SpringBoot version: 2.7.11
   - Prometheus version: 2.37.7
   - JDK version: 8
   
   Provider已接入dubbo-metrics,现需要通过micrometer 
api上报业务相关的自定义指标到Prometheus。由于provider中没有暴露用于业务指标的HTTPServer 
Endpoint,无法直接使用io.micrometer.core.instrument.Metrics。如何暴露业务指标的Endpoint,目前想到两种办法:
   1. 复用Dubbo自身框架指标的Endpoin,也就是QOS http server
   2. 创建一个新的业务指标HTTPSever对象,暴露新端口
   
   
比较倾向1(避免创建httpserver)。不过1的话该如何复用qos端口,自定义指标直接上报到/metrics路径?还是扩展BaseCommand使用新路径上报?官方有没有推荐做法或这方面的支持?


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