4 instantiations of LogSummary
Aspire.Dashboard (1)
Otlp\Storage\SqliteTelemetryRepository.Logs.cs (1)
386.Select(record => new LogSummary
Aspire.Dashboard.Tests (3)
Model\SpanWaterfallViewModelTests.cs (1)
58var log = new LogSummary
Model\TraceDetailPageViewModelTests.cs (1)
110var logSummary = new LogSummary
tests\Shared\Telemetry\InMemoryTelemetryRepository.cs (1)
546Items = result.Items.Select(log => new LogSummary
31 references to LogSummary
Aspire.Dashboard (23)
Components\Controls\StructuredLogActions.razor.cs (1)
26public required LogSummary LogEntry { get; set; }
Components\Pages\StructuredLogs.razor.cs (7)
50private FluentDataGrid<LogSummary>? _dataGrid; 131private async ValueTask<GridItemsProviderResult<LogSummary>> GetData(GridItemsProviderRequest<LogSummary> request) 315private Task OnShowPropertiesAsync(LogSummary summary, string? focusElementId) 396private string GetRowClass(LogSummary entry) 423if (_dataGrid != null && FluentDataGridHelper<LogSummary>.TrySetMaxItemCount(_dataGrid, 10_000)) 529private async Task LaunchGenAIVisualizerAsync(LogSummary logEntry)
Components\Pages\TraceDetail.razor.cs (1)
512private async Task ToggleSpanLogsAsync(LogSummary logEntry)
Components\ResourcesGridColumns\LogMessageColumnDisplay.razor.cs (3)
12public required LogSummary LogEntry { get; set; } 18public required EventCallback<LogSummary> LaunchGenAIVisualizerCallback { get; set; } 21public required Func<LogSummary, bool> IsGenAILogCallback { get; set; }
Model\Otlp\SpanLogEntryViewModel.cs (1)
13public required LogSummary LogEntry { get; init; }
Model\Otlp\SpanWaterfallViewModel.cs (3)
164public static List<SpanWaterfallViewModel> Create(OtlpTrace trace, List<LogSummary> logs, TraceDetailState state) 183static SpanWaterfallViewModel CreateViewModel(OtlpSpan span, int depth, bool hidden, TraceDetailState state, List<LogSummary>? spanLogs, ref int currentSpanLogIndex) 204foreach (var log in spanLogs)
Model\StructuredLogMenuBuilder.cs (1)
70LogSummary summary,
Model\StructuredLogsViewModel.cs (2)
16private PagedResult<LogSummary>? _logs; 79public async Task<PagedResult<LogSummary>> GetLogsAsync(CancellationToken cancellationToken)
Otlp\Storage\ITelemetryRepository.cs (1)
38Task<PagedResult<LogSummary>> GetLogSummariesAsync(GetLogsContext context, CancellationToken cancellationToken);
Otlp\Storage\SqliteTelemetryRepository.cs (1)
178public Task<PagedResult<LogSummary>> GetLogSummariesAsync(GetLogsContext context, CancellationToken cancellationToken) =>
Otlp\Storage\SqliteTelemetryRepository.Logs.cs (2)
276private PagedResult<LogSummary> GetLogSummariesFromDatabase(GetLogsContext context, CancellationToken cancellationToken) 382return new PagedResult<LogSummary>
Aspire.Dashboard.Components.Tests (2)
Shared\TestTelemetryRepository.cs (2)
12public Func<GetLogsContext, CancellationToken, Task<PagedResult<LogSummary>>>? GetLogSummariesAsyncHandler { get; init; } 34public Task<PagedResult<LogSummary>> GetLogSummariesAsync(GetLogsContext context, CancellationToken cancellationToken) =>
Aspire.Dashboard.Tests (6)
Model\SpanWaterfallViewModelTests.cs (1)
58var log = new LogSummary
Model\TraceDetailPageViewModelTests.cs (1)
110var logSummary = new LogSummary
TelemetryRepositoryTests\LogTests.cs (1)
1889var first = logs[0];
tests\Shared\Telemetry\InMemoryTelemetryRepository.cs (3)
535public Task<PagedResult<LogSummary>> GetLogSummariesAsync(GetLogsContext context, CancellationToken cancellationToken) 541private PagedResult<LogSummary> GetLogSummaries(GetLogsContext context) 544return new PagedResult<LogSummary>