1 instantiation of OtlpLogEntry
Aspire.Dashboard (1)
Otlp\Storage\TelemetryRepository.cs (1)
315var logEntry = new OtlpLogEntry(record, application, scope, _dashboardOptions.TelemetryLimits);
20 references to OtlpLogEntry
Aspire.Dashboard (18)
Components\Pages\StructuredLogs.razor.cs (4)
104private async ValueTask<GridItemsProviderResult<OtlpLogEntry>> GetData(GridItemsProviderRequest<OtlpLogEntry> request) 234private async Task OnShowPropertiesAsync(OtlpLogEntry entry, string? buttonId) 349private string GetRowClass(OtlpLogEntry entry)
Model\Otlp\LogFilter.cs (6)
100private string? GetFieldValue(OtlpLogEntry x) 114public IEnumerable<OtlpLogEntry> Apply(IEnumerable<OtlpLogEntry> input) 118case nameof(OtlpLogEntry.TimeStamp): 124case nameof(OtlpLogEntry.Severity): 133case nameof(OtlpLogEntry.Message):
Model\StructuredLogsViewModel.cs (4)
15private PagedResult<OtlpLogEntry>? _logs; 72public PagedResult<OtlpLogEntry> GetLogs() 80filters.Add(new LogFilter { Field = nameof(OtlpLogEntry.Message), Condition = FilterCondition.Contains, Value = FilterText }); 85filters.Add(new LogFilter { Field = nameof(OtlpLogEntry.Severity), Condition = FilterCondition.GreaterThanOrEqual, Value = _logLevel.Value.ToString() });
Otlp\Storage\TelemetryRepository.cs (4)
37private readonly CircularBuffer<OtlpLogEntry> _logs; 315var logEntry = new OtlpLogEntry(record, application, scope, _dashboardOptions.TelemetryLimits); 371public PagedResult<OtlpLogEntry> GetLogs(GetLogsContext context) 380return PagedResult<OtlpLogEntry>.Empty;
Aspire.Dashboard.Tests (2)
TelemetryRepositoryTests\LogTests.cs (2)
748Filters = [new LogFilter { Condition = FilterCondition.Contains, Field = nameof(OtlpLogEntry.Message), Value = "does_not_contain" }] 756Filters = [new LogFilter { Condition = FilterCondition.Contains, Field = nameof(OtlpLogEntry.Message), Value = "message" }]