9 writes to ActivityTraceFlags
Aspire.Microsoft.Data.SqlClient (2)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Implementation\SqlClientDiagnosticListener.cs (2)
84activity.ActivityTraceFlags &= ~ActivityTraceFlags.Recorded; 92activity.ActivityTraceFlags &= ~ActivityTraceFlags.Recorded;
Aspire.Microsoft.EntityFrameworkCore.SqlServer (2)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Implementation\SqlClientDiagnosticListener.cs (2)
84activity.ActivityTraceFlags &= ~ActivityTraceFlags.Recorded; 92activity.ActivityTraceFlags &= ~ActivityTraceFlags.Recorded;
Microsoft.AspNetCore.Hosting.Tests (1)
HostingApplicationDiagnosticsTests.cs (1)
1009activity.ActivityTraceFlags = ActivityTraceFlags.Recorded;
System.Diagnostics.DiagnosticSource (4)
System\Diagnostics\Activity.cs (4)
728ActivityTraceFlags = activityTraceFlags; 1238activity.ActivityTraceFlags = parentContext.TraceFlags & ~ActivityTraceFlags.Recorded; 1247activity.ActivityTraceFlags |= ActivityTraceFlags.Recorded; 1453ActivityTraceFlags = Parent.ActivityTraceFlags;
8 references to ActivityTraceFlags
Microsoft.Extensions.Logging (1)
LoggerFactoryScopeProvider.cs (1)
165_items[count++] = new KeyValuePair<string, object?>("TraceFlags", activity.ActivityTraceFlags);
Microsoft.Extensions.Logging.EventSource (1)
EventSourceLogger.cs (1)
83activityTraceFlags = activity.ActivityTraceFlags == ActivityTraceFlags.None
Microsoft.Extensions.Telemetry (1)
Logging\Import\LoggerFactoryScopeProvider.cs (1)
181_items[count++] = new KeyValuePair<string, object?>("TraceFlags", activity.ActivityTraceFlags);
Microsoft.Extensions.Telemetry.Tests (2)
Logging\ExtendedLoggerFactoryTests.cs (2)
157sb.Append(sb.Length > 0 ? $", TraceFlags:{activity.ActivityTraceFlags}" : $"TraceFlags:{activity.ActivityTraceFlags}");
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\Activity.cs (3)
778public ActivityContext Context => new ActivityContext(TraceId, SpanId, ActivityTraceFlags, TraceStateString); 945public bool Recorded { get => (ActivityTraceFlags & ActivityTraceFlags.Recorded) != 0; } 1453ActivityTraceFlags = Parent.ActivityTraceFlags;