54 writes to StartIndex
Aspire.Dashboard (10)
Api\TelemetryApiService.cs (1)
211
StartIndex
= 0,
Components\Pages\StructuredLogs.razor.cs (1)
613
StartIndex
= 0,
Components\Pages\TraceDetail.razor.cs (1)
287
StartIndex
= 0,
Model\GenAI\GenAIVisualizerDialogViewModel.cs (1)
603
StartIndex
= 0,
Model\StructuredLogsViewModel.cs (1)
89
StartIndex
= StartIndex,
Otlp\Storage\GetLogsContext.cs (1)
26
StartIndex
= 0,
Otlp\Storage\SqliteTelemetryRepository.cs (2)
186
StartIndex
= 0,
201
StartIndex
= 0,
Otlp\Storage\SqliteTelemetryRepository.Runtime.cs (2)
295
StartIndex
= 0,
389
StartIndex
= 0,
Aspire.Dashboard.Tests (44)
Integration\OtlpHttpJsonTests.cs (2)
590
StartIndex
= 0,
667
StartIndex
= 0,
Model\DashboardDataSourceTests.cs (1)
1116
StartIndex
= 0,
Model\StructuredLogsPageViewModelTests.cs (1)
254
StartIndex
= 0,
Model\TelemetryExportServiceTests.cs (1)
63
StartIndex
= 0,
TelemetryRepositoryTests\LogTests.cs (31)
70
StartIndex
= 0,
181
StartIndex
= 0,
220
StartIndex
= 0,
255
StartIndex
= 0,
273
StartIndex
= 10,
283
StartIndex
= 10,
320
StartIndex
= 0,
377
StartIndex
= 0,
429
StartIndex
= 0,
677
StartIndex
= 0,
775
StartIndex
= 0,
917
StartIndex
= 0,
1065
StartIndex
= 0,
1073
StartIndex
= 0,
1110
StartIndex
= 0,
1152
StartIndex
= 0,
1160
StartIndex
= 0,
1221
StartIndex
= 0,
1244
StartIndex
= 0,
1320
StartIndex
= 0,
1410
StartIndex
= 0,
1475
StartIndex
= 0,
1549
StartIndex
= 0,
1589
StartIndex
= 0,
1630
StartIndex
= 0,
1671
StartIndex
= 0,
1714
StartIndex
= 0,
1756
StartIndex
= 0,
1814
StartIndex
= 0,
1868
StartIndex
= 0,
1949
StartIndex
= 0,
TelemetryRepositoryTests\SqliteTelemetryPersistenceTests.cs (1)
970
StartIndex
= 0,
TelemetryRepositoryTests\TelemetryRepositoryTests.cs (7)
42
Assert.Empty((await repositoryContext.Repository.GetLogsAsync(new GetLogsContext { ResourceKeys = [resourceKey], Count = 100, Filters = [],
StartIndex
= 0 }, cancellationToken: CancellationToken.None)).Items);
53
Assert.Single((await repositoryContext.Repository.GetLogsAsync(new GetLogsContext { ResourceKeys = [resourceKey], Count = 100, Filters = [],
StartIndex
= 0 }, cancellationToken: CancellationToken.None)).Items);
233
var logs = await repositoryContext.Repository.GetLogsAsync(new GetLogsContext { ResourceKeys = [],
StartIndex
= 0, Count = 10, Filters = [] }, cancellationToken: CancellationToken.None);
245
var resource2Logs = await repositoryContext.Repository.GetLogsAsync(new GetLogsContext { ResourceKeys = [resource2Key],
StartIndex
= 0, Count = 10, Filters = [] }, cancellationToken: CancellationToken.None);
274
var logs = await repositoryContext.Repository.GetLogsAsync(new GetLogsContext { ResourceKeys = [],
StartIndex
= 0, Count = 10, Filters = [] }, cancellationToken: CancellationToken.None);
318
var logs = await repositoryContext.Repository.GetLogsAsync(new GetLogsContext { ResourceKeys = [],
StartIndex
= 0, Count = 10, Filters = [] }, cancellationToken: CancellationToken.None);
349
var logs = await repositoryContext.Repository.GetLogsAsync(new GetLogsContext { ResourceKeys = [],
StartIndex
= 0, Count = 10, Filters = [] }, cancellationToken: CancellationToken.None);
2 references to StartIndex
Aspire.Dashboard (2)
Otlp\Storage\SqliteTelemetryRepository.Logs.cs (2)
201
query.Parameters.Add("StartIndex", context.
StartIndex
);
281
query.Parameters.Add("StartIndex", Math.Max(context.
StartIndex
, 0));