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

[GitHub] [dubbo] helloy0920 opened a new issue, #11774: dubbo3.1.7 dubbo-metrics-prometheus 使用问题

helloy0920 opened a new issue, #11774:
URL: https://github.com/apache/dubbo/issues/11774

   dubbo3.1.7 集成 dubbo-metrics-prometheus, 采集不到dubbo相关的指标
   dubbo.metrics.protocol=prometheus
    相关jar包也都根据 官方示例引用,但是没有dubbo的指标,这是什么情况  


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


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

Posted by "songxiaosheng (via GitHub)" <gi...@apache.org>.
songxiaosheng commented on issue #11774:
URL: https://github.com/apache/dubbo/issues/11774#issuecomment-1463465379

   Please wait for 3.2 to officially release this function


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


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

Posted by "hkp2008 (via GitHub)" <gi...@apache.org>.
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