13 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)
845private static OtlpSpanStatusCode ConvertStatus(Status? status) 849Status.Types.StatusCode.Ok => OtlpSpanStatusCode.Ok, 850Status.Types.StatusCode.Error => OtlpSpanStatusCode.Error, 851Status.Types.StatusCode.Unset => OtlpSpanStatusCode.Unset, 852_ => OtlpSpanStatusCode.Unset
Aspire.Dashboard.Components.Tests (2)
tests\Shared\Telemetry\TelemetryTestHelpers.cs (2)
291KeyValuePair<string, string>[]? attributes = null, OtlpSpanStatusCode? statusCode = null, string? statusMessage = null) 306Status = statusCode ?? OtlpSpanStatusCode.Unset,
Aspire.Dashboard.Tests (3)
TelemetryRepositoryTests\OtlpSpanTests.cs (1)
26statusCode: OtlpSpanStatusCode.Ok, statusMessage: "Status message!", attributes: [new KeyValuePair<string, string>(KnownTraceFields.StatusMessageField, "value")]);
tests\Shared\Telemetry\TelemetryTestHelpers.cs (2)
291KeyValuePair<string, string>[]? attributes = null, OtlpSpanStatusCode? statusCode = null, string? statusMessage = null) 306Status = statusCode ?? OtlpSpanStatusCode.Unset,