From 53b3211ad544914ef5c03049316a045aeb14e673 Mon Sep 17 00:00:00 2001 From: Duncan Watson Date: Fri, 6 Dec 2024 15:29:10 +0000 Subject: [PATCH] EES-5685 - reverting change to timeAggregation as Total was not supported --- .../components/alerts/appGateways/backendPoolHealth.bicep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/templates/public-api/components/alerts/appGateways/backendPoolHealth.bicep b/infrastructure/templates/public-api/components/alerts/appGateways/backendPoolHealth.bicep index 3fabc48a21..069e01ba90 100644 --- a/infrastructure/templates/public-api/components/alerts/appGateways/backendPoolHealth.bicep +++ b/infrastructure/templates/public-api/components/alerts/appGateways/backendPoolHealth.bicep @@ -20,7 +20,7 @@ module alerts '../staticMetricAlert.bicep' = [for name in resourceNames: { resourceType: 'Microsoft.Network/applicationGateways' query: { metric: 'UnhealthyHostCount' - aggregation: 'Total' + aggregation: 'Average' operator: 'GreaterThan' threshold: 0 }