1 write to AggregationStartUnixNano
Aspire.Dashboard (1)
Otlp\Model\MetricValues\HistogramValue.cs (1)
44AggregationStartUnixNano = aggregationStartUnixNano;
14 references to AggregationStartUnixNano
Aspire.Dashboard (7)
Model\TelemetryExportService.cs (1)
577StartTimeUnixNano = histogramValue.AggregationStartUnixNano,
Otlp\Model\MetricValues\HistogramValue.cs (5)
78var reset = point.StartTimeUnixNano != previous.AggregationStartUnixNano || point.Count < previous.Count; 159var value = new HistogramValue(Values, Sum, Count, StartTimeUnixNano, EndTimeUnixNano, ExplicitBounds, AggregationStartUnixNano, AggregationId, AggregationTemporality); 174&& AggregationStartUnixNano == other.AggregationStartUnixNano 182return HashCode.Combine(StartTimeUnixNano, Count, Values, Sum, ExplicitBounds, AggregationStartUnixNano, AggregationId, AggregationTemporality);
Otlp\Storage\SqliteTelemetryRepository.Metrics.Writes.cs (1)
398parameters[12].Value = point.Histogram is { } histogram ? checked((long)histogram.AggregationStartUnixNano) : DBNull.Value;
Aspire.Dashboard.Tests (7)
TelemetryRepositoryTests\HistogramTests.cs (7)
236Assert.Equal(points[0].StartTimeUnixNano, snapshot.AggregationStartUnixNano); 277Assert.Equal(first.StartTimeUnixNano, snapshot.AggregationStartUnixNano); 443Assert.All(values, value => Assert.Equal(0ul, value.AggregationStartUnixNano)); 1078Assert.Equal(DateTimeToUnixNanoseconds(resetProducerStart), values[1].AggregationStartUnixNano); 1191Assert.Equal(DateTimeToUnixNanoseconds(resetStart), values[1].AggregationStartUnixNano); 1331Assert.Equal(reset.StartTimeUnixNano, current.AggregationStartUnixNano); 1603Assert.Equal(DateTimeToUnixNanoseconds(s_start), values[1].AggregationStartUnixNano);