Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public void OnStartActivity(Activity activity, object? payload)
if (ctx.ActivityContext.IsValid()
&& !((ctx.ActivityContext.TraceId == activity.TraceId)
&& (ctx.ActivityContext.SpanId == activity.ParentSpanId)
&& (ctx.ActivityContext.TraceState == activity.TraceStateString)))
&& ((ctx.ActivityContext.TraceState ?? string.Empty) == (activity.TraceStateString ?? string.Empty))))
{
// Create a new activity with its parent set from the extracted context.
// This makes the new activity as a "sibling" of the activity created by
Expand Down
Loading