[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.
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:
|
alanwest
left a comment
There was a problem hiding this comment.
Approved with a suggestion of marking OtlpExportProtocol.Grpc obsolete for .NET Framwork/.NET Standard.
|
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.Coreon legacy frameworks.HttpProtobuffor.NET Frameworkand.NET Standard 2.0.NotSupportedExceptionifOtlpExportProtocol.Grpcis configured with the default factory on unsupported targets.Follow up
Merge requirement checklist
CHANGELOG.mdfiles updated for non-trivial changes[ ] Changes in public API reviewed (if applicable)