2 types derived from MetricValueBase
Aspire.Dashboard (2)
Otlp\Model\MetricValues\HistogramValue.cs (1)
10
public class HistogramValue :
MetricValueBase
Otlp\Model\MetricValues\MetricValue.cs (1)
9
public class MetricValue<T> :
MetricValueBase
where T : struct
18 references to MetricValueBase
Aspire.Dashboard (18)
Components\Controls\Chart\ChartBase.cs (4)
203
private static HistogramValue GetHistogramValue(
MetricValueBase
metric)
228
var
metric = dimensionValues[i];
283
private void AddExemplars(List<ChartExemplar> exemplars,
MetricValueBase
metric)
445
var
metric = dimensionValues[i];
Otlp\Model\MetricValues\DimensionScope.cs (6)
16
public IList<
MetricValueBase
> Values => _values;
18
private readonly CircularBuffer<
MetricValueBase
> _values;
20
private
MetricValueBase
? _lastValue;
112
private static void AddExemplars(
MetricValueBase
value, RepeatedField<Exemplar> exemplars, OtlpContext context)
158
foreach (
var
item in value._values)
163
newDimensionScope._values.Add(
MetricValueBase
.Clone(item));
Otlp\Model\MetricValues\HistogramValue.cs (2)
41
internal override bool TryCompare(
MetricValueBase
other, out int comparisonResult)
47
protected override
MetricValueBase
Clone()
Otlp\Model\MetricValues\MetricValue.cs (2)
20
protected override
MetricValueBase
Clone()
30
internal override bool TryCompare(
MetricValueBase
obj, out int comparisonResult)
Otlp\Model\MetricValues\MetricValueBase.cs (4)
25
internal static
MetricValueBase
Clone(
MetricValueBase
item)
30
internal abstract bool TryCompare(
MetricValueBase
other, out int comparisonResult);
32
protected abstract
MetricValueBase
Clone();