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

[otlp] Remove the direct dependency on Microsoft.Extensions.Configuration.Binder #5951

Merged
merged 3 commits into from
Nov 4, 2024

Conversation

CodeBlanch
Copy link
Member

@CodeBlanch CodeBlanch commented Nov 4, 2024

Changes

  • Remove the direct dependency on Microsoft.Extensions.Configuration.Binder from the OtlpExporter project.

Details

The SDK depends on Microsoft.Extensions.Logging.Configuration which brings in Microsoft.Extensions.Configuration.Binder. The 1.9.0 version of SDK brought in 8.0.0 versions of those packages. It seems OtlpExporter needed 8.0.1 to make AoT work correctly. Now that SDK is bringing in 9.0.0 versions of packages this redirect is no longer required.

Merge requirement checklist

  • CONTRIBUTING guidelines followed (license requirements, nullable enabled, static analysis, etc.)

@CodeBlanch CodeBlanch requested a review from a team as a code owner November 4, 2024 20:10
@github-actions github-actions bot added infra Infra work - CI/CD, code coverage, linters dependencies Pull requests that update a dependency file pkg:OpenTelemetry.Exporter.OpenTelemetryProtocol Issues related to OpenTelemetry.Exporter.OpenTelemetryProtocol NuGet package labels Nov 4, 2024
@@ -7,6 +7,9 @@ Notes](../../RELEASENOTES.md).

## Unreleased

* Removed the direct dependency on `Microsoft.Extensions.Configuration.Binder`.
Copy link
Member

Choose a reason for hiding this comment

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

Is this needed?

Copy link
Member Author

Choose a reason for hiding this comment

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

Define needed 😄 Agree it is kind of silly to mention. Checked with @alanwest he was good with it NOT being mentioned so I removed.

Copy link

codecov bot commented Nov 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.38%. Comparing base (6250307) to head (6509823).
Report is 375 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5951      +/-   ##
==========================================
+ Coverage   83.38%   86.38%   +3.00%     
==========================================
  Files         297      262      -35     
  Lines       12531    11804     -727     
==========================================
- Hits        10449    10197     -252     
+ Misses       2082     1607     -475     
Flag Coverage Δ
unittests ?
unittests-Project-Experimental 86.30% <ø> (?)
unittests-Project-Stable 86.37% <ø> (?)
unittests-Solution 86.30% <ø> (?)
unittests-UnstableCoreLibraries-Experimental 85.78% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 242 files with indirect coverage changes

@CodeBlanch CodeBlanch merged commit 4b56c5f into open-telemetry:main Nov 4, 2024
49 checks passed
@CodeBlanch CodeBlanch deleted the otlp-config-binder-ref branch November 4, 2024 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file infra Infra work - CI/CD, code coverage, linters pkg:OpenTelemetry.Exporter.OpenTelemetryProtocol Issues related to OpenTelemetry.Exporter.OpenTelemetryProtocol NuGet package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants