[Extensions.Enrichment] Add exception handling to trace enrichment#4165
Merged
martincostello merged 5 commits intoopen-telemetry:mainfrom Apr 21, 2026
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4165 +/- ##
==========================================
+ Coverage 73.74% 73.92% +0.17%
==========================================
Files 466 459 -7
Lines 18314 18304 -10
==========================================
+ Hits 13506 13531 +25
+ Misses 4808 4773 -35
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
martincostello
approved these changes
Apr 21, 2026
…ntActions.cs Co-authored-by: Martin Costello <martin@martincostello.com>
This was referenced Apr 21, 2026
This was referenced Apr 22, 2026
Open
intellitect-bot
pushed a commit
to IntelliTect/EssentialCSharp.Web
that referenced
this pull request
Apr 22, 2026
Updated [OpenTelemetry.Instrumentation.Runtime](https://github.com/open-telemetry/opentelemetry-dotnet-contrib) from 1.15.0 to 1.15.1. <details> <summary>Release notes</summary> _Sourced from [OpenTelemetry.Instrumentation.Runtime's releases](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/releases)._ ## 1.15.1 * NuGet: [OpenTelemetry.Instrumentation.AspNet v1.15.1](https://www.nuget.org/packages/OpenTelemetry.Instrumentation.AspNet/1.15.1) No notable changes. See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/Instrumentation.AspNet-1.15.1/src/OpenTelemetry.Instrumentation.AspNet/CHANGELOG.md) for details. * NuGet: [OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule v1.15.1](https://www.nuget.org/packages/OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule/1.15.1) * Propagate baggage before `Activity` is created. ([#3820](open-telemetry/opentelemetry-dotnet-contrib#3820)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/Instrumentation.AspNet-1.15.1/src/OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule/CHANGELOG.md) for details. ## 1.15.1-beta.2 * NuGet: [OpenTelemetry.Instrumentation.Wcf v1.15.1-beta.2](https://www.nuget.org/packages/OpenTelemetry.Instrumentation.Wcf/1.15.1-beta.2) * Revert `System.Security.Cryptography.Xml` dependency version update for .NET 8, 9, and 10 to `4.7.1` released in 1.15.1-beta.1 introduced in [#4103](open-telemetry/opentelemetry-dotnet-contrib#4103). ([#4266](open-telemetry/opentelemetry-dotnet-contrib#4266)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/Instrumentation.Wcf-1.15.1-beta.2/src/OpenTelemetry.Instrumentation.Wcf/CHANGELOG.md) for details. ## 1.15.1-beta.1 * NuGet: [OpenTelemetry.Extensions.Enrichment v1.15.1-beta.1](https://www.nuget.org/packages/OpenTelemetry.Extensions.Enrichment/1.15.1-beta.1) * Updated OpenTelemetry core component version(s) to `1.15.3`. ([#4166](open-telemetry/opentelemetry-dotnet-contrib#4166)) * Fixed trace enrichment callbacks so exceptions thrown by user-provided enrichers or enrichment actions no longer interrupt trace processing. ([#4165](open-telemetry/opentelemetry-dotnet-contrib#4165)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/Extensions.Enrichment-1.15.1-beta.1/src/OpenTelemetry.Extensions.Enrichment/CHANGELOG.md) for details. ## 1.15.1-alpha.1 * NuGet: [OpenTelemetry.Instrumentation.EventCounters v1.15.1-alpha.1](https://www.nuget.org/packages/OpenTelemetry.Instrumentation.EventCounters/1.15.1-alpha.1) * Updated OpenTelemetry core component version(s) to `1.15.3`. ([#4166](open-telemetry/opentelemetry-dotnet-contrib#4166)) See [CHANGELOG](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/Instrumentation.EventCounters-1.15.1-alpha.1/src/OpenTelemetry.Instrumentation.EventCounters/CHANGELOG.md) for details. Commits viewable in [compare view](open-telemetry/opentelemetry-dotnet-contrib@Exporter.OneCollector-1.15.0...Instrumentation.AspNet-1.15.1). </details> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This was referenced Apr 22, 2026
Merged
Open
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes # N/A
Design discussion issue # N/A
Found by Codex analysis
Changes
Fixed trace enrichment callbacks so exceptions thrown by user-provided enrichers or enrichment actions no longer interrupt trace processing.
Merge requirement checklist
CHANGELOG.mdfiles updated for non-trivial changesChanges in public API reviewed (if applicable)