46 lines
1.1 KiB
HCL
46 lines
1.1 KiB
HCL
# Global Terraform
|
|
variable "environment" {
|
|
description = "Architecture environment"
|
|
type = "string"
|
|
}
|
|
|
|
# Global DataDog
|
|
variable "message" {
|
|
description = "Message sent when an alert is triggered"
|
|
}
|
|
|
|
variable "delay" {
|
|
description = "Delay in seconds for the metric evaluation"
|
|
default = 600
|
|
}
|
|
|
|
variable "filter_tags_use_defaults" {
|
|
description = "Use default filter tags convention"
|
|
default = "true"
|
|
}
|
|
|
|
variable "filter_tags_custom" {
|
|
description = "Tags used for custom filtering when filter_tags_use_defaults is false"
|
|
default = "*"
|
|
}
|
|
|
|
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
|
|
}
|