28 references to TraceId
Microsoft.AspNetCore (2)
WebApplicationBuilder.cs (1)
323ActivityTrackingOptions.TraceId |
WebHost.cs (1)
199| ActivityTrackingOptions.TraceId
Microsoft.Extensions.Hosting (1)
HostingHostBuilderExtensions.cs (1)
314ActivityTrackingOptions.TraceId |
Microsoft.Extensions.Logging (2)
LoggerFactory.cs (1)
87const ActivityTrackingOptions ActivityTrackingOptionsMask = ~(ActivityTrackingOptions.SpanId | ActivityTrackingOptions.TraceId | ActivityTrackingOptions.ParentId |
LoggerFactoryScopeProvider.cs (1)
148if ((activityTrackingOption & ActivityTrackingOptions.TraceId) != 0)
Microsoft.Extensions.Telemetry (2)
Logging\ExtendedLoggerFactory.cs (1)
49const ActivityTrackingOptions ActivityTrackingOptionsMask = ~(ActivityTrackingOptions.SpanId | ActivityTrackingOptions.TraceId | ActivityTrackingOptions.ParentId |
Logging\Import\LoggerFactoryScopeProvider.cs (1)
164if ((activityTrackingOption & ActivityTrackingOptions.TraceId) != 0)
Microsoft.Extensions.Telemetry.Tests (21)
Logging\ExtendedLoggerFactoryTests.cs (21)
140if ((options & ActivityTrackingOptions.TraceId) != 0) 165[InlineData(ActivityTrackingOptions.TraceId)] 169[InlineData(ActivityTrackingOptions.SpanId | ActivityTrackingOptions.TraceId)] 173[InlineData(ActivityTrackingOptions.TraceId | ActivityTrackingOptions.ParentId)] 174[InlineData(ActivityTrackingOptions.TraceId | ActivityTrackingOptions.TraceState)] 175[InlineData(ActivityTrackingOptions.TraceId | ActivityTrackingOptions.TraceFlags)] 179[InlineData(ActivityTrackingOptions.SpanId | ActivityTrackingOptions.TraceId | ActivityTrackingOptions.ParentId)] 180[InlineData(ActivityTrackingOptions.SpanId | ActivityTrackingOptions.TraceId | ActivityTrackingOptions.TraceState)] 181[InlineData(ActivityTrackingOptions.SpanId | ActivityTrackingOptions.TraceId | ActivityTrackingOptions.TraceFlags)] 185[InlineData(ActivityTrackingOptions.TraceId | ActivityTrackingOptions.ParentId | ActivityTrackingOptions.TraceState)] 186[InlineData(ActivityTrackingOptions.TraceId | ActivityTrackingOptions.ParentId | ActivityTrackingOptions.TraceFlags)] 187[InlineData(ActivityTrackingOptions.TraceId | ActivityTrackingOptions.TraceState | ActivityTrackingOptions.TraceFlags)] 188[InlineData(ActivityTrackingOptions.SpanId | ActivityTrackingOptions.TraceId | ActivityTrackingOptions.ParentId | ActivityTrackingOptions.TraceState)] 189[InlineData(ActivityTrackingOptions.SpanId | ActivityTrackingOptions.TraceId | ActivityTrackingOptions.ParentId | ActivityTrackingOptions.TraceFlags)] 190[InlineData(ActivityTrackingOptions.TraceId | ActivityTrackingOptions.ParentId | ActivityTrackingOptions.TraceState | ActivityTrackingOptions.TraceFlags)] 191[InlineData(ActivityTrackingOptions.SpanId | ActivityTrackingOptions.TraceId | ActivityTrackingOptions.ParentId | ActivityTrackingOptions.TraceState | ActivityTrackingOptions.TraceFlags)] 282.Configure(o => o.ActivityTrackingOptions = ActivityTrackingOptions.TraceId | ActivityTrackingOptions.Tags) 311.Configure(o => o.ActivityTrackingOptions = ActivityTrackingOptions.TraceId | ActivityTrackingOptions.Baggage | ActivityTrackingOptions.Tags) 322string traceIdActivityLogString = GetActivityLogString(ActivityTrackingOptions.TraceId); 413.Configure(o => o.ActivityTrackingOptions = ActivityTrackingOptions.TraceId | ActivityTrackingOptions.Baggage | ActivityTrackingOptions.Tags) 422string traceIdActivityLogString = GetActivityLogString(ActivityTrackingOptions.TraceId);