10 references to OtlpSpanStatusCode
Aspire.Dashboard (8)
Model\Otlp\SpanWaterfallViewModel.cs (1)
22public bool IsError => Span.Status == OtlpSpanStatusCode.Error;
Model\TraceHelpers.cs (2)
63if (span.Status == OtlpSpanStatusCode.Error) 74new OrderedApplication(span.Source.Application, appFirstTimes.Count, currentMinDate.Value, totalSpans: 1, erroredSpans: span.Status == OtlpSpanStatusCode.Error ? 1 : 0));
Otlp\Storage\TelemetryRepository.cs (5)
745private static OtlpSpanStatusCode ConvertStatus(Status? status) 749Status.Types.StatusCode.Ok => OtlpSpanStatusCode.Ok, 750Status.Types.StatusCode.Error => OtlpSpanStatusCode.Error, 751Status.Types.StatusCode.Unset => OtlpSpanStatusCode.Unset, 752_ => OtlpSpanStatusCode.Unset
Aspire.Dashboard.Components.Tests (1)
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
304Status = OtlpSpanStatusCode.Unset,
Aspire.Dashboard.Tests (1)
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
304Status = OtlpSpanStatusCode.Unset,