21 references to ParentId
Microsoft.AspNetCore.Hosting.Tests (3)
HostingApplicationDiagnosticsTests.cs (2)
745Assert.Equal("ParentId1", Activity.Current.ParentId); 956parentId = activity.ParentId;
HostingApplicationTests.cs (1)
122Assert.Equal(activityFeature.Activity.Id, Activity.Current.ParentId);
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (4)
HubConnectionTests.Tracing.cs (4)
155Assert.Equal(clientActivity1.Id, a.ParentId); 167Assert.Equal(clientActivity2.Id, a.ParentId); 328Assert.Equal(clientActivity.Id, a.ParentId); 738Assert.Equal(clientActivity.Id, a.ParentId);
Microsoft.Extensions.Logging (1)
LoggerFactoryScopeProvider.cs (1)
315ActivityIdFormat.Hierarchical => activity.ParentId,
Microsoft.Extensions.Telemetry (1)
Logging\Import\LoggerFactoryScopeProvider.cs (1)
317ActivityIdFormat.Hierarchical => activity.ParentId,
Microsoft.Extensions.Telemetry.Tests (1)
Logging\ExtendedLoggerFactoryTests.cs (1)
671ActivityIdFormat.Hierarchical => activity.ParentId,
System.Diagnostics.DiagnosticSource (11)
System\Diagnostics\Activity.cs (10)
202/// <seealso cref="ParentId"/> 315else if (ParentId != null) 317rootId = GetRootId(ParentId); 690else if (ParentId != null || _parentSpanId != null) 720else if (ParentId != null || _parentSpanId != null) 1331else if (ParentId != null) 1334Debug.Assert(ParentId.Length != 0); 1338string parentId = ParentId[0] == '|' ? ParentId : '|' + ParentId;
System\Diagnostics\PassThroughPropagator.cs (1)
54parentId = activity?.ParentId ?? activity?.Id;