-
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
Merge to main: New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API #2270
Merge to main: New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API #2270
Conversation
…ry.API part 2 (#2254) * Use a single context.Items key for state management to make things more efficient. * Added a comment for clarity. * Code review.
…ry.API part 3 (#2256) * Update ASP.NET instrumentation to use the new TelemetryHttpModule. * Fixed TelemetryHttpModule not starting its Activity objects. Added an example of request suppression. * Tweaks an logging improvements. * Sealed AspNetInstrumentationEventSource. * Code review.
…ry.API part 4 (#2258) * Fixed up TelemetryHttpModule unit tests. * Added tests for the new HasStarted helper and added checks for StartedButNotSampledObj when not sampled. * Code review.
…ry.API part 5 (#2261) * Updated ASP.NET instrumentation tests for new TelemetryHttpModule. * Added a test for the new RecordException option. * Code review.
…ry.API part 6 (#2264) * CHANGELOG & README updates. * Apply suggestions from code review Co-authored-by: Reiley Yang <[email protected]> Co-authored-by: Reiley Yang <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #2270 +/- ##
==========================================
+ Coverage 79.25% 79.59% +0.34%
==========================================
Files 238 232 -6
Lines 7499 7284 -215
==========================================
- Hits 5943 5798 -145
+ Misses 1556 1486 -70
|
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, consider merge the commits (do not squash).
@reyang I'm going to squash merge just because the commits only say "New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API part X" where X is 1-6. It's not really useful info. Probably should have preserved the commits into the working branch and then we could have done it here. Sorry about that! |
Relates to #2222
Relates to #2249
Closes #1701
Changes
Merges the new design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API to main. Includes RecordException option in ASP.NET instrumentation.
TODOs
CHANGELOG.md
updated for non-trivial changes