Skip to content

Commit

Permalink
fix: set missing data as breaching and period to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
gcharest authored Sep 20, 2024
1 parent 08340bd commit 1f6129b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/alarms.tf
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ resource "aws_cloudwatch_metric_alarm" "sre_bot_scheduled_tasks" {
metric_name = aws_cloudwatch_log_metric_filter.sre_bot_scheduled_tasks.metric_transformation[0].name
namespace = aws_cloudwatch_log_metric_filter.sre_bot_scheduled_tasks.metric_transformation[0].namespace
period = "300"
evaluation_periods = "1"
evaluation_periods = "2"
statistic = "Sum"
threshold = "1"
treat_missing_data = "notBreaching"
treat_missing_data = "breaching"

alarm_actions = [aws_sns_topic.cloudwatch_warning.arn]
ok_actions = [aws_sns_topic.cloudwatch_warning.arn]
Expand Down

0 comments on commit 1f6129b

Please sign in to comment.