14 references to Client
Aspire.Dashboard (5)
Model\Otlp\SpanWaterfallViewModel.cs (1)
104var isUninstrumentedPeer = hasPeerService && span.Kind is OtlpSpanKind.Client or OtlpSpanKind.Producer && !span.GetChildSpans().Any();
Otlp\Model\OtlpHelpers.cs (1)
38SpanKind.Client => OtlpSpanKind.Client,
Otlp\Model\OtlpSpan.cs (1)
176if (span.Kind is OtlpSpanKind.Client or OtlpSpanKind.Producer or OtlpSpanKind.Consumer)
Otlp\Storage\SqliteTelemetryRepository.Traces.Writes.cs (2)
562if (hasPeerAddress && span.Kind is OtlpSpanKind.Client or OtlpSpanKind.Producer && !hasChildren) 1105if ((OtlpSpanKind)span.Kind is OtlpSpanKind.Client or OtlpSpanKind.Producer &&
Aspire.Dashboard.Tests (9)
Model\SpanWaterfallViewModelTests.cs (3)
84trace.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")])); 85trace.AddSpan(TelemetryTestHelpers.CreateOtlpSpan(app2, trace, scope, spanId: "2", parentSpanId: null, startDate: new DateTime(2001, 2, 1, 1, 1, 2, DateTimeKind.Utc), kind: OtlpSpanKind.Client)); 117kind: OtlpSpanKind.Client,
Model\TelemetryExportServiceTests.cs (1)
495kind: OtlpSpanKind.Client);
TelemetryRepositoryTests\OtlpSpanTests.cs (4)
96kind: OtlpSpanKind.Client, uninstrumentedPeer: app2); 116kind: OtlpSpanKind.Client); 137OtlpSpanKind.Client, 148OtlpSpanKind.Client,
TelemetryRepositoryTests\TraceTests.cs (1)
28[InlineData(OtlpSpanKind.Client, Span.Types.SpanKind.Client)]