1 write to Attributes
Aspire.Dashboard (1)
Otlp\Model\OtlpLogEntry.cs (1)
37
Attributes
= record.Attributes.ToKeyValuePairs(context, filter: attribute =>
13 references to Attributes
Aspire.Dashboard (7)
Components\Controls\StructuredLogDetails.razor.cs (1)
72
var attributes = _viewModel.LogEntry.
Attributes
Model\GenAI\GenAIVisualizerDialogViewModel.cs (1)
197
if (item.
Attributes
.GetValue("event.name") is { } name && TryMapEventName(name, out var type))
Model\StructureLogsDetailsViewModel.cs (2)
15
var eventName = OtlpHelpers.GetValue(logEntry.
Attributes
, "event.name")
16
?? OtlpHelpers.GetValue(logEntry.
Attributes
, "logrecord.event.name")
Otlp\Model\OtlpLogEntry.cs (2)
122
_ => log.
Attributes
.GetValue(field)
153
return logEntry.
Attributes
.GetValue(propertyName);
Otlp\Storage\TelemetryRepository.cs (1)
381
foreach (var kvp in logEntry.
Attributes
)
Aspire.Dashboard.Tests (6)
TelemetryRepositoryTests\LogTests.cs (6)
80
Assert.Collection(resource.
Attributes
,
672
Assert.Collection(resource.
Attributes
,
892
Assert.Collection(resource.
Attributes
,
915
Assert.Collection(resource.
Attributes
,
988
Assert.Collection(resource.
Attributes
,
999
Assert.Collection(resource.
Attributes
,