You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "hkp2008 (via GitHub)" <gi...@apache.org> on 2023/03/10 09:40:21 UTC

[GitHub] [dubbo] hkp2008 commented on issue #11774: dubbo3.1.7 dubbo-metrics-prometheus 使用问题

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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org