Skip to content

Commit e528715

Browse files
committed
correct queue name in customMetrics query
1 parent 53fc401 commit e528715

File tree

1 file changed

+1
-1
lines changed
  • infrastructure/modules/container-apps

1 file changed

+1
-1
lines changed

infrastructure/modules/container-apps/alerts.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ resource "azurerm_monitor_scheduled_query_rules_alert_v2" "queue_length_high" {
6262
criteria {
6363
query = <<-KQL
6464
customMetrics
65-
| where name == "queue_size_${each.key}"
65+
| where name == "${each.key}"
6666
| extend environment = tostring(customDimensions.environment)
6767
| where environment == "${var.environment}"
6868
| extend value = toreal(value)

0 commit comments

Comments
 (0)