36 lines
882 B
HCL
36 lines
882 B
HCL
variable "environment" {}
|
|
|
|
variable "message" {
|
|
description = "Message sent when an alert is triggered"
|
|
}
|
|
|
|
variable "delay" {
|
|
description = "Delay in seconds for the metric evaluation"
|
|
default = 600
|
|
}
|
|
|
|
variable "failed_requests_rate_thresold_critical" {
|
|
description = "Failed requests ratio (percentage) to trigger the critical alert"
|
|
default = 3
|
|
}
|
|
|
|
variable "failed_requests_rate_thresold_warning" {
|
|
description = "Failed requests ratio (percentage) to trigger a warning alert"
|
|
default = 1
|
|
}
|
|
|
|
variable "errors_rate_thresold_critical" {
|
|
description = "Errors ratio (percentage) to trigger the critical alert"
|
|
default = 3
|
|
}
|
|
|
|
variable "errors_rate_thresold_warning" {
|
|
description = "Errors ratio (percentage) to trigger a warning alert"
|
|
default = 1
|
|
}
|
|
|
|
variable "use_filter_tags" {
|
|
description = "Filter the data with service tags if true"
|
|
default = "true"
|
|
}
|