# Global Terraform variable "environment" { description = "Architecture environment" type = string } # Global DataDog variable "message" { description = "Message sent when a Redis monitor is triggered" } variable "evaluation_delay" { description = "Delay in seconds for the metric evaluation" default = 900 } variable "new_host_delay" { description = "Delay in seconds before monitor new resource" default = 300 } variable "prefix_slug" { description = "Prefix string to prepend between brackets on every monitors names" default = "" } 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 "filter_tags_custom_excluded" { description = "Tags excluded for custom filtering when filter_tags_use_defaults is false" default = "" } # Azure Storage specific variables variable "availability_silenced" { description = "Groups to mute for Storage availability monitor" type = map(string) default = {} } variable "availability_enabled" { description = "Flag to enable Storage availability monitor" type = string default = "true" } variable "availability_extra_tags" { description = "Extra tags for Storage availability monitor" type = list(string) default = [] } variable "availability_message" { description = "Custom message for Storage availability monitor" type = string default = "" } variable "availability_time_aggregator" { description = "Monitor aggregator for Storage availability [available values: min, max or avg]" type = string default = "max" } variable "availability_timeframe" { description = "Monitor timeframe for Storage availability [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" type = string default = "last_5m" } variable "availability_threshold_critical" { description = "Minimum acceptable percent of availability for a storage" default = 50 } variable "availability_threshold_warning" { description = "Warning regarding acceptable percent of availability for a storage" default = 90 } variable "successful_requests_silenced" { description = "Groups to mute for Storage sucessful requests monitor" type = map(string) default = {} } variable "successful_requests_enabled" { description = "Flag to enable Storage sucessful requests monitor" type = string default = "true" } variable "successful_requests_extra_tags" { description = "Extra tags for Storage sucessful requests monitor" type = list(string) default = [] } variable "successful_requests_message" { description = "Custom message for Storage sucessful requests monitor" type = string default = "" } variable "successful_requests_time_aggregator" { description = "Monitor aggregator for Storage sucessful requests [available values: min, max or avg]" type = string default = "max" } variable "successful_requests_timeframe" { description = "Monitor timeframe for Storage sucessful requests [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" type = string default = "last_5m" } variable "successful_storage_requests_threshold_critical" { description = "Minimum acceptable percent of successful requests for a storage" default = 90 } variable "successful_storage_requests_threshold_warning" { description = "Warning regarding acceptable percent of successful requests for a storage" default = 70 } variable "latency_silenced" { description = "Groups to mute for Storage latency monitor" type = map(string) default = {} } variable "latency_enabled" { description = "Flag to enable Storage latency monitor" type = string default = "true" } variable "latency_extra_tags" { description = "Extra tags for Storage latency monitor" type = list(string) default = [] } variable "latency_message" { description = "Custom message for Storage latency monitor" type = string default = "" } variable "latency_time_aggregator" { description = "Monitor aggregator for Storage latency [available values: min, max or avg]" type = string default = "min" } variable "latency_timeframe" { description = "Monitor timeframe for Storage latency [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" type = string default = "last_5m" } variable "latency_threshold_critical" { description = "Maximum acceptable end to end latency (ms) for a storage" default = 2000 } variable "latency_threshold_warning" { description = "Warning regarding acceptable end to end latency (ms) for a storage" default = 1000 } variable "timeout_error_requests_silenced" { description = "Groups to mute for Storage timeout monitor" type = map(string) default = {} } variable "timeout_error_requests_enabled" { description = "Flag to enable Storage timeout monitor" type = string default = "true" } variable "timeout_error_requests_extra_tags" { description = "Extra tags for Storage timeout monitor" type = list(string) default = [] } variable "timeout_error_requests_message" { description = "Custom message for Storage timeout monitor" type = string default = "" } variable "timeout_error_requests_time_aggregator" { description = "Monitor aggregator for Storage timeout [available values: min, max or avg]" type = string default = "min" } variable "timeout_error_requests_timeframe" { description = "Monitor timeframe for Storage timeout [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" type = string default = "last_5m" } variable "timeout_error_requests_threshold_critical" { description = "Maximum acceptable percent of timeout error requests for a storage" default = 90 } variable "timeout_error_requests_threshold_warning" { description = "Warning regarding acceptable percent of timeout error requests for a storage" default = 50 } variable "network_error_requests_silenced" { description = "Groups to mute for Storage network errors monitor" type = map(string) default = {} } variable "network_error_requests_enabled" { description = "Flag to enable Storage network errors monitor" type = string default = "true" } variable "network_error_requests_extra_tags" { description = "Extra tags for Storage network errors monitor" type = list(string) default = [] } variable "network_error_requests_message" { description = "Custom message for Storage network errors monitor" type = string default = "" } variable "network_error_requests_time_aggregator" { description = "Monitor aggregator for Storage network errors [available values: min, max or avg]" type = string default = "min" } variable "network_error_requests_timeframe" { description = "Monitor timeframe for Storage network errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" type = string default = "last_5m" } variable "network_error_requests_threshold_critical" { description = "Maximum acceptable percent of network error requests for a storage" default = 90 } variable "network_error_requests_threshold_warning" { description = "Warning regarding acceptable percent of network error requests for a storage" default = 50 } variable "throttling_error_requests_silenced" { description = "Groups to mute for Storage throttling error monitor" type = map(string) default = {} } variable "throttling_error_requests_enabled" { description = "Flag to enable Storage throttling error monitor" type = string default = "true" } variable "throttling_error_requests_extra_tags" { description = "Extra tags for Storage throttling error monitor" type = list(string) default = [] } variable "throttling_error_requests_message" { description = "Custom message for Storage throttling error monitor" type = string default = "" } variable "throttling_error_requests_time_aggregator" { description = "Monitor aggregator for Storage throttling errors [available values: min, max or avg]" type = string default = "min" } variable "throttling_error_requests_timeframe" { description = "Monitor timeframe for Storage throttling errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" type = string default = "last_5m" } variable "throttling_error_requests_threshold_critical" { description = "Maximum acceptable percent of throttling error requests for a storage" default = 90 } variable "throttling_error_requests_threshold_warning" { description = "Warning regarding acceptable percent of throttling error requests for a storage" default = 50 } variable "server_other_error_requests_silenced" { description = "Groups to mute for Storage server other errors monitor" type = map(string) default = {} } variable "server_other_error_requests_enabled" { description = "Flag to enable Storage server other errors monitor" type = string default = "true" } variable "server_other_error_requests_extra_tags" { description = "Extra tags for Storage server other errors monitor" type = list(string) default = [] } variable "server_other_error_requests_message" { description = "Custom message for Storage server other errors monitor" type = string default = "" } variable "server_other_error_requests_time_aggregator" { description = "Monitor aggregator for Storage other errors [available values: min, max or avg]" type = string default = "min" } variable "server_other_error_requests_timeframe" { description = "Monitor timeframe for Storage server other errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" type = string default = "last_5m" } variable "server_other_error_requests_threshold_critical" { description = "Maximum acceptable percent of server other error requests for a storage" default = 90 } variable "server_other_error_requests_threshold_warning" { description = "Warning regarding acceptable percent of server other error requests for a storage" default = 50 } variable "client_other_error_requests_silenced" { description = "Groups to mute for Storage other errors monitor" type = map(string) default = {} } variable "client_other_error_requests_enabled" { description = "Flag to enable Storage other errors monitor" type = string default = "true" } variable "client_other_error_requests_extra_tags" { description = "Extra tags for Storage other errors monitor" type = list(string) default = [] } variable "client_other_error_requests_message" { description = "Custom message for Storage other errors monitor" type = string default = "" } variable "client_other_error_requests_time_aggregator" { description = "Monitor aggregator for Storage other errors [available values: min, max or avg]" type = string default = "min" } variable "client_other_error_requests_timeframe" { description = "Monitor timeframe for Storage other errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" type = string default = "last_5m" } variable "client_other_error_requests_threshold_critical" { description = "Maximum acceptable percent of client other error requests for a storage" default = 90 } variable "client_other_error_requests_threshold_warning" { description = "Warning regarding acceptable percent of client other error requests for a storage" default = 50 } variable "authorization_error_requests_silenced" { description = "Groups to mute for Storage authorization errors monitor" type = map(string) default = {} } variable "authorization_error_requests_enabled" { description = "Flag to enable Storage authorization errors monitor" type = string default = "true" } variable "authorization_error_requests_extra_tags" { description = "Extra tags for Storage authorization errors monitor" type = list(string) default = [] } variable "authorization_error_requests_message" { description = "Custom message for Storage authorization errors monitor" type = string default = "" } variable "authorization_error_requests_time_aggregator" { description = "Monitor aggregator for Storage authorization errors [available values: min, max or avg]" type = string default = "min" } variable "authorization_error_requests_timeframe" { description = "Monitor timeframe for Storage authorization errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" type = string default = "last_5m" } variable "authorization_error_requests_threshold_critical" { description = "Maximum acceptable percent of authorization error requests for a storage" default = 90 } variable "authorization_error_requests_threshold_warning" { description = "Warning regarding acceptable percent of authorization error requests for a storage" default = 50 } variable "status_time_aggregator" { description = "Monitor aggregator for Storage Services status [available values: min, max or avg]" type = string default = "max" } variable "status_timeframe" { description = "Monitor timeframe for Storage Services status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" type = string default = "last_5m" } variable "status_enabled" { description = "Flag to enable App Services status monitor" type = string default = "true" } variable "status_message" { description = "Custom message for storage Services status monitor" type = string default = "" } variable "status_silenced" { description = "Groups to mute for App Services status monitor" type = map(string) default = {} } variable "status_extra_tags" { description = "Extra tags for App Services status monitor" type = list(string) default = [] }