1 write to EventName
Aspire.Dashboard (1)
Otlp\Model\OtlpLogEntry.cs (1)
80
EventName
= !string.IsNullOrEmpty(record.EventName) ? record.EventName : eventNameFromAttribute;
10 references to EventName
Aspire.Dashboard (6)
Components\Controls\StructuredLogDetails.razor.cs (2)
89
if (!string.IsNullOrEmpty(_viewModel.LogEntry.
EventName
))
91
_contextAttributes.Add(new TelemetryPropertyViewModel { Name = "EventName", Key = KnownStructuredLogFields.EventNameField, Value = _viewModel.LogEntry.
EventName
});
Model\TelemetryExportService.cs (1)
203
EventName = log.
EventName
Otlp\Model\OtlpHelpers.cs (2)
515
if (!string.IsNullOrEmpty(logEntry.
EventName
))
517
return logEntry.
EventName
;
Otlp\Model\OtlpLogEntry.cs (1)
134
KnownStructuredLogFields.EventNameField => log.
EventName
,
Aspire.Dashboard.Tests (4)
TelemetryRepositoryTests\LogTests.cs (4)
1343
Assert.Equal("TestEvent", resource.
EventName
);
1384
Assert.Equal("LegacyEvent", resource.
EventName
);
1428
Assert.Equal("FieldEvent", resource.
EventName
);
1469
Assert.Null(resource.
EventName
);