42 writes to Count
Aspire.Dashboard (11)
Components\Pages\StructuredLogs.razor.cs (1)
605Count = int.MaxValue,
Mcp\AspireTelemetryMcpTools.cs (2)
60Count = int.MaxValue, 163Count = int.MaxValue,
Model\Assistant\AssistantChatDataContext.cs (2)
128Count = int.MaxValue, 204Count = 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)
472Count = int.MaxValue, 503Count = int.MaxValue,
Aspire.Dashboard.Tests (31)
Integration\OtlpHttpJsonTests.cs (2)
496Count = 10, 573Count = 10,
Model\TelemetryExportServiceTests.cs (1)
52Count = 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)
40Assert.Empty(repository.GetLogs(new GetLogsContext { ResourceKey = resourceKey, Count = 100, Filters = [], StartIndex = 0 }).Items); 51Assert.Single(repository.GetLogs(new GetLogsContext { ResourceKey = resourceKey, Count = 100, Filters = [], StartIndex = 0 }).Items); 232var logs = repository.GetLogs(new GetLogsContext { ResourceKey = null, StartIndex = 0, Count = 10, Filters = [] }); 244var resource2Logs = repository.GetLogs(new GetLogsContext { ResourceKey = resource2Key, StartIndex = 0, Count = 10, Filters = [] }); 273var logs = repository.GetLogs(new GetLogsContext { ResourceKey = null, StartIndex = 0, Count = 10, Filters = [] }); 317var logs = repository.GetLogs(new GetLogsContext { ResourceKey = null, StartIndex = 0, Count = 10, Filters = [] }); 348var logs = repository.GetLogs(new GetLogsContext { ResourceKey = null, StartIndex = 0, Count = 10, Filters = [] });
1 reference to Count
Aspire.Dashboard (1)
Otlp\Storage\TelemetryRepository.cs (1)
431return OtlpHelpers.GetItems(results, context.StartIndex, context.Count, _logs.IsFull);