13 references to Client
Aspire.Dashboard (4)
Model\Otlp\SpanWaterfallViewModel.cs (1)
162
var isUninstrumentedPeer = hasPeerService && span.Kind is OtlpSpanKind.
Client
or OtlpSpanKind.Producer && !span.GetChildSpans().Any();
Otlp\Model\OtlpSpan.cs (1)
174
if (span.Kind is OtlpSpanKind.
Client
or OtlpSpanKind.Producer or OtlpSpanKind.Consumer)
Otlp\Storage\TelemetryRepository.cs (2)
958
SpanKind.Client => OtlpSpanKind.
Client
,
1146
var hasUninstrumentedPeer = hasPeerService && span.Kind is OtlpSpanKind.
Client
or OtlpSpanKind.Producer && !span.GetChildSpans().Any();
Aspire.Dashboard.Tests (9)
Model\SpanWaterfallViewModelTests.cs (4)
88
trace.AddSpan(TelemetryTestHelpers.CreateOtlpSpan(app1, trace, scope, spanId: "1", parentSpanId: null, startDate: new DateTime(2001, 1, 1, 1, 1, 2, DateTimeKind.Utc), kind: OtlpSpanKind.
Client
, attributes: [KeyValuePair.Create("http.url", "http://localhost:59267/6eed7c2dedc14419901b813e8fe87a86/getScriptTag"), KeyValuePair.Create("server.address", "localhost")]));
89
trace.AddSpan(TelemetryTestHelpers.CreateOtlpSpan(app2, trace, scope, spanId: "2", parentSpanId: null, startDate: new DateTime(2001, 2, 1, 1, 1, 2, DateTimeKind.Utc), kind: OtlpSpanKind.
Client
));
138
kind: OtlpSpanKind.
Client
);
198
kind: OtlpSpanKind.
Client
);
TelemetryRepositoryTests\OtlpSpanTests.cs (4)
96
kind: OtlpSpanKind.
Client
, uninstrumentedPeer: app2);
116
kind: OtlpSpanKind.
Client
);
137
OtlpSpanKind.
Client
,
148
OtlpSpanKind.
Client
,
TelemetryRepositoryTests\TraceTests.cs (1)
27
[InlineData(OtlpSpanKind.
Client
, Span.Types.SpanKind.Client)]