4 writes to TraceStateString
Microsoft.AspNetCore.Diagnostics (1)
src\Shared\Diagnostics\ActivityCreator.cs (1)
102activity.TraceStateString = traceState;
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (1)
src\Shared\Diagnostics\ActivityCreator.cs (1)
102activity.TraceStateString = traceState;
Microsoft.AspNetCore.Hosting (1)
src\Shared\Diagnostics\ActivityCreator.cs (1)
102activity.TraceStateString = traceState;
Microsoft.AspNetCore.SignalR.Core (1)
src\Shared\Diagnostics\ActivityCreator.cs (1)
102activity.TraceStateString = traceState;
11 references to TraceStateString
Microsoft.AspNetCore.Hosting.Tests (1)
HostingApplicationDiagnosticsTests.cs (1)
936Assert.Equal("TraceState1", Activity.Current.TraceStateString);
Microsoft.AspNetCore.SignalR.Tests (2)
HubConnectionHandlerTests.Activity.cs (2)
152Assert.Equal("TraceState1", invocationActivity.TraceStateString); 278Assert.Equal("TraceState1", invocationActivity.TraceStateString);
Microsoft.Extensions.Logging (1)
LoggerFactoryScopeProvider.cs (1)
160_items[count++] = new KeyValuePair<string, object?>("TraceState", activity.TraceStateString);
Microsoft.Extensions.Telemetry (1)
Logging\Import\LoggerFactoryScopeProvider.cs (1)
176_items[count++] = new KeyValuePair<string, object?>("TraceState", activity.TraceStateString);
Microsoft.Extensions.Telemetry.Tests (2)
Logging\ExtendedLoggerFactoryTests.cs (2)
152sb.Append(sb.Length > 0 ? $", TraceState:{activity.TraceStateString}" : $"TraceState:{activity.TraceStateString}");
System.Diagnostics.DiagnosticSource (4)
System\Diagnostics\Activity.cs (1)
778public ActivityContext Context => new ActivityContext(TraceId, SpanId, ActivityTraceFlags, TraceStateString);
System\Diagnostics\LegacyPropagator.cs (2)
32if (!string.IsNullOrEmpty(activity.TraceStateString)) 34setter(carrier, TraceState, activity.TraceStateString);
System\Diagnostics\PassThroughPropagator.cs (1)
53traceState = activity?.TraceStateString;