MON-247 split delay
This commit is contained in:
parent
20aea24943
commit
d8709927e1
@ -18,9 +18,14 @@ variable "message" {
|
||||
description = "Message sent when a monitor is triggered"
|
||||
}
|
||||
|
||||
variable "delay" {
|
||||
variable "evaluation_delay" {
|
||||
description = "Delay in seconds for the metric evaluation"
|
||||
default = 60
|
||||
default = 15
|
||||
}
|
||||
|
||||
variable "new_host_delay" {
|
||||
description = "Delay in seconds before monitor new resource"
|
||||
default = 300
|
||||
}
|
||||
|
||||
# Datadog monitors variables
|
||||
|
||||
@ -12,8 +12,8 @@ resource "datadog_monitor" "ark_schedules_monitor" {
|
||||
warning = 0
|
||||
}
|
||||
|
||||
evaluation_delay = "${var.delay}"
|
||||
new_host_delay = "${var.delay}"
|
||||
evaluation_delay = "${var.evaluation_delay}"
|
||||
new_host_delay = "${var.new_host_delay}"
|
||||
no_data_timeframe = "${var.ark_schedules_monitor_no_data_timeframe}"
|
||||
|
||||
notify_no_data = true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user