1 write to StartTimeUnixNano
Aspire.Dashboard (1)
Otlp\Model\MetricValues\MetricValueBase.cs (1)
31
StartTimeUnixNano
= startTimeUnixNano;
16 references to StartTimeUnixNano
Aspire.Dashboard (12)
Components\Controls\Chart\MetricInstrumentDataCache.cs (1)
35
StartTime = OtlpHelpers.UnixNanoSecondsToDateTime(Math.Min(latestValue.
StartTimeUnixNano
, alignedLookbackStartUnixNano))
Model\TelemetryExportService.cs (1)
539
StartTimeUnixNano = value.
StartTimeUnixNano
,
Otlp\Model\MetricValues\HistogramValue.cs (4)
159
var value = new HistogramValue(Values, Sum, Count,
StartTimeUnixNano
, EndTimeUnixNano, ExplicitBounds, AggregationStartUnixNano, AggregationId, AggregationTemporality);
173
&&
StartTimeUnixNano
== other.
StartTimeUnixNano
182
return HashCode.Combine(
StartTimeUnixNano
, Count, Values, Sum, ExplicitBounds, AggregationStartUnixNano, AggregationId, AggregationTemporality);
Otlp\Model\MetricValues\MetricValue.cs (4)
33
var value = new MetricValue<T>(Value,
StartTimeUnixNano
, EndTimeUnixNano);
56
&&
StartTimeUnixNano
== other.
StartTimeUnixNano
63
return HashCode.Combine(
StartTimeUnixNano
, Count, Value);
Otlp\Model\MetricValues\MetricValueBase.cs (1)
15
public DateTime Start => OtlpHelpers.UnixNanoSecondsToDateTime(
StartTimeUnixNano
);
Otlp\Storage\SqliteTelemetryRepository.Metrics.Writes.cs (1)
315
StartTimeUnixNano = checked((long)histogram.
StartTimeUnixNano
),
Aspire.Dashboard.Tests (4)
TelemetryRepositoryTests\HistogramTests.cs (1)
450
values.Select(value => value.
StartTimeUnixNano
));
TelemetryRepositoryTests\MetricsTests.cs (3)
1812
Assert.Equal([(10ul, 40ul), (40ul, 80ul)], values.Select(value => (value.
StartTimeUnixNano
, value.EndTimeUnixNano)));
1886
values.Select(value => (value.
StartTimeUnixNano
, value.EndTimeUnixNano)));
1918
Assert.Equal(rollup ? point.StartTimeUnixNano / 1_000_000_000 * 1_000_000_000 : point.StartTimeUnixNano, value.
StartTimeUnixNano
);