1 write to SpanId
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\ActivityContext.cs (1)
29
SpanId
= spanId;
8 references to SpanId
Microsoft.AspNetCore.Hosting.Tests (1)
HostingApplicationDiagnosticsTests.cs (1)
985
Assert.Equal("40a8bd87c078cb4c", options.Parent.
SpanId
.ToHexString());
Microsoft.AspNetCore.SignalR.Tests (1)
HubConnectionHandlerTests.Activity.cs (1)
523
Assert.Equal(linkedActivity.SpanId, Assert.Single(activity.Links).Context.
SpanId
);
Stress.ApiService (1)
TraceCreator.cs (1)
75
using var activity = s_activitySource.StartActivity(ActivityKind.Client, name: name, links: links.DistinctBy(l => l.Context.
SpanId
));
System.Diagnostics.DiagnosticSource (5)
System\Diagnostics\Activity.cs (2)
1231
if (parentContext.
SpanId
!= default)
1233
activity._parentSpanId = parentContext.
SpanId
.ToString();
System\Diagnostics\ActivityContext.cs (2)
112
public bool Equals(ActivityContext value) =>
SpanId
.Equals(value.
SpanId
) && TraceId.Equals(value.TraceId) && TraceFlags == value.TraceFlags && TraceState == value.TraceState && IsRemote == value.IsRemote;
System\Diagnostics\ActivityContext.netcoreapp.cs (1)
12
public override int GetHashCode() => HashCode.Combine(TraceId,
SpanId
, TraceFlags, TraceState);