-
Notifications
You must be signed in to change notification settings - Fork 847
[otlp] Remove Grpc.Core support for .NET Framework and .NET Standard 2.0 in OTLP exporter #6229
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 Grpc.Core support for .NET Framework and .NET Standard 2.0 in OTLP exporter #6229
Conversation
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.
Copilot reviewed 11 out of 13 changed files in this pull request and generated no comments.
Files not reviewed (2)
- Directory.Packages.props: Language not supported
- src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OpenTelemetry.Exporter.OpenTelemetryProtocol.csproj: Language not supported
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6229 +/- ##
==========================================
- Coverage 86.20% 86.18% -0.03%
==========================================
Files 259 258 -1
Lines 11854 11793 -61
==========================================
- Hits 10219 10164 -55
+ Misses 1635 1629 -6
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
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.
Approved with a suggestion of marking OtlpExportProtocol.Grpc
obsolete for .NET Framwork/.NET Standard.
src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExportProtocol.cs
Outdated
Show resolved
Hide resolved
It would be nice if the information could be added to the breaking change that the endpoint URL needs to be adapted as HttpProtoBuf expects the full Url (as mentioned here in the notes: https://github.com/open-telemetry/opentelemetry-dotnet/tree/main/src/OpenTelemetry.Exporter.OpenTelemetryProtocol#otlpexporteroptions) for example: http://localhost:4318/v1/logs for logs. |
Fixes #6209
Design discussion issue #
Changes
Please provide a brief description of the changes here.
Grpc.Core
on legacy frameworks.HttpProtobuf
for.NET Framework
and.NET Standard 2.0
.NotSupportedException
ifOtlpExportProtocol.Grpc
is configured with the default factory on unsupported targets.Follow up
Merge requirement checklist
CHANGELOG.md
files updated for non-trivial changes[ ] Changes in public API reviewed (if applicable)