24 lines
827 B
HCL
24 lines
827 B
HCL
# General Variables
|
|
variable "name" { default = "" }
|
|
variable "description" { default = "The {metricname} value of {severity} was {alert_condition} your custom threshold of {threshold}." }
|
|
variable "ownerMail" { default = "" }
|
|
|
|
variable "enabled" { default = true } //currently nothing else possible
|
|
|
|
#Target and warning percentage of the SLO as integer
|
|
variable "severity" { default = "CUSTOM_ALERT" }
|
|
|
|
#Metrics to be evaluated, must result in a percentage metric
|
|
variable "metric_selector" { default = "" }
|
|
|
|
variable "alert_condition" { default = "BELOW" }
|
|
variable "alerting_on_missing_data" { default = true }
|
|
variable "dealerting_samples" { default = 15 }
|
|
variable "samples" { default = 15 }
|
|
variable "threshold" { default = 10 }
|
|
variable "unit" { default = "UNSPECIFIED" }
|
|
variable "violating_samples" { default = 5 }
|
|
|
|
|
|
|