14 writes to TraceContext
Aspire.Hosting (14)
Backchannel\BackchannelDataTypes.cs (14)
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 }; 268TraceContext = traceContext, 303TraceContext = traceContext, 342TraceContext = traceContext, 374TraceContext = traceContext, 426TraceContext = traceContext, 475TraceContext = traceContext, 644TraceContext = traceContext, 1043TraceContext = traceContext, 1593=> new() { ResourceName = ResourceName, TraceContext = traceContext }; 1743=> new() { TraceContext = traceContext };
15 references to TraceContext
Aspire.Hosting (13)
Backchannel\AppHostRpcTarget.cs (1)
293using var activity = profilingTelemetry.StartJsonRpcServerCall(nameof(GetPipelineStepsAsync), streaming: false, request?.TraceContext);
Backchannel\AuxiliaryBackchannelRpcTarget.cs (12)
51using var activity = profilingTelemetry.StartJsonRpcServerCall(nameof(GetCapabilitiesAsync), streaming: false, request?.TraceContext); 74using var activity = profilingTelemetry.StartJsonRpcServerCall(nameof(GetAppHostInfoAsync), streaming: false, request?.TraceContext); 97using var activity = profilingTelemetry.StartJsonRpcServerCall(nameof(GetDashboardInfoAsync), streaming: false, request?.TraceContext); 128using var activity = profilingTelemetry.StartJsonRpcServerCall(nameof(GetResourcesAsync), streaming: false, request?.TraceContext); 152using var activity = profilingTelemetry.StartJsonRpcServerCall(nameof(WatchResourcesAsync), streaming: true, request?.TraceContext); 194request.TraceContext, 214request.TraceContext, 232using var activity = profilingTelemetry.StartJsonRpcServerCall(nameof(CallMcpToolAsync), streaming: false, request.TraceContext); 265using var activity = profilingTelemetry.StartJsonRpcServerCall(nameof(StopAsync), streaming: false, request?.TraceContext); 279using var activity = profilingTelemetry.StartJsonRpcServerCall(nameof(ExecuteResourceCommandAsync), streaming: false, request.TraceContext); 659using var activity = profilingTelemetry.StartJsonRpcServerCall(nameof(WaitForResourceAsync), streaming: false, request.TraceContext); 970using var activity = profilingTelemetry.StartJsonRpcServerCall(nameof(WaitForAppHostReadyAsync), streaming: false, request?.TraceContext);
Aspire.Hosting.Tests (2)
Backchannel\BackchannelContractTests.cs (2)
207var value = property.Name == nameof(BackchannelRequest.TraceContext) 231var expectedValue = property.Name == nameof(BackchannelRequest.TraceContext)