hkp2008 commented on issue #11774:
URL: https://github.com/apache/dubbo/issues/11774#issuecomment-1463533443

   3.2之前的SPI都没有指定prometheus,可以自己通过配置SPI指定实现类来开启,步骤如下:
   1、需要自己创建目录
   /META-INF/dubbo
   2、在上面的目录新建文件夹org.apache.dubbo.common.metrics.MetricsReporterFactory
   3、文件中添加如下内容:
   
prometheus=org.apache.dubbo.metrics.prometheus.PrometheusMetricsReporterFactory


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