Skip to content
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

Merged
merged 7 commits into from
Sep 30, 2024

Conversation

jack-berg
Copy link
Member

Building against the latest opentelemetry-configuration commit to verify the upcoming 0.3 release checks out: open-telemetry/opentelemetry-configuration#105

@jack-berg jack-berg marked this pull request as ready for review September 20, 2024 18:17
@jack-berg jack-berg requested a review from a team as a code owner September 20, 2024 18:17
Copy link

codecov bot commented Sep 23, 2024

Codecov Report

Attention: Patch coverage is 84.93976% with 25 lines in your changes missing coverage. Please review.

Project coverage is 90.02%. Comparing base (325822c) to head (ff8d60d).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
...ion/incubator/fileconfig/AttributeListFactory.java 82.53% 2 Missing and 9 partials ⚠️
...dk/extension/incubator/fileconfig/ViewFactory.java 41.17% 7 Missing and 3 partials ⚠️
...xtension/incubator/fileconfig/ResourceFactory.java 93.87% 1 Missing and 2 partials ⚠️
...lemetry/exporter/otlp/internal/OtlpConfigUtil.java 96.15% 0 Missing and 1 partial ⚠️
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.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@breedx-splk breedx-splk left a 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()))) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very strict indeed.

Comment on lines -41 to -43
if (model.getPrometheus() != null) {
throw new ConfigurationException("prometheus exporter not supported in this context");
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😎

@jack-berg jack-berg merged commit 2dbb8de into open-telemetry:main Sep 30, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants