1 write to _contextAttributes
Aspire.Dashboard (1)
Components\Controls\StructuredLogDetails.razor.cs (1)
61
_contextAttributes
=
5 references to _contextAttributes
Aspire.Dashboard (5)
Components\Controls\StructuredLogDetails.razor.cs (5)
29
_contextAttributes
.Where(ApplyFilter).AsQueryable();
65
MoveAttributes(attributes,
_contextAttributes
, a => a.Name is "event.name" or "logrecord.event.id" or "logrecord.event.name");
68
_contextAttributes
.Add(new TelemetryPropertyViewModel { Name = "TraceId", Key = KnownStructuredLogFields.TraceIdField, Value = _viewModel.LogEntry.TraceId });
72
_contextAttributes
.Add(new TelemetryPropertyViewModel { Name = "SpanId", Key = KnownStructuredLogFields.SpanIdField, Value = _viewModel.LogEntry.SpanId });
76
_contextAttributes
.Add(new TelemetryPropertyViewModel { Name = "ParentId", Key = KnownStructuredLogFields.ParentIdField, Value = _viewModel.LogEntry.ParentId });