From 48632269e770da47992ac750ede637dc7721119c Mon Sep 17 00:00:00 2001 From: kkeirstead <85592574+kkeirstead@users.noreply.github.com> Date: Wed, 18 Dec 2024 16:27:26 -0800 Subject: [PATCH] Updated metrics store (#7755) --- .../Metrics/MetricsStore.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.Diagnostics.Monitoring.WebApi/Metrics/MetricsStore.cs b/src/Microsoft.Diagnostics.Monitoring.WebApi/Metrics/MetricsStore.cs index 049a281117f..ff3a7919d4c 100644 --- a/src/Microsoft.Diagnostics.Monitoring.WebApi/Metrics/MetricsStore.cs +++ b/src/Microsoft.Diagnostics.Monitoring.WebApi/Metrics/MetricsStore.cs @@ -186,7 +186,7 @@ private static string GetMetricLabels(ICounterPayload metric, double? quantile) private static bool IsMeter(ICounterPayload payload) => payload switch { - GaugePayload or PercentilePayload or CounterEndedPayload or RatePayload => true, + GaugePayload or PercentilePayload or CounterEndedPayload or RatePayload or AggregatePercentilePayload or UpDownCounterPayload => true, _ => false };