-
Notifications
You must be signed in to change notification settings - Fork 773
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
[.NET7.0] Http client activity source migration #3415
[.NET7.0] Http client activity source migration #3415
Conversation
Codecov Report
@@ Coverage Diff @@
## net7.0 #3415 +/- ##
==========================================
+ Coverage 86.10% 86.14% +0.03%
==========================================
Files 258 258
Lines 9261 9279 +18
==========================================
+ Hits 7974 7993 +19
+ Misses 1287 1286 -1
|
This PR was marked stale due to lack of activity and will be closed in 7 days. Commenting or Pushing will instruct the bot to automatically remove the label. This bot runs once per day. |
src/OpenTelemetry.Instrumentation.Http/HttpClientInstrumentation.cs
Outdated
Show resolved
Hide resolved
src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerDiagnosticListener.cs
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.
Some feedback but LGTM
src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerDiagnosticListener.cs
Outdated
Show resolved
Hide resolved
src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerDiagnosticListener.cs
Outdated
Show resolved
Hide resolved
…lerDiagnosticListener.cs Co-authored-by: Cijo Thomas <[email protected]>
…lerDiagnosticListener.cs Co-authored-by: Cijo Thomas <[email protected]>
This PR was marked stale due to lack of activity and will be closed in 7 days. Commenting or Pushing will instruct the bot to automatically remove the label. This bot runs once per day. |
* Bump OpenTelemetry.AutoInstrumentation dependencies to 1.4.0-beta.3 and other released to the newest versions * Adjust setting up Prometheus exporter based on https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/src/OpenTelemetry.Exporter.Prometheus.HttpListener/CHANGELOG.md#140-alpha2 * Remove Microsoft.Extensions.Logging.Abstractions from duplicated libraries list After upgrade all places references 7.0.0 * Reintroduce DiagnosticSource source to additional deps it is needed by .NET 6 applications * Bump Additional Dependencies to 7.0 as we should always bring the newest packages * Use HttpClientInstrumentationOptions instead of HttpWebRequestInstrumentationOptions based on open-telemetry/opentelemetry-dotnet@399fbcf * Add Microsoft.Extensions.Configuration.EnvironmentVariables to Additional Store introduced by open-telemetry/opentelemetry-dotnet@f191e846d37283e82272f6daa95df10aec4edd7bhttps://github.com/open-telemetry/opentelemetry-dotnet/commit/f191e846d37283e82272f6daa95df10aec4edd7b * Fix references in Smoke tests * Update SourceNames for Http Instrumentation due to https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/src/OpenTelemetry.Instrumentation.Http/CHANGELOG.md#100-rc96 * Change expected span names for Http Instrumentation changes due to dotnet/runtime@d8c0170 open-telemetry/opentelemetry-dotnet#3415 open-telemetry/opentelemetry-dotnet@8add3db * Update Sql Integration name due to https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/src/OpenTelemetry.Instrumentation.SqlClient/CHANGELOG.md#100-rc95 * Update tests dependencies * Binding to System.Memory 4.0.1.2 to avoid conflicts with loaded library Workaround will be fixed in scope of #1646 * Update distributed structure * Remove reference to HttpWebRequestInstrumentationOptions from documentation. It was removed from instrumentation package * Dotnet format fix * Propagate workaround from 411e778 to TestApplication.Http.NetFramework * Bump OpenTelemetry.Instrumentation.Runtime to 1.1.0-beta.1 * Remove todo comment we expect that it will be needed shortly * Remove DiagnosticSource reference from TestApplication.Http It is not used in the application, so it is loaded from additional store * Update documentation
Fixes #3018
Changes
Please provide a brief description of the changes here.
For significant contributions please make sure you have completed the following items:
CHANGELOG.md
updated for non-trivial changes