Skip to content

Commit

Permalink
Make alarm slightly less chatty
Browse files Browse the repository at this point in the history
Tried 2 or 3 hours, but too many emails and worker pool wouldn't have time to stay constrained

 8 hrs is enough time to fully ramp up the worker pool and ramp up jobs on new nodes; only then can we decide that capacity is really constrained in a way that requires changing the scaling policy for that week.
  • Loading branch information
abought committed May 1, 2023
1 parent 8357f82 commit f4cdfc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/imputation-server/monitoring.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ resource "aws_cloudwatch_metric_alarm" "cluster_needs_resources" {
comparison_operator = "GreaterThanOrEqualToThreshold"
threshold = 1

datapoints_to_alarm = 2
evaluation_periods = 2
datapoints_to_alarm = 8
evaluation_periods = 8

actions_enabled = true

Expand Down

0 comments on commit f4cdfc4

Please sign in to comment.