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