84 lines
2.1 KiB
HCL
84 lines
2.1 KiB
HCL
# Global Terraform
|
|
variable "client_name" {
|
|
type = "string"
|
|
}
|
|
|
|
variable "environment" {
|
|
description = "Architecture environment"
|
|
type = "string"
|
|
}
|
|
|
|
variable "provider" {
|
|
description = "Cloud provider which the monitor and its based metric depend on"
|
|
type = "string"
|
|
default = "azure"
|
|
}
|
|
|
|
variable "service" {
|
|
description = "Service monitored by this set of monitors"
|
|
type = "string"
|
|
default = "storage"
|
|
}
|
|
|
|
# Global DataDog
|
|
variable "message" {
|
|
description = "Message sent when a Redis monitor is triggered"
|
|
}
|
|
|
|
variable "delay" {
|
|
description = "Delay in seconds for the metric evaluation"
|
|
default = 600
|
|
}
|
|
|
|
variable "use_filter_tags" {
|
|
description = "Filter the data with service tags if true"
|
|
default = "true"
|
|
}
|
|
|
|
# Azure Storage specific
|
|
variable "availability_threshold_critical" {
|
|
description = "Minimum acceptable percent of availability for a storage"
|
|
default = 90
|
|
}
|
|
|
|
variable "successful_requests_threshold_critical" {
|
|
description = "Minimum acceptable percent of successful requests for a storage"
|
|
default = 90
|
|
}
|
|
|
|
variable "latency_threshold_critical" {
|
|
description = "Maximum acceptable end to end latency (ms) for a storage"
|
|
default = 1000
|
|
}
|
|
|
|
variable "timeout_error_requests_threshold_critical" {
|
|
description = "Maximum acceptable percent of timeout error requests for a storage"
|
|
default = 35
|
|
}
|
|
|
|
variable "network_error_requests_threshold_critical" {
|
|
description = "Maximum acceptable percent of network error requests for a storage"
|
|
default = 35
|
|
}
|
|
|
|
variable "throttling_error_requests_threshold_critical" {
|
|
description = "Maximum acceptable percent of throttling error requests for a storage"
|
|
default = 50
|
|
}
|
|
|
|
variable "server_other_error_requests_threshold_critical" {
|
|
description = "Maximum acceptable percent of server other error requests for a storage"
|
|
default = 50
|
|
}
|
|
|
|
variable "client_other_error_requests_threshold_critical" {
|
|
description = "Maximum acceptable percent of client other error requests for a storage"
|
|
default = 75
|
|
}
|
|
|
|
variable "authorization_error_requests_threshold_critical" {
|
|
description = "Maximum acceptable percent of authorization error requests for a storage"
|
|
default = 75
|
|
}
|
|
|