Skip to content

Commit e82909e

Browse files
authored
Merge pull request #815 from NHSDigital/fix-queue-name
correct queue name in customMetrics query
2 parents 53fc401 + e528715 commit e82909e

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)