2 types derived from MetricViewBase
Aspire.Dashboard (2)
Components\Controls\Chart\MetricTable.razor.cs (2)
284
public record MetricValueView :
MetricViewBase
290
public record HistogramMetricView :
MetricViewBase
9 references to MetricViewBase
Aspire.Dashboard (9)
Components\Controls\Chart\MetricTable.razor.cs (9)
20
private SortedList<DateTimeOffset,
MetricViewBase
> _metrics = [];
29
private IQueryable<
MetricViewBase
> _metricsView => _metrics.Values.AsEnumerable().Reverse().ToList().AsQueryable();
93
private async Task OpenExemplarsDialogAsync(
MetricViewBase
metric)
112
private SortedList<DateTimeOffset,
MetricViewBase
> UpdateMetrics(out ISet<DateTimeOffset> addedXValues, List<ChartTrace> traces, List<DateTimeOffset> xValues, List<ChartExemplar> exemplars)
114
var newMetrics = new SortedList<DateTimeOffset,
MetricViewBase
>();
121
var
previousMetric = newMetrics.LastOrDefault(dt => dt.Key < xValue).Value;
152
MetricViewBase
CreateHistogramMetricView()
187
MetricViewBase
CreateMetricView()
203
var
current = newMetrics.GetValueAtIndex(i);