-
Notifications
You must be signed in to change notification settings - Fork 26.6k
completed issue 12517, implemented new module for otlp config along with test checking jvm metric export using mock server #16023
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 3.3
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## 3.3 #16023 +/- ##
============================================
+ Coverage 60.74% 60.76% +0.01%
- Complexity 11750 11752 +2
============================================
Files 1949 1952 +3
Lines 88898 88960 +62
Branches 13407 13412 +5
============================================
+ Hits 54002 54057 +55
- Misses 29337 29342 +5
- Partials 5559 5561 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
bcfa13a to
da896b8
Compare
| <dependency> | ||
| <groupId>com.google.protobuf</groupId> | ||
| <artifactId>protobuf-java</artifactId> | ||
| <version>4.32.0</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the version defined at dubbo-dependencies-bom is not suitable for this model?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes it was giving runtime error with the defined version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
java.lang.NoClassDefFoundError: com/google/protobuf/RuntimeVersion$RuntimeDomain
at io.opentelemetry.proto.resource.v1.Resource.<clinit>(Resource.java:22)
at io.micrometer.registry.otlp.OtlpMeterRegistry.<init>(OtlpMeterRegistry.java:129)
at io.micrometer.registry.otlp.OtlpMeterRegistry.<init>(OtlpMeterRegistry.java:118)
at io.micrometer.registry.otlp.OtlpMeterRegistry.<init>(OtlpMeterRegistry.java:107)
at org.apache.dubbo.metrics.otlp.OtlpMetricsReporter.<init>(OtlpMetricsReporter.java:57)
at org.apache.dubbo.metrics.otlp.OtlpMetricsReporterFactoryTest.export_Test(OtlpMetricsReporterFactoryTest.java:114)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
we are using 3.8 while we needed 4.32
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the version defined at dubbo-dependencies-bom had been bumped to 4.33.4 by recent PR, so it's redundant now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zrlw I have fixed this PTAL
| <dependency> | ||
| <groupId>com.squareup.okhttp3</groupId> | ||
| <artifactId>mockwebserver</artifactId> | ||
| <version>4.12.0</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's redundant as the same version has been defined at dubbo-dependencies-bom
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed this
4b987d4 to
0f05baf
Compare
…ith test checking jvm metric export using mock server
ec1c313 to
23b1715
Compare
zrlw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What is the purpose of the change?
For issue #12517
based on #14067
Checklist