Open songxiaosheng opened 7 months ago
may be we can use export adapter like spring-boot
I would like to take over this task, please assign it to me. @songxiaosheng
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!
add new module dubbo-metrics/dubbo-metrics-otlp,the primary purpose is to introduce a dependency
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-otlp</artifactId>
</dependency>
Same as the default and prometheus, provide OtlpMetricsReporter
and OtlpMetricsReporterFactory
to support otlp protocol format data.
there are no other changes, if you want use otlp, pls config dubbo.metrics.protocol=otlp to appoint you protocol type
consumer site promethues protocol data:
consumer site otlp protocol data: metrics-otlp.json
Okay, you can submit a PR
Pre-check
Search before asking
Apache Dubbo Component
Java SDK (apache/dubbo)
Descriptions
Currently, dubbo indicators support the use of micromter, but do not support the export of otel format. They need to be compatible with the otel format exporter.
Related issues
No response
Are you willing to submit a pull request to fix on your own?
Code of Conduct