MON-248 split delay
This commit is contained in:
parent
0766bce61e
commit
048e3a8338
@ -10,9 +10,14 @@ variable "environment" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Global DataDog
|
# Global DataDog
|
||||||
variable "delay" {
|
variable "evaluation_delay" {
|
||||||
description = "Delay in seconds for the metric evaluation"
|
description = "Delay in seconds for the metric evaluation"
|
||||||
default = 900
|
default = 15
|
||||||
|
}
|
||||||
|
|
||||||
|
variable "new_host_delay" {
|
||||||
|
description = "Delay in seconds before monitor new resource"
|
||||||
|
default = 300
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "message" {
|
variable "message" {
|
||||||
|
|||||||
@ -27,14 +27,14 @@ resource "datadog_monitor" "Nginx_ingress_too_many_5xx" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
notify_no_data = false
|
notify_no_data = false
|
||||||
evaluation_delay = "${var.delay}"
|
evaluation_delay = "${var.evaluation_delay}"
|
||||||
|
new_host_delay = "${var.new_host_delay}"
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
include_tags = true
|
include_tags = true
|
||||||
locked = false
|
locked = false
|
||||||
require_full_window = false
|
require_full_window = false
|
||||||
new_host_delay = "${var.delay}"
|
|
||||||
|
|
||||||
silenced = "${var.ingress_5xx_silenced}"
|
silenced = "${var.ingress_5xx_silenced}"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user