diff --git a/operations/template/alert.tf b/operations/template/alert.tf index 22d5a4af1..bc096d61e 100644 --- a/operations/template/alert.tf +++ b/operations/template/alert.tf @@ -528,7 +528,7 @@ resource "azurerm_monitor_metric_alert" "api-response-time-alert" { criteria { metric_name = "HttpResponseTime" - metric_namespace = "microsoft.web/sites" + metric_namespace = "Microsoft.Web/serverFarms" aggregation = "Average" operator = "GreaterThan" threshold = 5 # Value is in seconds