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