Skip to content

Commit ab47bae

Browse files
Update SentrySpanProcessor.cs
1 parent 3ea209a commit ab47bae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sentry.OpenTelemetry/SentrySpanProcessor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public override void OnEnd(Activity data)
182182
}
183183

184184
// Skip any activities that are not recorded.
185-
if (data is { Recorded: false, IsAllDataRequested: false })
185+
if (data is { Recorded: false })
186186
{
187187
_options?.DiagnosticLogger?.LogDebug($"Ignoring unrecorded Activity {data.SpanId}.");
188188
_map.TryRemove(data.SpanId, out _);

0 commit comments

Comments
 (0)