3 writes to StartTime
Aspire.Dashboard (1)
Components\Controls\Chart\MetricInstrumentDataCache.cs (1)
35StartTime = OtlpHelpers.UnixNanoSecondsToDateTime(Math.Min(latestValue.StartTimeUnixNano, alignedLookbackStartUnixNano))
Aspire.Dashboard.Tests (2)
ChartDataCalculatorTests.cs (1)
884new() { Attributes = firstAttributes, StartTime = start.AddSeconds(1) }
TelemetryRepositoryTests\MetricsTests.cs (1)
2379StartTime = s_queryTestTime.AddMinutes(1.5)
5 references to StartTime
Aspire.Dashboard (2)
Components\Controls\Chart\MetricInstrumentDataCache.cs (1)
61if (value.End >= windowStart && value.End < cursor.StartTime)
Otlp\Storage\SqliteTelemetryRepository.Metrics.Reads.cs (1)
394queryParameters.Add($"DimensionStartUnixNano{i}", GetMetricQueryTimeUnixNano(cursor?.StartTime ?? defaultStartTime ?? DateTime.UnixEpoch, upperBound: false));
Aspire.Dashboard.Tests (3)
ChartDataCalculatorTests.cs (1)
915Assert.Equal(start.AddSeconds(10), Assert.Single(cursors).StartTime);
TelemetryRepositoryTests\MetricsTests.cs (2)
2067Assert.Equal(s_queryTestTime.AddTicks(7), Assert.Single(cursors).StartTime); 2459Assert.Equal(s_queryTestTime, cursor.StartTime);