44 writes to Count
Aspire.Dashboard (13)
Api\TelemetryApiService.cs (1)
249Count = MaxQueryCount,
Components\Pages\StructuredLogs.razor.cs (1)
602Count = int.MaxValue,
Mcp\AspireTelemetryMcpTools.cs (2)
61Count = int.MaxValue, 162Count = int.MaxValue,
Model\Assistant\AssistantChatDataContext.cs (2)
130Count = int.MaxValue, 210Count = int.MaxValue,
Model\GenAI\GenAIVisualizerDialogViewModel.cs (1)
568Count = int.MaxValue,
Model\StructuredLogsViewModel.cs (2)
120Count = Count, 159Count = count,
Otlp\Storage\GetLogsContext.cs (1)
19Count = int.MaxValue,
Otlp\Storage\TelemetryRepository.cs (2)
490Count = int.MaxValue, 521Count = int.MaxValue,
Otlp\Storage\TelemetryRepository.Watchers.cs (1)
159Count = MaxWatcherSnapshotCount,
Aspire.Dashboard.Tests (31)
Integration\OtlpHttpJsonTests.cs (2)
496Count = 10, 573Count = 10,
Model\TelemetryExportServiceTests.cs (1)
56Count = int.MaxValue,
TelemetryRepositoryTests\LogTests.cs (21)
69Count = 10, 124Count = 10, 176Count = 10, 424Count = 10, 522Count = 1, 664Count = 10, 812Count = 1, 820Count = 1, 859Count = 1, 867Count = 1, 928Count = 10, 951Count = 10, 1027Count = 10, 1117Count = 10, 1182Count = 10, 1256Count = 10, 1296Count = 10, 1337Count = 10, 1378Count = 10, 1421Count = 10, 1463Count = 10,
TelemetryRepositoryTests\TelemetryRepositoryTests.cs (7)
41Assert.Empty(repository.GetLogs(new GetLogsContext { ResourceKey = resourceKey, Count = 100, Filters = [], StartIndex = 0 }).Items); 52Assert.Single(repository.GetLogs(new GetLogsContext { ResourceKey = resourceKey, Count = 100, Filters = [], StartIndex = 0 }).Items); 233var logs = repository.GetLogs(new GetLogsContext { ResourceKey = null, StartIndex = 0, Count = 10, Filters = [] }); 245var resource2Logs = repository.GetLogs(new GetLogsContext { ResourceKey = resource2Key, StartIndex = 0, Count = 10, Filters = [] }); 274var logs = repository.GetLogs(new GetLogsContext { ResourceKey = null, StartIndex = 0, Count = 10, Filters = [] }); 318var logs = repository.GetLogs(new GetLogsContext { ResourceKey = null, StartIndex = 0, Count = 10, Filters = [] }); 349var logs = repository.GetLogs(new GetLogsContext { ResourceKey = null, StartIndex = 0, Count = 10, Filters = [] });
1 reference to Count
Aspire.Dashboard (1)
Otlp\Storage\TelemetryRepository.cs (1)
449return OtlpHelpers.GetItems(results, context.StartIndex, context.Count, _logs.IsFull);