We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d189a78 commit aa2f820Copy full SHA for aa2f820
src/Sentry.OpenTelemetry/SentrySpanProcessor.cs
@@ -157,7 +157,7 @@ public override void OnEnd(Activity data)
157
158
// Transactions set otel attributes (and resource attributes) as context.
159
transaction.Contexts["otel"] = GetOtelContext(attributes);
160
-
+ // Events are received/processed in a different AsyncLocal context. Restoring the scope that started it.
161
var activityScope = data.GetFused<Scope>();
162
if (activityScope is { } savedScope && _hub is Hub hub)
163
{
0 commit comments