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