Skip to content

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