Skip to content

Commit

Permalink
Rename Alert
Browse files Browse the repository at this point in the history
  • Loading branch information
Rizal Widyarta Gowandy committed May 27, 2021
1 parent 454e54a commit 7c708da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ resource "newrelic_nrql_alert_condition" "main" {
account_id = var.account_id
policy_id = var.policy_id
type = "static"
name = "[CRITICAL] High Error Rate for ${var.event_method_substring != "" ? replace(each.key, var.event_method_substring, var.event_method_replace) : each.key}"
name = "[CRITICAL] Error Rate ${var.event_method_substring != "" ? replace(each.key, var.event_method_substring, var.event_method_replace) : each.key}"
description = "Alert when error rate is above normal condition"
enabled = var.enable_alert
violation_time_limit_seconds = 3600
Expand Down

0 comments on commit 7c708da

Please sign in to comment.