From 83c4d2d45c033f33f86f1d3fcf6a483f4bbad751 Mon Sep 17 00:00:00 2001 From: xchen Date: Fri, 3 May 2024 17:50:56 -0700 Subject: [PATCH] try ignore case for dimension --- .../AzureMonitorQueryClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Promitor.Integrations.AzureMonitor/AzureMonitorQueryClient.cs b/src/Promitor.Integrations.AzureMonitor/AzureMonitorQueryClient.cs index 9bc4f3e56..105014ec5 100644 --- a/src/Promitor.Integrations.AzureMonitor/AzureMonitorQueryClient.cs +++ b/src/Promitor.Integrations.AzureMonitor/AzureMonitorQueryClient.cs @@ -117,7 +117,7 @@ public async Task> QueryMetricAsync(string metricName, List // Get the metric value according to the requested aggregation type var requestedMetricAggregate = InterpretMetricValue(MetricAggregationTypeConverter.AsMetricAggregationType(aggregationType), mostRecentMetricValue); - _logger.LogWarning("{labels} labels found with value {value}", labels, mostRecentMetricValue); + _logger.LogWarning("{labels} labels found with value {value}", labels, requestedMetricAggregate); try { var measuredMetric = metricDimensions.Any()