-
Notifications
You must be signed in to change notification settings - Fork 769
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 Google.Protobuf / Grpc packages, and replace the logs and metrics with the new implementation #6005
base: main
Are you sure you want to change the base?
Conversation
{ | ||
Guard.ThrowIfNull(options); | ||
Guard.ThrowIfNull(httpClient); | ||
Guard.ThrowIfNull(signalPath); | ||
|
||
Uri exporterEndpoint = options.Endpoint.AppendPathIfNotPresent(signalPath); | ||
Uri exporterEndpoint; | ||
if (options.Protocol == OtlpExportProtocol.Grpc) |
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.
Added a logical condition here to honor the existing behavior.
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.
Curious how it got by tests before?
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6005 +/- ##
==========================================
+ Coverage 85.15% 85.82% +0.67%
==========================================
Files 272 257 -15
Lines 12420 11690 -730
==========================================
- Hits 10576 10033 -543
+ Misses 1844 1657 -187
Flags with carried forward coverage won't be shown. Click here to find out more.
|
🎉 I do not have enough time to review it right now, but it is great to see this progress. |
It looks like the proto files are copied into two directories, unit test & benchmarks. |
|
||
this.thread = new Thread(this.RetryStoredRequests) | ||
{ | ||
Name = $"OtlpExporter Persistent Retry Storage - {typeof(TRequest)}", | ||
Name = $"OtlpExporter Persistent Retry Storage", |
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.
nit: Can remove the $
@@ -156,7 +156,7 @@ dotnet_diagnostic.IDE0005.severity = warning | |||
# RS0041: Public members should not use oblivious types | |||
dotnet_diagnostic.RS0041.severity = suggestion | |||
|
|||
[obj/**.cs] | |||
[**/obj/**.cs] |
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.
@rajkumar-rangaraj This cleans up those proto warnings you had to suppress in project files.
Fixes #5730
Design discussion issue #
Changes
Please provide a brief description of the changes here.
OpenTelemetry.Exporter.OpenTelemetryProtocol
Tests / Benchmarks
Google.Protobuf
,Grpc
,Grpc.Tools
andGrpc.Net.Client
.Merge requirement checklist
CHANGELOG.md
files updated for non-trivial changes