variable "environment" { description = "Environment" type = "string" } # Global DataDog variable "evaluation_delay" { description = "Delay in seconds for the metric evaluation" default = 900 } variable "message" { description = "Message sent when an alert is triggered" } 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 = "*" } # MySQL specific ################################# ### MySQL connections ### ################################# variable "mysql_connection_threshold_critical" { default = 80 description = "Maximum critical acceptable percent of connections" } variable "mysql_connection_threshold_warning" { default = 70 description = "Maximum warning acceptable percent of connections" } ################################# ### MySQL threads ### ################################# variable "mysql_thread_threshold_critical" { default = 500 description = "Maximum critical acceptable number of threads" } variable "mysql_thread_threshold_warning" { default = 400 description = "Maximum critical acceptable number of threads" }