23 references to SpanId
Aspire.Cli.Tests (2)
DotNet\DotNetCliRunnerTests.cs (2)
817runSpanId = Activity.Current!.SpanId; 844Assert.NotEqual(processActivity.SpanId, backchannelActivity.ParentSpanId);
Aspire.Dashboard.Tests (5)
TelemetryRepositoryTests\MetricsTests.cs (5)
1709.Where(activity => activity.ParentSpanId == parent.SpanId) 1737.Where(activity => activity.ParentSpanId == parent.SpanId) 2164.Where(activity => activity.ParentSpanId == parent.SpanId) 2289.Where(activity => activity.ParentSpanId == parent.SpanId) 2348.Where(activity => activity.ParentSpanId == parent.SpanId)
Aspire.Hosting.RemoteHost.Tests (2)
RemoteHostProfilingTelemetryTests.cs (2)
29parentSpanId = parent.SpanId; 170var clientSpanId = clientActivity.SpanId;
Aspire.Hosting.Tests (3)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (1)
2233var clientSpanId = clientActivity.SpanId;
Backchannel\BackchannelContractTests.cs (2)
267Assert.Equal(clientActivity.SpanId, Activity.Current.ParentSpanId); 325Assert.Equal(processActivity.SpanId, dcpActivity.ParentSpanId);
Aspire.StackExchange.Redis (1)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\StackExchangeRedisConnectionInstrumentation.cs (1)
102var cacheKey = (parent.TraceId, parent.SpanId);
dotnet-aot (1)
parent\dotnet\Telemetry\TelemetryDiskLogger.cs (1)
80spanId: activity.SpanId.ToString(),
Microsoft.DotNet.Cli.Telemetry (1)
Implementation\AzureMonitorTelemetrySerializer.cs (1)
53var spanId = activity.SpanId.ToHexString();
Microsoft.Extensions.Logging (1)
LoggerFactoryScopeProvider.cs (1)
296ActivityIdFormat.W3C => activity.SpanId.ToHexString(),
Microsoft.Extensions.Logging.EventSource (1)
EventSourceLogger.cs (1)
101activitySpanId = activity.SpanId.ToHexString();
Microsoft.Extensions.Telemetry (1)
Logging\Import\LoggerFactoryScopeProvider.cs (1)
310ActivityIdFormat.W3C => activity.SpanId.ToHexString(),
Microsoft.Extensions.Telemetry.Tests (1)
Logging\ExtendedLoggerFactoryTests.cs (1)
663ActivityIdFormat.W3C => activity.SpanId.ToHexString(),
Stress.ApiService (1)
ProducerConsumer.cs (1)
35links.Add(new ActivityLink(new ActivityContext(item.Producer.TraceId, item.Producer.SpanId, ActivityTraceFlags.None)));
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\Activity.cs (3)
784public ActivityContext Context => new ActivityContext(TraceId, SpanId, ActivityTraceFlags, TraceStateString); 1004parentSpanId = Parent.SpanId.ToHexString(); 2284public ActivitySpanId SpanId => activity.SpanId;