4 instantiations of OverviewLog
Aspire.Dashboard (1)
Otlp\Storage\SqliteTelemetryRepository.Logs.cs (1)
461recent.Add(new OverviewLog(id, new DateTime(row.TimestampTicks!.Value, DateTimeKind.Utc),
Aspire.Dashboard.Components.Tests (3)
Pages\ResourceOverviewConsoleTests.cs (3)
158new OverviewLog(1, timestamp, LogLevel.Error, "old api error", resource), 159new OverviewLog(2, timestamp, LogLevel.Warning, "old api warning", resource) 164return new OverviewLogs(1, 0, 0, [new OverviewLog(3, timestamp, LogLevel.Information, "current cache log", resource)]);
6 references to OverviewLog
Aspire.Dashboard (5)
Components\Controls\ApplicationSummary.razor.cs (1)
1080public required List<OverviewLog> RecentErrors { get; init; }
Components\Pages\ResourceOverview.razor.cs (2)
782public required List<OverviewLog> RecentAttentionLogs { get; init; } 783public required List<OverviewLog> RecentLogs { get; init; }
Otlp\Storage\OverviewLogs.cs (1)
8public sealed record OverviewLogs(int TotalCount, int WarningCount, int ErrorCount, List<OverviewLog> Recent);
Otlp\Storage\SqliteTelemetryRepository.Logs.cs (1)
455var recent = new List<OverviewLog>(rows.Count);
Aspire.Dashboard.Tests (1)
TelemetryRepositoryTests\LogTests.cs (1)
1915var log = Assert.Single(overview.Recent);