Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions terraform-modules/aws/mongodb-atlas-alerts/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,26 @@ variable "default_alerts" {
# If is "metric_threshold_config" set, then "threshold_config" is not needed
threshold_config = []
},
{
event_type = "OUTSIDE_METRIC_THRESHOLD"
enabled = true
notification = []
matcher = []
# This can only be a list of 1
# If is "metric_threshold_config" set, then "threshold_config" is not needed
metric_threshold_config = [
{
metric_name = "NORMALIZED_SYSTEM_CPU_STEAL"
operator = "GREATER_THAN"
threshold = 15
units = "RAW"
mode = "AVERAGE"
}
]
# This can only be a list of 1
# If is "metric_threshold_config" set, then "threshold_config" is not needed
threshold_config = []
},
]
description = "description"
}
Expand Down