glmapper commented on issue #13902:
URL: https://github.com/apache/dubbo/issues/13902#issuecomment-2031609523

   I finished the initial coding and testing, here are my design ideas and some 
sample data, I hope to submit it to the community and then discuss it together!
   
   1. add new module dubbo-metrics/dubbo-metrics-otlp,the primary purpose is to 
introduce a dependency 
   ```xml
   <dependency>
       <groupId>io.micrometer</groupId>
       <artifactId>micrometer-registry-otlp</artifactId>
     </dependency>
   ```
   
   2. Same as the default and prometheus,  provide `OtlpMetricsReporter` and 
`OtlpMetricsReporterFactory` to support otlp protocol format data.
   3. there are no other change, but developer should be add 
dubbo.metrics.protocol=otlp to his config file.
   
   consumer site promethues protocol data:
   
   
[metrics-prometheus.json](https://github.com/apache/dubbo/files/14834969/metrics-prometheus.json)
   
   consumer site otlp protocol data:
   
[metrics-otlp.json](https://github.com/apache/dubbo/files/14834972/metrics-otlp.json)
   


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