You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "wenzhuo4657 (via GitHub)" <gi...@apache.org> on 2025/06/19 02:57:31 UTC

[PR] 修改文档 [rocketmq-site]

wenzhuo4657 opened a new pull request, #732:
URL: https://github.com/apache/rocketmq-site/pull/732

   原来文档中关于配置监控的方式非常模糊,甚至有一定歧义,让人误以为是配置PROM,但其实是配置数字,而这一点并未提及


-- 
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: commits-unsubscribe@rocketmq.apache.org

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


Re: [PR] 修改文档 [rocketmq-site]

Posted by "wenzhuo4657 (via GitHub)" <gi...@apache.org>.
wenzhuo4657 commented on PR #732:
URL: https://github.com/apache/rocketmq-site/pull/732#issuecomment-2986425405

   ```
   public enum MetricsExporterType {
       DISABLE(0),
       OTLP_GRPC(1),
       PROM(2),
       LOG(3);
      public static MetricsExporterType valueOf(int value) {
           switch (value) {
               case 1:
                   return OTLP_GRPC;
               case 2:
                   return PROM;
               case 3:
                   return LOG;
               default:
                   return DISABLE;
           }
       }
   }
   ```
   


-- 
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: commits-unsubscribe@rocketmq.apache.org

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