12 references to TraceId
Aspire.StackExchange.Redis (1)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\StackExchangeRedisConnectionInstrumentation.cs (1)
86var cacheKey = (parent.TraceId, parent.SpanId);
Microsoft.AspNetCore.Hosting.Tests (2)
HostingApplicationDiagnosticsTests.cs (2)
939Assert.Equal("0123456789abcdef0123456789abcdef", Activity.Current.TraceId.ToHexString()); 963traceId = activity.TraceId.ToHexString();
Microsoft.AspNetCore.SignalR.Tests (2)
HubConnectionHandlerTests.Activity.cs (2)
150Assert.Equal("0123456789abcdef0123456789abcdef", invocationActivity.TraceId.ToHexString()); 276Assert.Equal("0123456789abcdef0123456789abcdef", invocationActivity.TraceId.ToHexString());
Microsoft.Extensions.Logging (1)
LoggerFactoryScopeProvider.cs (1)
306ActivityIdFormat.W3C => activity.TraceId.ToHexString(),
Microsoft.Extensions.Logging.EventSource (1)
EventSourceLogger.cs (1)
81activityTraceId = activity.TraceId.ToHexString();
Microsoft.Extensions.Telemetry (1)
Logging\Import\LoggerFactoryScopeProvider.cs (1)
324ActivityIdFormat.W3C => activity.TraceId.ToHexString(),
Microsoft.Extensions.Telemetry.Tests (1)
Logging\ExtendedLoggerFactoryTests.cs (1)
660ActivityIdFormat.W3C => activity.TraceId.ToHexString(),
Stress.ApiService (1)
TraceCreator.cs (1)
28typeof(Activity).GetField("_traceId", BindingFlags.Instance | BindingFlags.NonPublic)!.SetValue(activity, activity.TraceId.ToString());
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Activity.cs (2)
778public ActivityContext Context => new ActivityContext(TraceId, SpanId, ActivityTraceFlags, TraceStateString); 1429_traceId = Parent.TraceId.ToHexString();