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)
305
KnownKeys =
KnownTraceFields
.AllFields,
Model\Otlp\TelemetryFilter.cs (5)
32
KnownTraceFields
.NameField => "Name",
33
KnownTraceFields
.SpanIdField => "SpanId",
34
KnownTraceFields
.TraceIdField => "TraceId",
35
KnownTraceFields
.KindField => "Kind",
36
KnownTraceFields
.StatusField => "Status",
Otlp\Model\OtlpSpan.cs (10)
91
new OtlpDisplayField { DisplayName = "SpanId", Key =
KnownTraceFields
.SpanIdField, Value = SpanId },
92
new OtlpDisplayField { DisplayName = "Name", Key =
KnownTraceFields
.NameField, Value = Name },
93
new OtlpDisplayField { DisplayName = "Kind", Key =
KnownTraceFields
.KindField, Value = Kind.ToString() },
98
props.Add(new OtlpDisplayField { DisplayName = "Status", Key =
KnownTraceFields
.StatusField, Value = Status.ToString() });
103
props.Add(new OtlpDisplayField { DisplayName = "StatusMessage", Key =
KnownTraceFields
.StatusField, Value = Status.ToString() });
124
KnownTraceFields
.TraceIdField => span.TraceId,
125
KnownTraceFields
.SpanIdField => span.SpanId,
126
KnownTraceFields
.KindField => span.Kind.ToString(),
127
KnownTraceFields
.StatusField => span.Status.ToString(),
129
KnownTraceFields
.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")]