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