14 references to Client
Aspire.Dashboard (5)
Model\Otlp\SpanWaterfallViewModel.cs (1)
104
var isUninstrumentedPeer = hasPeerService && span.Kind is OtlpSpanKind.
Client
or OtlpSpanKind.Producer && !span.GetChildSpans().Any();
Otlp\Model\OtlpHelpers.cs (1)
38
SpanKind.Client => OtlpSpanKind.
Client
,
Otlp\Model\OtlpSpan.cs (1)
176
if (span.Kind is OtlpSpanKind.
Client
or OtlpSpanKind.Producer or OtlpSpanKind.Consumer)
Otlp\Storage\SqliteTelemetryRepository.Traces.Writes.cs (2)
562
if (hasPeerAddress && span.Kind is OtlpSpanKind.
Client
or OtlpSpanKind.Producer && !hasChildren)
1105
if ((OtlpSpanKind)span.Kind is OtlpSpanKind.
Client
or OtlpSpanKind.Producer &&
Aspire.Dashboard.Tests (9)
Model\SpanWaterfallViewModelTests.cs (3)
84
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/getScriptTag"), KeyValuePair.Create("server.address", "localhost")]));
85
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
));
117
kind: OtlpSpanKind.
Client
,
Model\TelemetryExportServiceTests.cs (1)
495
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)
28
[InlineData(OtlpSpanKind.
Client
, Span.Types.SpanKind.Client)]