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