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)
49using var activity = profilingTelemetry.StartJsonRpcServerCall(nameof(GetCapabilitiesAsync), streaming: false, request?.TraceContext); 72using var activity = profilingTelemetry.StartJsonRpcServerCall(nameof(GetAppHostInfoAsync), streaming: false, request?.TraceContext); 95using var activity = profilingTelemetry.StartJsonRpcServerCall(nameof(GetDashboardInfoAsync), streaming: false, request?.TraceContext); 126using var activity = profilingTelemetry.StartJsonRpcServerCall(nameof(GetResourcesAsync), streaming: false, request?.TraceContext); 150using var activity = profilingTelemetry.StartJsonRpcServerCall(nameof(WatchResourcesAsync), streaming: true, request?.TraceContext); 192request.TraceContext, 212request.TraceContext, 230using var activity = profilingTelemetry.StartJsonRpcServerCall(nameof(CallMcpToolAsync), streaming: false, request.TraceContext); 263using var activity = profilingTelemetry.StartJsonRpcServerCall(nameof(StopAsync), streaming: false, request?.TraceContext); 277using var activity = profilingTelemetry.StartJsonRpcServerCall(nameof(ExecuteResourceCommandAsync), streaming: false, request.TraceContext); 637using var activity = profilingTelemetry.StartJsonRpcServerCall(nameof(WaitForResourceAsync), streaming: false, request.TraceContext); 948using 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)