3 writes to _lastValue
Aspire.Dashboard (3)
Otlp\Model\MetricValues\DimensionScope.cs (3)
53
_lastValue
= new MetricValue<long>(d.AsInt, start, end);
73
_lastValue
= new MetricValue<double>(d.AsDouble, start, end);
106
_lastValue
= new HistogramValue(h.BucketCounts.ToArray(), h.Sum, h.Count, start, end, explicitBounds);
9 references to _lastValue
Aspire.Dashboard (9)
Otlp\Model\MetricValues\DimensionScope.cs (9)
40
var lastLongValue =
_lastValue
as MetricValue<long>;
54
AddExemplars(
_lastValue
, d.Exemplars, context);
55
_values.Add(
_lastValue
);
60
var lastDoubleValue =
_lastValue
as MetricValue<double>;
74
AddExemplars(
_lastValue
, d.Exemplars, context);
75
_values.Add(
_lastValue
);
85
var lastHistogramValue =
_lastValue
as HistogramValue;
107
AddExemplars(
_lastValue
, h.Exemplars, context);
108
_values.Add(
_lastValue
);