-
Notifications
You must be signed in to change notification settings - Fork 848
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
Update to opentelemetry-configuration v0.3.0 #6733
Update to opentelemetry-configuration v0.3.0 #6733
Conversation
...st/java/io/opentelemetry/sdk/extension/incubator/fileconfig/FileConfigurationCreateTest.java
Outdated
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6733 +/- ##
============================================
- Coverage 90.06% 90.02% -0.05%
- Complexity 6463 6474 +11
============================================
Files 718 718
Lines 19528 19568 +40
Branches 1923 1930 +7
============================================
+ Hits 17588 17616 +28
- Misses 1350 1353 +3
- Partials 590 599 +9 ☔ View full report in Codecov by Sentry. |
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.
Wow, that was a bit of a heavy lift there! Phew. Thanks for all that work, looks good to me overall, just had a few small suggestions.
if (list.isEmpty()) { | ||
return null; | ||
} | ||
if (!list.stream().allMatch(entry -> expectedType.isAssignableFrom(entry.getClass()))) { |
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.
Very strict indeed.
...tor/src/main/java/io/opentelemetry/sdk/extension/incubator/fileconfig/FileConfiguration.java
Outdated
Show resolved
Hide resolved
if (model.getPrometheus() != null) { | ||
throw new ConfigurationException("prometheus exporter not supported in this context"); | ||
} |
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.
😎
Building against the latest opentelemetry-configuration commit to verify the upcoming 0.3 release checks out: open-telemetry/opentelemetry-configuration#105