-
Notifications
You must be signed in to change notification settings - Fork 765
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
Add grpc instrumentation with experimental feature flag #5130
Add grpc instrumentation with experimental feature flag #5130
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #5130 +/- ##
==========================================
+ Coverage 83.05% 83.32% +0.27%
==========================================
Files 297 297
Lines 12369 12380 +11
==========================================
+ Hits 10273 10316 +43
+ Misses 2096 2064 -32
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Great step forward, and honestly I think this might be a really good approach in general for other changes. |
One note I have is that this should also apply to the .HTTP client right? |
For grpc client, there is a separate instrumentation library. https://github.com/open-telemetry/opentelemetry-dotnet/tree/main/src/OpenTelemetry.Instrumentation.GrpcNetClient |
src/OpenTelemetry.Instrumentation.AspNetCore/AspNetCoreTraceInstrumentationOptions.cs
Outdated
Show resolved
Hide resolved
src/OpenTelemetry.Instrumentation.AspNetCore/AspNetCoreTraceInstrumentationOptions.cs
Outdated
Show resolved
Hide resolved
src/OpenTelemetry.Instrumentation.AspNetCore/Implementation/HttpInListener.cs
Outdated
Show resolved
Hide resolved
src/OpenTelemetry.Instrumentation.AspNetCore/OpenTelemetry.Instrumentation.AspNetCore.csproj
Show resolved
Hide resolved
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.
LGTM
src/OpenTelemetry.Instrumentation.AspNetCore/Implementation/HttpInListener.cs
Outdated
Show resolved
Hide resolved
[InlineData("false")] | ||
[InlineData("True")] | ||
[InlineData("False")] | ||
public void GrpcAspNetCoreInstrumentationAddsCorrectAttributesWhenItCreatesNewActivity(string enableGrpcAspNetCoreSupport) |
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.
Not related to this PR but these tests should be moved to OpenTelemetry.Instrumentation.AspNetCore.Tests
.
…ps://github.com/vishweshbankwar/opentelemetry-dotnet into vibankwa/re-introduce-grpc-support-experimental
Fixes #
Design discussion issue #
Changes
Please provide a brief description of the changes here.
Merge requirement checklist
CHANGELOG.md
files updated for non-trivial changes