From c4b1041a0e05b75ff515be2d2c5d7ec4281b719f Mon Sep 17 00:00:00 2001 From: xchen Date: Mon, 30 Sep 2024 18:13:17 -0700 Subject: [PATCH] revert back GitHub Action chagnes --- .../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 d4178ce83..5e47b5da0 100644 --- a/src/Promitor.Integrations.AzureMonitor/AzureMonitorQueryClient.cs +++ b/src/Promitor.Integrations.AzureMonitor/AzureMonitorQueryClient.cs @@ -113,7 +113,7 @@ public async Task> BatchQueryMetricAsync( Guard.NotNullOrWhitespace(metricName, nameof(metricName)); Guard.NotLessThan(resourceIds.Count(), 1, nameof(resourceIds)); Guard.NotNull(_metricsBatchQueryClient, nameof(_metricsBatchQueryClient)); - + // Get all metrics var startQueryingTime = DateTime.UtcNow; var metricNamespaces = await _metricsQueryClient.GetAndCacheMetricNamespacesAsync(resourceIds.First(), _resourceMetricDefinitionMemoryCache, _metricDefinitionCacheDuration);