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