22 references to KnownTraceFields
Aspire.Dashboard (18)
Components\Controls\SpanDetails.razor.cs (2)
74_contextAttributes.Add(new TelemetryPropertyViewModel { Name = "ParentId", Key = KnownTraceFields.ParentIdField, Value = ViewModel.Span.ParentSpanId }); 78_contextAttributes.Add(new TelemetryPropertyViewModel { Name = "TraceId", Key = KnownTraceFields.TraceIdField, Value = ViewModel.Span.TraceId });
Components\Pages\Traces.razor.cs (1)
305KnownKeys = KnownTraceFields.AllFields,
Model\Otlp\TelemetryFilter.cs (5)
32KnownTraceFields.NameField => "Name", 33KnownTraceFields.SpanIdField => "SpanId", 34KnownTraceFields.TraceIdField => "TraceId", 35KnownTraceFields.KindField => "Kind", 36KnownTraceFields.StatusField => "Status",
Otlp\Model\OtlpSpan.cs (10)
91new OtlpDisplayField { DisplayName = "SpanId", Key = KnownTraceFields.SpanIdField, Value = SpanId }, 92new OtlpDisplayField { DisplayName = "Name", Key = KnownTraceFields.NameField, Value = Name }, 93new OtlpDisplayField { DisplayName = "Kind", Key = KnownTraceFields.KindField, Value = Kind.ToString() }, 98props.Add(new OtlpDisplayField { DisplayName = "Status", Key = KnownTraceFields.StatusField, Value = Status.ToString() }); 103props.Add(new OtlpDisplayField { DisplayName = "StatusMessage", Key = KnownTraceFields.StatusField, Value = Status.ToString() }); 124KnownTraceFields.TraceIdField => span.TraceId, 125KnownTraceFields.SpanIdField => span.SpanId, 126KnownTraceFields.KindField => span.Kind.ToString(), 127KnownTraceFields.StatusField => span.Status.ToString(), 129KnownTraceFields.NameField => span.Name,
Aspire.Dashboard.Tests (4)
TelemetryRepositoryTests\TraceTests.cs (4)
1231[InlineData(KnownTraceFields.TraceIdField, "31")] 1232[InlineData(KnownTraceFields.SpanIdField, "312d31")] 1233[InlineData(KnownTraceFields.StatusField, "Unset")] 1234[InlineData(KnownTraceFields.KindField, "Internal")]