Skip to content

Commit

Permalink
try to trigger alert by changing threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
pluckyswan committed Oct 24, 2024
1 parent c34a73e commit e48af39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operations/template/alert.tf
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ resource "azurerm_monitor_metric_alert" "low_instance_count_alert" {
metric_name = "ObservedCapacity"
aggregation = "Average"
operator = "LessThanOrEqual"
threshold = azurerm_monitor_autoscale_setting.sftp_autoscale.profile[0].capacity[0].default - 0.5
threshold = azurerm_monitor_autoscale_setting.sftp_autoscale.profile[0].capacity[0].default - 1.5
}

action {
Expand Down

0 comments on commit e48af39

Please sign in to comment.