3 instantiations of BackchannelTraceContext
Aspire.Hosting.Tests (3)
Backchannel\BackchannelContractTests.cs (3)
186var traceContext = new BackchannelTraceContext 208? new BackchannelTraceContext 282new BackchannelTraceContext
28 references to BackchannelTraceContext
Aspire.Hosting (23)
Backchannel\AuxiliaryBackchannelRpcTarget.cs (2)
1545BackchannelTraceContext? traceContext, 1572BackchannelTraceContext? traceContext,
Backchannel\BackchannelDataTypes.cs (16)
114public BackchannelTraceContext? TraceContext { get; init; } 126public abstract BackchannelRequest WithTraceContext(BackchannelTraceContext traceContext); 135public override GetCapabilitiesRequest WithTraceContext(BackchannelTraceContext traceContext) => new() { TraceContext = traceContext }; 155public override GetAppHostInfoRequest WithTraceContext(BackchannelTraceContext traceContext) => new() { TraceContext = traceContext }; 200public override GetDashboardInfoRequest WithTraceContext(BackchannelTraceContext traceContext) => new() { TraceContext = traceContext }; 236public override WaitForAppHostReadyRequest WithTraceContext(BackchannelTraceContext traceContext) => new() { TraceContext = traceContext }; 266public override GetResourcesRequest WithTraceContext(BackchannelTraceContext traceContext) => new() 301public override WatchResourcesRequest WithTraceContext(BackchannelTraceContext traceContext) => new() 340public override GetConsoleLogsRequest WithTraceContext(BackchannelTraceContext traceContext) => new() 372public override CallMcpToolRequest WithTraceContext(BackchannelTraceContext traceContext) => new() 424public override StopAppHostRequest WithTraceContext(BackchannelTraceContext traceContext) => new() 473public override ExecuteResourceCommandRequest WithTraceContext(BackchannelTraceContext traceContext) => new() 642public override WaitForResourceRequest WithTraceContext(BackchannelTraceContext traceContext) => new() 1041public override GetPipelineStepsRequest WithTraceContext(BackchannelTraceContext traceContext) => new() 1592public override GetTerminalInfoRequest WithTraceContext(BackchannelTraceContext traceContext) 1742public override ListTerminalsRequest WithTraceContext(BackchannelTraceContext traceContext)
Diagnostics\ProfilingTelemetry.cs (5)
445public ActivityScope StartJsonRpcServerCall(string methodName, bool streaming, BackchannelTraceContext? traceContext = null) 568private ActivityScope StartActivityFromTraceContext(string name, ActivityKind activityKind, BackchannelTraceContext? traceContext) 632private static void AddBaggage(Activity? activity, BackchannelTraceContext? traceContext) 645private static void AddProfilingSessionId(Activity? activity, IConfiguration? configuration, BackchannelTraceContext? traceContext) 663private static bool TryGetBackchannelTraceParent(BackchannelTraceContext? traceContext, out ActivityContext parentContext)
Aspire.Hosting.Tests (5)
Backchannel\BackchannelContractTests.cs (5)
44typeof(BackchannelTraceContext), 105type != typeof(BackchannelTraceContext) && 186var traceContext = new BackchannelTraceContext 414BackchannelTraceContext context => $"{nameof(BackchannelTraceContext)}({context.Baggage.Count} baggage items)",