11 references to Create
Aspire.Dashboard (2)
Otlp\Model\MetricValues\DimensionScope.cs (1)
91
var value = HistogramValue.
Create
(h, temporality, lastHistogramValue);
Otlp\Storage\SqliteTelemetryRepository.Metrics.Writes.cs (1)
285
var histogram = HistogramValue.
Create
(point, temporality, previousHistogram);
Aspire.Dashboard.Tests (9)
HistogramAllocationTests.cs (3)
19
var previous = HistogramValue.
Create
(point, OtlpAggregationTemporality.Cumulative, previous: null);
24
HistogramValue.
Create
(point, OtlpAggregationTemporality.Cumulative, previous);
32
current = HistogramValue.
Create
(point, OtlpAggregationTemporality.Cumulative, previous);
TelemetryRepositoryTests\HistogramTests.cs (6)
911
var value = HistogramValue.
Create
(point, OtlpAggregationTemporality.Delta, previous: null);
1324
var previous = HistogramValue.
Create
(first, OtlpAggregationTemporality.Cumulative, previous: null);
1325
var current = HistogramValue.
Create
(reset, OtlpAggregationTemporality.Cumulative, previous);
1463
var firstValue = HistogramValue.
Create
(first, OtlpAggregationTemporality.Cumulative, previous: null);
1464
var resetValue = HistogramValue.
Create
(reset, OtlpAggregationTemporality.Cumulative, firstValue);
1465
var nextResetValue = HistogramValue.
Create
(nextReset, OtlpAggregationTemporality.Cumulative, resetValue);