-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outdated documentation for coralogix_alert
resource
#204
Comments
Hi @rudolf-repcin. |
Here's the error message we got from TF prepare output:
and this was our code for the alert resource "coralogix_alert" "max_number_of_tasks_warning" {
count = local.alerts_enabled
name = "${local.alert_display_name} [Number of ECS tasks >= 5]"
severity = "Warning"
meta_labels = {
application = local.df_prod_env
subsystem = var.ecs_service_name
}
notifications_group {
notification {
email_recipients = [local.email_...omitted..]
retriggering_period_minutes = 60
}
}
metric {
promql {
search_query = "amazonaws_com_ECS_ContainerInsights_RunningTaskCount_sum{ServiceName=\"${var.ecs_service_name}\",account_id=\"${var.aws_account_id}\"}"
condition {
more_than = true
threshold = 5
sample_threshold_percentage = 80
time_window = "1Min"
min_non_null_values_percentage = 80
}
}
}
} We had to add |
I see. I'll update the documentations. |
Hello,
we've been trying to figure out what's wrong with our configs and we've discovered that there was a change released in v1.11.0 of this provider and following fact is not documented:
The text was updated successfully, but these errors were encountered: