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