MON-556 add missing no_data_timeframe variables and fix default values
This commit is contained in:
parent
9c4ec9bd07
commit
e87897b6ac
@ -26,7 +26,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| ark\_schedules\_enabled | Flag to enable Ark schedules monitor | `string` | `"true"` | no |
|
| ark\_schedules\_enabled | Flag to enable Ark schedules monitor | `string` | `"true"` | no |
|
||||||
| ark\_schedules\_extra\_tags | Extra tags for Ark schedules monitor | `list(string)` | `[]` | no |
|
| ark\_schedules\_extra\_tags | Extra tags for Ark schedules monitor | `list(string)` | `[]` | no |
|
||||||
| ark\_schedules\_monitor\_message | Custom message for Ark schedules monitor | `string` | `""` | no |
|
| ark\_schedules\_monitor\_message | Custom message for Ark schedules monitor | `string` | `""` | no |
|
||||||
| ark\_schedules\_monitor\_no\_data\_timeframe | No data timeframe in minutes | `number` | `1440` | no |
|
| ark\_schedules\_monitor\_no\_data\_timeframe | No data timeframe in minutes | `number` | `2880` | no |
|
||||||
| ark\_schedules\_monitor\_timeframe | Monitor timeframe for Ark schedules monitor [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_1d"` | no |
|
| ark\_schedules\_monitor\_timeframe | Monitor timeframe for Ark schedules monitor [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_1d"` | no |
|
||||||
| environment | Architecture environment | `any` | n/a | yes |
|
| environment | Architecture environment | `any` | n/a | yes |
|
||||||
| evaluation\_delay | Delay in seconds for the metric evaluation | `number` | `15` | no |
|
| evaluation\_delay | Delay in seconds for the metric evaluation | `number` | `15` | no |
|
||||||
|
|||||||
@ -71,6 +71,6 @@ variable "ark_schedules_extra_tags" {
|
|||||||
|
|
||||||
variable "ark_schedules_monitor_no_data_timeframe" {
|
variable "ark_schedules_monitor_no_data_timeframe" {
|
||||||
description = "No data timeframe in minutes"
|
description = "No data timeframe in minutes"
|
||||||
default = 1440
|
default = 2880
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -26,6 +26,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| apiserver\_enabled | Flag to enable API server monitor | `string` | `"true"` | no |
|
| apiserver\_enabled | Flag to enable API server monitor | `string` | `"true"` | no |
|
||||||
| apiserver\_extra\_tags | Extra tags for API server monitor | `list(string)` | `[]` | no |
|
| apiserver\_extra\_tags | Extra tags for API server monitor | `list(string)` | `[]` | no |
|
||||||
| apiserver\_message | Custom message for API server monitor | `string` | `""` | no |
|
| apiserver\_message | Custom message for API server monitor | `string` | `""` | no |
|
||||||
|
| apiserver\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| apiserver\_threshold\_warning | API server monitor (warning threshold) | `string` | `3` | no |
|
| apiserver\_threshold\_warning | API server monitor (warning threshold) | `string` | `3` | no |
|
||||||
| environment | Architecture environment | `any` | n/a | yes |
|
| environment | Architecture environment | `any` | n/a | yes |
|
||||||
| evaluation\_delay | Delay in seconds for the metric evaluation | `number` | `15` | no |
|
| evaluation\_delay | Delay in seconds for the metric evaluation | `number` | `15` | no |
|
||||||
|
|||||||
@ -43,6 +43,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "apiserver_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
# Datadog monitors variables
|
# Datadog monitors variables
|
||||||
|
|
||||||
variable "apiserver_enabled" {
|
variable "apiserver_enabled" {
|
||||||
|
|||||||
@ -16,6 +16,7 @@ EOQ
|
|||||||
|
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.apiserver_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -48,6 +48,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| kubelet\_ping\_enabled | Flag to enable Kubelet ping monitor | `string` | `"true"` | no |
|
| kubelet\_ping\_enabled | Flag to enable Kubelet ping monitor | `string` | `"true"` | no |
|
||||||
| kubelet\_ping\_extra\_tags | Extra tags for Kubelet ping monitor | `list(string)` | `[]` | no |
|
| kubelet\_ping\_extra\_tags | Extra tags for Kubelet ping monitor | `list(string)` | `[]` | no |
|
||||||
| kubelet\_ping\_message | Custom message for Kubelet ping monitor | `string` | `""` | no |
|
| kubelet\_ping\_message | Custom message for Kubelet ping monitor | `string` | `""` | no |
|
||||||
|
| kubelet\_ping\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| kubelet\_ping\_threshold\_warning | Kubelet ping monitor (warning threshold) | `string` | `3` | no |
|
| kubelet\_ping\_threshold\_warning | Kubelet ping monitor (warning threshold) | `string` | `3` | no |
|
||||||
| kubelet\_syncloop\_enabled | Flag to enable Kubelet sync loop monitor | `string` | `"true"` | no |
|
| kubelet\_syncloop\_enabled | Flag to enable Kubelet sync loop monitor | `string` | `"true"` | no |
|
||||||
| kubelet\_syncloop\_extra\_tags | Extra tags for Kubelet sync loop monitor | `list(string)` | `[]` | no |
|
| kubelet\_syncloop\_extra\_tags | Extra tags for Kubelet sync loop monitor | `list(string)` | `[]` | no |
|
||||||
|
|||||||
@ -43,6 +43,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "kubelet_ping_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
# Datadog monitors variables
|
# Datadog monitors variables
|
||||||
|
|
||||||
variable "disk_pressure_enabled" {
|
variable "disk_pressure_enabled" {
|
||||||
|
|||||||
@ -139,6 +139,7 @@ EOQ
|
|||||||
|
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.kubelet_ping_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -31,6 +31,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| alb\_no\_healthy\_instances\_enabled | Flag to enable ALB no healthy instances monitor | `string` | `"true"` | no |
|
| alb\_no\_healthy\_instances\_enabled | Flag to enable ALB no healthy instances monitor | `string` | `"true"` | no |
|
||||||
| alb\_no\_healthy\_instances\_extra\_tags | Extra tags for ALB no healthy instances monitor | `list(string)` | `[]` | no |
|
| alb\_no\_healthy\_instances\_extra\_tags | Extra tags for ALB no healthy instances monitor | `list(string)` | `[]` | no |
|
||||||
| alb\_no\_healthy\_instances\_message | Custom message for ALB no healthy instances monitor | `string` | `""` | no |
|
| alb\_no\_healthy\_instances\_message | Custom message for ALB no healthy instances monitor | `string` | `""` | no |
|
||||||
|
| alb\_no\_healthy\_instances\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| alb\_no\_healthy\_instances\_threshold\_warning | ALB no healthy instances warning threshold in percentage | `number` | `100` | no |
|
| alb\_no\_healthy\_instances\_threshold\_warning | ALB no healthy instances warning threshold in percentage | `number` | `100` | no |
|
||||||
| alb\_no\_healthy\_instances\_time\_aggregator | Monitor aggregator for ALB no healthy instances [available values: min, max or avg] | `string` | `"min"` | no |
|
| alb\_no\_healthy\_instances\_time\_aggregator | Monitor aggregator for ALB no healthy instances [available values: min, max or avg] | `string` | `"min"` | no |
|
||||||
| alb\_no\_healthy\_instances\_timeframe | Monitor timeframe for ALB no healthy instances [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
| alb\_no\_healthy\_instances\_timeframe | Monitor timeframe for ALB no healthy instances [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
||||||
|
|||||||
@ -44,6 +44,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "alb_no_healthy_instances_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
# Datadog monitors variables
|
# Datadog monitors variables
|
||||||
|
|
||||||
variable "alb_no_healthy_instances_enabled" {
|
variable "alb_no_healthy_instances_enabled" {
|
||||||
|
|||||||
@ -20,6 +20,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.alb_no_healthy_instances_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
require_full_window = false
|
require_full_window = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -48,6 +48,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| health\_enabled | Flag to enable Beanstalk Health monitor | `string` | `"true"` | no |
|
| health\_enabled | Flag to enable Beanstalk Health monitor | `string` | `"true"` | no |
|
||||||
| health\_extra\_tags | Extra tags for health monitor | `list(string)` | `[]` | no |
|
| health\_extra\_tags | Extra tags for health monitor | `list(string)` | `[]` | no |
|
||||||
| health\_message | Custom message for health monitor | `string` | `""` | no |
|
| health\_message | Custom message for health monitor | `string` | `""` | no |
|
||||||
|
| health\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `20` | no |
|
||||||
| health\_threshold\_critical | Health critical threshold (see the `aws.elasticbeanstalk.environment_health` values in the Datadog documentation) | `number` | `20` | no |
|
| health\_threshold\_critical | Health critical threshold (see the `aws.elasticbeanstalk.environment_health` values in the Datadog documentation) | `number` | `20` | no |
|
||||||
| health\_threshold\_warning | Health critical threshold (see the `aws.elasticbeanstalk.environment_health` values in the Datadog documentation) | `number` | `15` | no |
|
| health\_threshold\_warning | Health critical threshold (see the `aws.elasticbeanstalk.environment_health` values in the Datadog documentation) | `number` | `15` | no |
|
||||||
| health\_time\_aggregator | Monitor aggregator for beanstalk health [available values: min, max or avg] | `string` | `"min"` | no |
|
| health\_time\_aggregator | Monitor aggregator for beanstalk health [available values: min, max or avg] | `string` | `"min"` | no |
|
||||||
|
|||||||
@ -25,6 +25,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "health_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 20
|
||||||
|
}
|
||||||
|
|
||||||
variable "message" {
|
variable "message" {
|
||||||
description = "Message sent when an alert is triggered"
|
description = "Message sent when an alert is triggered"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,6 +17,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.health_no_data_timeframe
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
include_tags = true
|
include_tags = true
|
||||||
|
|||||||
@ -28,6 +28,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
|
|
||||||
| Name | Description | Type | Default | Required |
|
| Name | Description | Type | Default | Required |
|
||||||
|------|-------------|------|---------|:-----:|
|
|------|-------------|------|---------|:-----:|
|
||||||
|
| elasticache\_max\_connection\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| environment | Infrastructure Environment | `string` | n/a | yes |
|
| environment | Infrastructure Environment | `string` | n/a | yes |
|
||||||
| evaluation\_delay | Delay in seconds for the metric evaluation | `number` | `900` | no |
|
| evaluation\_delay | Delay in seconds for the metric evaluation | `number` | `900` | no |
|
||||||
| eviction\_enabled | Flag to enable Elasticache eviction monitor | `string` | `"true"` | no |
|
| eviction\_enabled | Flag to enable Elasticache eviction monitor | `string` | `"true"` | no |
|
||||||
|
|||||||
@ -25,6 +25,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "elasticache_max_connection_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
variable "message" {
|
variable "message" {
|
||||||
description = "Message sent when an alert is triggered"
|
description = "Message sent when an alert is triggered"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -47,6 +47,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.elasticache_max_connection_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -43,6 +43,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| get\_hits\_threshold\_warning | Elasticache memcached get hits warning threshold in percentage | `string` | `80` | no |
|
| get\_hits\_threshold\_warning | Elasticache memcached get hits warning threshold in percentage | `string` | `80` | no |
|
||||||
| get\_hits\_time\_aggregator | Monitor aggregator for Elasticache memcached get hits [available values: min, max or avg] | `string` | `"max"` | no |
|
| get\_hits\_time\_aggregator | Monitor aggregator for Elasticache memcached get hits [available values: min, max or avg] | `string` | `"max"` | no |
|
||||||
| get\_hits\_timeframe | Monitor timeframe for Elasticache memcached get hits [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_15m"` | no |
|
| get\_hits\_timeframe | Monitor timeframe for Elasticache memcached get hits [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_15m"` | no |
|
||||||
|
| memcached\_cpu\_high\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `30` | no |
|
||||||
| message | Message sent when an alert is triggered | `any` | n/a | yes |
|
| message | Message sent when an alert is triggered | `any` | n/a | yes |
|
||||||
| new\_host\_delay | Delay in seconds before monitor new resource | `number` | `300` | no |
|
| new\_host\_delay | Delay in seconds before monitor new resource | `number` | `300` | no |
|
||||||
| notify\_no\_data | Will raise no data alert if set to true | `bool` | `true` | no |
|
| notify\_no\_data | Will raise no data alert if set to true | `bool` | `true` | no |
|
||||||
|
|||||||
@ -25,6 +25,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "memcached_cpu_high_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 30
|
||||||
|
}
|
||||||
|
|
||||||
variable "message" {
|
variable "message" {
|
||||||
description = "Message sent when an alert is triggered"
|
description = "Message sent when an alert is triggered"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -54,6 +54,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.memcached_cpu_high_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -53,6 +53,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| new\_host\_delay | Delay in seconds before monitor new resource | `number` | `300` | no |
|
| new\_host\_delay | Delay in seconds before monitor new resource | `number` | `300` | no |
|
||||||
| notify\_no\_data | Will raise no data alert if set to true | `bool` | `true` | no |
|
| notify\_no\_data | Will raise no data alert if set to true | `bool` | `true` | no |
|
||||||
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | `string` | `""` | no |
|
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | `string` | `""` | no |
|
||||||
|
| redis\_cpu\_high\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `30` | no |
|
||||||
| replication\_lag\_enabled | Flag to enable Elasticache redis replication lag monitor | `string` | `"true"` | no |
|
| replication\_lag\_enabled | Flag to enable Elasticache redis replication lag monitor | `string` | `"true"` | no |
|
||||||
| replication\_lag\_extra\_tags | Extra tags for Elasticache redis replication lag monitor | `list(string)` | `[]` | no |
|
| replication\_lag\_extra\_tags | Extra tags for Elasticache redis replication lag monitor | `list(string)` | `[]` | no |
|
||||||
| replication\_lag\_message | Custom message for Elasticache redis replication lag monitor | `string` | `""` | no |
|
| replication\_lag\_message | Custom message for Elasticache redis replication lag monitor | `string` | `""` | no |
|
||||||
|
|||||||
@ -25,6 +25,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "redis_cpu_high_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 30
|
||||||
|
}
|
||||||
|
|
||||||
variable "message" {
|
variable "message" {
|
||||||
description = "Message sent when an alert is triggered"
|
description = "Message sent when an alert is triggered"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -49,6 +49,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.redis_cpu_high_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -45,6 +45,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| es\_cluster\_status\_enabled | Flag to enable ES cluster status monitor | `string` | `"true"` | no |
|
| es\_cluster\_status\_enabled | Flag to enable ES cluster status monitor | `string` | `"true"` | no |
|
||||||
| es\_cluster\_status\_extra\_tags | Extra tags for ES cluster status monitor | `list(string)` | `[]` | no |
|
| es\_cluster\_status\_extra\_tags | Extra tags for ES cluster status monitor | `list(string)` | `[]` | no |
|
||||||
| es\_cluster\_status\_message | Custom message for ES cluster status monitor | `string` | `""` | no |
|
| es\_cluster\_status\_message | Custom message for ES cluster status monitor | `string` | `""` | no |
|
||||||
|
| es\_cluster\_status\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `60` | no |
|
||||||
| es\_cluster\_status\_timeframe | Monitor timeframe for ES cluster status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_30m"` | no |
|
| es\_cluster\_status\_timeframe | Monitor timeframe for ES cluster status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_30m"` | no |
|
||||||
| es\_cluster\_volume\_size | ElasticSearch Domain volume size (in GB) | `any` | n/a | yes |
|
| es\_cluster\_volume\_size | ElasticSearch Domain volume size (in GB) | `any` | n/a | yes |
|
||||||
| evaluation\_delay | Delay in seconds for the metric evaluation | `number` | `900` | no |
|
| evaluation\_delay | Delay in seconds for the metric evaluation | `number` | `900` | no |
|
||||||
|
|||||||
@ -25,6 +25,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "es_cluster_status_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 60
|
||||||
|
}
|
||||||
|
|
||||||
variable "message" {
|
variable "message" {
|
||||||
description = "Message sent when an alert is triggered"
|
description = "Message sent when an alert is triggered"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -24,6 +24,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.es_cluster_status_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -63,6 +63,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| elb\_no\_healthy\_instance\_enabled | Flag to enable ELB no healty instance monitor | `string` | `"true"` | no |
|
| elb\_no\_healthy\_instance\_enabled | Flag to enable ELB no healty instance monitor | `string` | `"true"` | no |
|
||||||
| elb\_no\_healthy\_instance\_extra\_tags | Extra tags for ELB no healty instance monitor | `list(string)` | `[]` | no |
|
| elb\_no\_healthy\_instance\_extra\_tags | Extra tags for ELB no healty instance monitor | `list(string)` | `[]` | no |
|
||||||
| elb\_no\_healthy\_instance\_message | Custom message for ELB no healty instance monitor | `string` | `""` | no |
|
| elb\_no\_healthy\_instance\_message | Custom message for ELB no healty instance monitor | `string` | `""` | no |
|
||||||
|
| elb\_no\_healthy\_instance\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| elb\_no\_healthy\_instance\_threshold\_warning | ELB no healthy instances warning threshold in percentage | `number` | `100` | no |
|
| elb\_no\_healthy\_instance\_threshold\_warning | ELB no healthy instances warning threshold in percentage | `number` | `100` | no |
|
||||||
| elb\_no\_healthy\_instance\_time\_aggregator | Monitor aggregator for ELB no healty instance [available values: min or max] | `string` | `"min"` | no |
|
| elb\_no\_healthy\_instance\_time\_aggregator | Monitor aggregator for ELB no healty instance [available values: min or max] | `string` | `"min"` | no |
|
||||||
| elb\_no\_healthy\_instance\_timeframe | Monitor timeframe for ELB no healty instance [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
| elb\_no\_healthy\_instance\_timeframe | Monitor timeframe for ELB no healty instance [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
||||||
|
|||||||
@ -25,6 +25,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "elb_no_healthy_instance_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
variable "message" {
|
variable "message" {
|
||||||
description = "Message sent when an alert is triggered"
|
description = "Message sent when an alert is triggered"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -20,6 +20,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.elb_no_healthy_instance_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -28,6 +28,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| filter\_tags\_custom | Tags used for custom filtering when filter\_tags\_use\_defaults is false | `string` | `"*"` | no |
|
| filter\_tags\_custom | Tags used for custom filtering when filter\_tags\_use\_defaults is false | `string` | `"*"` | no |
|
||||||
| filter\_tags\_custom\_excluded | Tags excluded for custom filtering when filter\_tags\_use\_defaults is false | `string` | `""` | no |
|
| filter\_tags\_custom\_excluded | Tags excluded for custom filtering when filter\_tags\_use\_defaults is false | `string` | `""` | no |
|
||||||
| filter\_tags\_use\_defaults | Use default filter tags convention | `string` | `"true"` | no |
|
| filter\_tags\_use\_defaults | Use default filter tags convention | `string` | `"true"` | no |
|
||||||
|
| firehose\_incoming\_records\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `30` | no |
|
||||||
| incoming\_records\_enabled | Flag to enable Kinesis Firehorse incoming records monitor | `string` | `"true"` | no |
|
| incoming\_records\_enabled | Flag to enable Kinesis Firehorse incoming records monitor | `string` | `"true"` | no |
|
||||||
| incoming\_records\_extra\_tags | Extra tags for Kinesis Firehorse incoming records monitor | `list(string)` | `[]` | no |
|
| incoming\_records\_extra\_tags | Extra tags for Kinesis Firehorse incoming records monitor | `list(string)` | `[]` | no |
|
||||||
| incoming\_records\_message | Custom message for Kinesis Firehorse incoming records monitor | `string` | `""` | no |
|
| incoming\_records\_message | Custom message for Kinesis Firehorse incoming records monitor | `string` | `""` | no |
|
||||||
|
|||||||
@ -25,6 +25,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "firehose_incoming_records_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 30
|
||||||
|
}
|
||||||
|
|
||||||
variable "message" {
|
variable "message" {
|
||||||
description = "Message sent when an alert is triggered"
|
description = "Message sent when an alert is triggered"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -18,6 +18,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.firehose_incoming_records_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -131,7 +131,8 @@ resource "datadog_monitor" "invocations" {
|
|||||||
warning = var.invocations_threshold_warning
|
warning = var.invocations_threshold_warning
|
||||||
}
|
}
|
||||||
|
|
||||||
notify_no_data = false
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.invocations_no_data_timeframe
|
||||||
require_full_window = false
|
require_full_window = false
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
|
|||||||
@ -33,6 +33,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| nlb\_no\_healthy\_instances\_enabled | Flag to enable NLB no healthy instances monitor | `string` | `"true"` | no |
|
| nlb\_no\_healthy\_instances\_enabled | Flag to enable NLB no healthy instances monitor | `string` | `"true"` | no |
|
||||||
| nlb\_no\_healthy\_instances\_extra\_tags | Extra tags for NLB no healthy instances monitor | `list(string)` | `[]` | no |
|
| nlb\_no\_healthy\_instances\_extra\_tags | Extra tags for NLB no healthy instances monitor | `list(string)` | `[]` | no |
|
||||||
| nlb\_no\_healthy\_instances\_message | Custom message for NLB no healthy instances monitor | `string` | `""` | no |
|
| nlb\_no\_healthy\_instances\_message | Custom message for NLB no healthy instances monitor | `string` | `""` | no |
|
||||||
|
| nlb\_no\_healthy\_instances\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| nlb\_no\_healthy\_instances\_threshold\_warning | NLB no healthy instances warning threshold in percentage | `number` | `100` | no |
|
| nlb\_no\_healthy\_instances\_threshold\_warning | NLB no healthy instances warning threshold in percentage | `number` | `100` | no |
|
||||||
| nlb\_no\_healthy\_instances\_time\_aggregator | Monitor aggregator for NLB no healthy instances [available values: min, max or avg] | `string` | `"min"` | no |
|
| nlb\_no\_healthy\_instances\_time\_aggregator | Monitor aggregator for NLB no healthy instances [available values: min, max or avg] | `string` | `"min"` | no |
|
||||||
| nlb\_no\_healthy\_instances\_timeframe | Monitor timeframe for NLB no healthy instances [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
| nlb\_no\_healthy\_instances\_timeframe | Monitor timeframe for NLB no healthy instances [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
||||||
|
|||||||
@ -44,6 +44,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "nlb_no_healthy_instances_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
# Datadog monitors variables
|
# Datadog monitors variables
|
||||||
|
|
||||||
variable "nlb_no_healthy_instances_enabled" {
|
variable "nlb_no_healthy_instances_enabled" {
|
||||||
|
|||||||
@ -20,6 +20,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.nlb_no_healthy_instances_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
require_full_window = false
|
require_full_window = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -39,6 +39,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| new\_host\_delay | Delay in seconds before monitor new resource | `number` | `300` | no |
|
| new\_host\_delay | Delay in seconds before monitor new resource | `number` | `300` | no |
|
||||||
| notify\_no\_data | Will raise no data alert if set to true | `bool` | `true` | no |
|
| notify\_no\_data | Will raise no data alert if set to true | `bool` | `true` | no |
|
||||||
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | `string` | `""` | no |
|
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | `string` | `""` | no |
|
||||||
|
| rds\_aurora\_mysql\_replica\_lag\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
|
|
||||||
## Outputs
|
## Outputs
|
||||||
|
|
||||||
|
|||||||
@ -25,6 +25,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "rds_aurora_mysql_replica_lag_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
variable "message" {
|
variable "message" {
|
||||||
description = "Message sent when an alert is triggered"
|
description = "Message sent when an alert is triggered"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -19,6 +19,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.rds_aurora_mysql_replica_lag_no_data_timeframe
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
include_tags = true
|
include_tags = true
|
||||||
|
|||||||
@ -39,6 +39,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| new\_host\_delay | Delay in seconds before monitor new resource | `number` | `300` | no |
|
| new\_host\_delay | Delay in seconds before monitor new resource | `number` | `300` | no |
|
||||||
| notify\_no\_data | Will raise no data alert if set to true | `bool` | `true` | no |
|
| notify\_no\_data | Will raise no data alert if set to true | `bool` | `true` | no |
|
||||||
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | `string` | `""` | no |
|
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | `string` | `""` | no |
|
||||||
|
| rds\_aurora\_postgresql\_replica\_lag\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
|
|
||||||
## Outputs
|
## Outputs
|
||||||
|
|
||||||
|
|||||||
@ -25,6 +25,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "rds_aurora_postgresql_replica_lag_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
variable "message" {
|
variable "message" {
|
||||||
description = "Message sent when an alert is triggered"
|
description = "Message sent when an alert is triggered"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -19,6 +19,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.rds_aurora_postgresql_replica_lag_no_data_timeframe
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
include_tags = true
|
include_tags = true
|
||||||
|
|||||||
@ -48,6 +48,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| new\_host\_delay | Delay in seconds before monitor new resource | `number` | `300` | no |
|
| new\_host\_delay | Delay in seconds before monitor new resource | `number` | `300` | no |
|
||||||
| notify\_no\_data | Will raise no data alert if set to true | `bool` | `true` | no |
|
| notify\_no\_data | Will raise no data alert if set to true | `bool` | `true` | no |
|
||||||
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | `string` | `""` | no |
|
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | `string` | `""` | no |
|
||||||
|
| rds\_free\_space\_low\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `30` | no |
|
||||||
| replicalag\_enabled | Flag to enable RDS replica lag monitor | `string` | `"true"` | no |
|
| replicalag\_enabled | Flag to enable RDS replica lag monitor | `string` | `"true"` | no |
|
||||||
| replicalag\_extra\_tags | Extra tags for RDS replica lag monitor | `list(string)` | `[]` | no |
|
| replicalag\_extra\_tags | Extra tags for RDS replica lag monitor | `list(string)` | `[]` | no |
|
||||||
| replicalag\_message | Custom message for RDS replica lag monitor | `string` | `""` | no |
|
| replicalag\_message | Custom message for RDS replica lag monitor | `string` | `""` | no |
|
||||||
|
|||||||
@ -25,6 +25,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "rds_free_space_low_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 30
|
||||||
|
}
|
||||||
|
|
||||||
variable "message" {
|
variable "message" {
|
||||||
description = "Message sent when an alert is triggered"
|
description = "Message sent when an alert is triggered"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -54,6 +54,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.rds_free_space_low_no_data_timeframe
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
include_tags = true
|
include_tags = true
|
||||||
|
|||||||
@ -33,6 +33,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| vpn\_status\_enabled | Flag to enable VPN status monitor | `string` | `"true"` | no |
|
| vpn\_status\_enabled | Flag to enable VPN status monitor | `string` | `"true"` | no |
|
||||||
| vpn\_status\_extra\_tags | Extra tags for VPN status monitor | `list(string)` | `[]` | no |
|
| vpn\_status\_extra\_tags | Extra tags for VPN status monitor | `list(string)` | `[]` | no |
|
||||||
| vpn\_status\_message | Custom message for VPN status monitor | `string` | `""` | no |
|
| vpn\_status\_message | Custom message for VPN status monitor | `string` | `""` | no |
|
||||||
|
| vpn\_status\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| vpn\_status\_time\_aggregator | Monitor aggregator for VPN status [available values: min, max or avg] | `string` | `"max"` | no |
|
| vpn\_status\_time\_aggregator | Monitor aggregator for VPN status [available values: min, max or avg] | `string` | `"max"` | no |
|
||||||
| vpn\_status\_timeframe | Monitor timeframe for VPN status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
| vpn\_status\_timeframe | Monitor timeframe for VPN status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
||||||
|
|
||||||
|
|||||||
@ -25,6 +25,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "vpn_status_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
variable "message" {
|
variable "message" {
|
||||||
description = "Message sent when an alert is triggered"
|
description = "Message sent when an alert is triggered"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -13,6 +13,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.vpn_status_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -27,6 +27,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
|
|
||||||
| Name | Description | Type | Default | Required |
|
| Name | Description | Type | Default | Required |
|
||||||
|------|-------------|------|---------|:-----:|
|
|------|-------------|------|---------|:-----:|
|
||||||
|
| apimgt\_status\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| environment | Architecture environment | `string` | n/a | yes |
|
| environment | Architecture environment | `string` | n/a | yes |
|
||||||
| evaluation\_delay | Delay in seconds for the metric evaluation | `number` | `900` | no |
|
| evaluation\_delay | Delay in seconds for the metric evaluation | `number` | `900` | no |
|
||||||
| failed\_requests\_enabled | Flag to enable API Management failed requests monitor | `string` | `"true"` | no |
|
| failed\_requests\_enabled | Flag to enable API Management failed requests monitor | `string` | `"true"` | no |
|
||||||
|
|||||||
@ -29,6 +29,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "apimgt_status_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
variable "filter_tags_use_defaults" {
|
variable "filter_tags_use_defaults" {
|
||||||
description = "Use default filter tags convention"
|
description = "Use default filter tags convention"
|
||||||
default = "true"
|
default = "true"
|
||||||
|
|||||||
@ -15,6 +15,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.apimgt_status_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -73,6 +73,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| appgateway\_http\_5xx\_errors\_threshold\_warning | Warning regarding acceptable percent of 5xx error | `number` | `80` | no |
|
| appgateway\_http\_5xx\_errors\_threshold\_warning | Warning regarding acceptable percent of 5xx error | `number` | `80` | no |
|
||||||
| appgateway\_http\_5xx\_errors\_time\_aggregator | Monitor aggregator for App Gateway http 5xx errors [available values: min, max or avg] | `string` | `"max"` | no |
|
| appgateway\_http\_5xx\_errors\_time\_aggregator | Monitor aggregator for App Gateway http 5xx errors [available values: min, max or avg] | `string` | `"max"` | no |
|
||||||
| appgateway\_http\_5xx\_errors\_timeframe | Monitor timeframe for App Gateway http 5xx errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
| appgateway\_http\_5xx\_errors\_timeframe | Monitor timeframe for App Gateway http 5xx errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
||||||
|
| appgateway\_status\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| appgateway\_unhealthy\_host\_ratio\_enabled | Flag to enable App Gateway unhealthy host ratio monitor | `string` | `"true"` | no |
|
| appgateway\_unhealthy\_host\_ratio\_enabled | Flag to enable App Gateway unhealthy host ratio monitor | `string` | `"true"` | no |
|
||||||
| appgateway\_unhealthy\_host\_ratio\_extra\_tags | Extra tags for App Gateway unhealthy host ratio monitor | `list(string)` | `[]` | no |
|
| appgateway\_unhealthy\_host\_ratio\_extra\_tags | Extra tags for App Gateway unhealthy host ratio monitor | `list(string)` | `[]` | no |
|
||||||
| appgateway\_unhealthy\_host\_ratio\_message | Custom message for App Gateway unhealthy host ratio monitor | `string` | `""` | no |
|
| appgateway\_unhealthy\_host\_ratio\_message | Custom message for App Gateway unhealthy host ratio monitor | `string` | `""` | no |
|
||||||
|
|||||||
@ -43,6 +43,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "appgateway_status_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
# Azure App Gateway specific variables
|
# Azure App Gateway specific variables
|
||||||
# Monitoring App Gateway status
|
# Monitoring App Gateway status
|
||||||
variable "status_enabled" {
|
variable "status_enabled" {
|
||||||
|
|||||||
@ -14,6 +14,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.appgateway_status_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -28,6 +28,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
|
|
||||||
| Name | Description | Type | Default | Required |
|
| Name | Description | Type | Default | Required |
|
||||||
|------|-------------|------|---------|:-----:|
|
|------|-------------|------|---------|:-----:|
|
||||||
|
| appservices\_status\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| environment | Architecture environment | `string` | n/a | yes |
|
| environment | Architecture environment | `string` | n/a | yes |
|
||||||
| evaluation\_delay | Delay in seconds for the metric evaluation | `number` | `900` | no |
|
| evaluation\_delay | Delay in seconds for the metric evaluation | `number` | `900` | no |
|
||||||
| filter\_tags\_custom | Tags used for custom filtering when filter\_tags\_use\_defaults is false | `string` | `"*"` | no |
|
| filter\_tags\_custom | Tags used for custom filtering when filter\_tags\_use\_defaults is false | `string` | `"*"` | no |
|
||||||
|
|||||||
@ -42,6 +42,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "appservices_status_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
# Azure App Services specific variables
|
# Azure App Services specific variables
|
||||||
|
|
||||||
variable "response_time_enabled" {
|
variable "response_time_enabled" {
|
||||||
|
|||||||
@ -186,6 +186,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.appservices_status_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
require_full_window = false
|
require_full_window = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -24,6 +24,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
|
|
||||||
| Name | Description | Type | Default | Required |
|
| Name | Description | Type | Default | Required |
|
||||||
|------|-------------|------|---------|:-----:|
|
|------|-------------|------|---------|:-----:|
|
||||||
|
| azure\_search\_latency\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| environment | Architecture environment | `string` | n/a | yes |
|
| environment | Architecture environment | `string` | n/a | yes |
|
||||||
| evaluation\_delay | Delay in seconds for the metric evaluation | `number` | `900` | no |
|
| evaluation\_delay | Delay in seconds for the metric evaluation | `number` | `900` | no |
|
||||||
| filter\_tags\_custom | Tags used for custom filtering when filter\_tags\_use\_defaults is false | `string` | `"*"` | no |
|
| filter\_tags\_custom | Tags used for custom filtering when filter\_tags\_use\_defaults is false | `string` | `"*"` | no |
|
||||||
|
|||||||
@ -42,6 +42,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "azure_search_latency_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
# Azure Search specific variables
|
# Azure Search specific variables
|
||||||
|
|
||||||
variable "latency_enabled" {
|
variable "latency_enabled" {
|
||||||
|
|||||||
@ -19,6 +19,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.azure_search_latency_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
require_full_window = false
|
require_full_window = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -47,6 +47,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| cosmos\_db\_scaling\_message | Custom message for Cosmos DB scaling monitor | `string` | `""` | no |
|
| cosmos\_db\_scaling\_message | Custom message for Cosmos DB scaling monitor | `string` | `""` | no |
|
||||||
| cosmos\_db\_scaling\_time\_aggregator | Monitor aggregator for Cosmos DB scaling [available values: min, max or avg] | `string` | `"min"` | no |
|
| cosmos\_db\_scaling\_time\_aggregator | Monitor aggregator for Cosmos DB scaling [available values: min, max or avg] | `string` | `"min"` | no |
|
||||||
| cosmos\_db\_scaling\_timeframe | Monitor timeframe for Cosmos DB scaling [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
| cosmos\_db\_scaling\_timeframe | Monitor timeframe for Cosmos DB scaling [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
||||||
|
| cosmos\_db\_status\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| environment | Architecture environment | `string` | n/a | yes |
|
| environment | Architecture environment | `string` | n/a | yes |
|
||||||
| evaluation\_delay | Delay in seconds for the metric evaluation | `number` | `900` | no |
|
| evaluation\_delay | Delay in seconds for the metric evaluation | `number` | `900` | no |
|
||||||
| filter\_tags\_custom | Tags used for custom filtering when filter\_tags\_use\_defaults is false | `string` | `"*"` | no |
|
| filter\_tags\_custom | Tags used for custom filtering when filter\_tags\_use\_defaults is false | `string` | `"*"` | no |
|
||||||
|
|||||||
@ -42,6 +42,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "cosmos_db_status_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
# Azure CosmosDB specific variables
|
# Azure CosmosDB specific variables
|
||||||
variable "status_enabled" {
|
variable "status_enabled" {
|
||||||
description = "Flag to enable Cosmos DB status monitor"
|
description = "Flag to enable Cosmos DB status monitor"
|
||||||
|
|||||||
@ -17,6 +17,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.cosmos_db_status_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -23,6 +23,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
|
|
||||||
| Name | Description | Type | Default | Required |
|
| Name | Description | Type | Default | Required |
|
||||||
|------|-------------|------|---------|:-----:|
|
|------|-------------|------|---------|:-----:|
|
||||||
|
| datalakestore\_status\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| environment | Architecture environment | `string` | n/a | yes |
|
| environment | Architecture environment | `string` | n/a | yes |
|
||||||
| evaluation\_delay | Delay in seconds for the metric evaluation | `number` | `900` | no |
|
| evaluation\_delay | Delay in seconds for the metric evaluation | `number` | `900` | no |
|
||||||
| filter\_tags\_custom | Tags used for custom filtering when filter\_tags\_use\_defaults is false | `string` | `"*"` | no |
|
| filter\_tags\_custom | Tags used for custom filtering when filter\_tags\_use\_defaults is false | `string` | `"*"` | no |
|
||||||
|
|||||||
@ -42,6 +42,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "datalakestore_status_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
# Azure Datalake Store specific variables
|
# Azure Datalake Store specific variables
|
||||||
variable "status_enabled" {
|
variable "status_enabled" {
|
||||||
description = "Flag to enable Datalake Store status monitor"
|
description = "Flag to enable Datalake Store status monitor"
|
||||||
|
|||||||
@ -13,6 +13,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.datalakestore_status_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -27,6 +27,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
|------|-------------|------|---------|:-----:|
|
|------|-------------|------|---------|:-----:|
|
||||||
| environment | Architecture environment | `string` | n/a | yes |
|
| environment | Architecture environment | `string` | n/a | yes |
|
||||||
| evaluation\_delay | Delay in seconds for the metric evaluation | `number` | `900` | no |
|
| evaluation\_delay | Delay in seconds for the metric evaluation | `number` | `900` | no |
|
||||||
|
| eventgrid\_no\_successful\_message\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| failed\_messages\_rate\_enabled | Flag to enable Event Grid failed messages monitor | `string` | `"true"` | no |
|
| failed\_messages\_rate\_enabled | Flag to enable Event Grid failed messages monitor | `string` | `"true"` | no |
|
||||||
| failed\_messages\_rate\_extra\_tags | Extra tags for Event Grid failed messages monitor | `list(string)` | `[]` | no |
|
| failed\_messages\_rate\_extra\_tags | Extra tags for Event Grid failed messages monitor | `list(string)` | `[]` | no |
|
||||||
| failed\_messages\_rate\_message | Custom message for Event Grid failed messages monitor | `string` | `""` | no |
|
| failed\_messages\_rate\_message | Custom message for Event Grid failed messages monitor | `string` | `""` | no |
|
||||||
|
|||||||
@ -29,6 +29,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "eventgrid_no_successful_message_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
variable "filter_tags_use_defaults" {
|
variable "filter_tags_use_defaults" {
|
||||||
description = "Use default filter tags convention"
|
description = "Use default filter tags convention"
|
||||||
default = "true"
|
default = "true"
|
||||||
|
|||||||
@ -13,6 +13,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.eventgrid_no_successful_message_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -34,6 +34,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| errors\_rate\_time\_aggregator | Monitor aggregator for Event Hub errors [available values: min, max or avg] | `string` | `"min"` | no |
|
| errors\_rate\_time\_aggregator | Monitor aggregator for Event Hub errors [available values: min, max or avg] | `string` | `"min"` | no |
|
||||||
| errors\_rate\_timeframe | Monitor timeframe for Event Hub errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
| errors\_rate\_timeframe | Monitor timeframe for Event Hub errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
||||||
| evaluation\_delay | Delay in seconds for the metric evaluation | `number` | `900` | no |
|
| evaluation\_delay | Delay in seconds for the metric evaluation | `number` | `900` | no |
|
||||||
|
| eventhub\_status\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| failed\_requests\_rate\_enabled | Flag to enable Event Hub failed requests monitor | `string` | `"true"` | no |
|
| failed\_requests\_rate\_enabled | Flag to enable Event Hub failed requests monitor | `string` | `"true"` | no |
|
||||||
| failed\_requests\_rate\_extra\_tags | Extra tags for Event Hub failed requests monitor | `list(string)` | `[]` | no |
|
| failed\_requests\_rate\_extra\_tags | Extra tags for Event Hub failed requests monitor | `list(string)` | `[]` | no |
|
||||||
| failed\_requests\_rate\_message | Custom message for Event Hub failed requests monitor | `string` | `""` | no |
|
| failed\_requests\_rate\_message | Custom message for Event Hub failed requests monitor | `string` | `""` | no |
|
||||||
|
|||||||
@ -29,6 +29,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "eventhub_status_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
variable "filter_tags_use_defaults" {
|
variable "filter_tags_use_defaults" {
|
||||||
description = "Use default filter tags convention"
|
description = "Use default filter tags convention"
|
||||||
default = "true"
|
default = "true"
|
||||||
|
|||||||
@ -13,6 +13,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.eventhub_status_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -125,6 +125,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| status\_enabled | Flag to enable IoT Hub status monitor | `string` | `"true"` | no |
|
| status\_enabled | Flag to enable IoT Hub status monitor | `string` | `"true"` | no |
|
||||||
| status\_extra\_tags | Extra tags for IoT Hub status monitor | `list(string)` | `[]` | no |
|
| status\_extra\_tags | Extra tags for IoT Hub status monitor | `list(string)` | `[]` | no |
|
||||||
| status\_message | Custom message for IoT Hub status monitor | `string` | `""` | no |
|
| status\_message | Custom message for IoT Hub status monitor | `string` | `""` | no |
|
||||||
|
| status\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| status\_time\_aggregator | Monitor aggregator for IoT Hub status [available values: min, max, sum or avg] | `string` | `"max"` | no |
|
| status\_time\_aggregator | Monitor aggregator for IoT Hub status [available values: min, max, sum or avg] | `string` | `"max"` | no |
|
||||||
| status\_timeframe | Monitor timeframe for IoT Hub status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
| status\_timeframe | Monitor timeframe for IoT Hub status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
||||||
| too\_many\_d2c\_telemetry\_ingress\_nosent\_enabled | Flag to enable IoT Hub unsent d2c telemetry monitor | `string` | `"true"` | no |
|
| too\_many\_d2c\_telemetry\_ingress\_nosent\_enabled | Flag to enable IoT Hub unsent d2c telemetry monitor | `string` | `"true"` | no |
|
||||||
|
|||||||
@ -25,6 +25,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "status_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
variable "message" {
|
variable "message" {
|
||||||
description = "Message sent when an alert is triggered"
|
description = "Message sent when an alert is triggered"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -124,6 +124,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.status_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -44,6 +44,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| filter\_tags\_custom | Tags used for custom filtering when filter\_tags\_use\_defaults is false | `string` | `"*"` | no |
|
| filter\_tags\_custom | Tags used for custom filtering when filter\_tags\_use\_defaults is false | `string` | `"*"` | no |
|
||||||
| filter\_tags\_custom\_excluded | Tags excluded for custom filtering when filter\_tags\_use\_defaults is false | `string` | `""` | no |
|
| filter\_tags\_custom\_excluded | Tags excluded for custom filtering when filter\_tags\_use\_defaults is false | `string` | `""` | no |
|
||||||
| filter\_tags\_use\_defaults | Use default filter tags convention | `string` | `"true"` | no |
|
| filter\_tags\_use\_defaults | Use default filter tags convention | `string` | `"true"` | no |
|
||||||
|
| keyvault\_status\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| message | Message sent when a monitor is triggered | `any` | n/a | yes |
|
| message | Message sent when a monitor is triggered | `any` | n/a | yes |
|
||||||
| new\_host\_delay | Delay in seconds before monitor new resource | `number` | `300` | no |
|
| new\_host\_delay | Delay in seconds before monitor new resource | `number` | `300` | no |
|
||||||
| notify\_no\_data | Will raise no data alert if set to true | `bool` | `true` | no |
|
| notify\_no\_data | Will raise no data alert if set to true | `bool` | `true` | no |
|
||||||
|
|||||||
@ -42,6 +42,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "keyvault_status_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
# Azure Key Vault specific variables
|
# Azure Key Vault specific variables
|
||||||
variable "status_enabled" {
|
variable "status_enabled" {
|
||||||
description = "Flag to enable Key Vault status monitor"
|
description = "Flag to enable Key Vault status monitor"
|
||||||
|
|||||||
@ -13,6 +13,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.keyvault_status_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -28,6 +28,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| filter\_tags\_custom | Tags used for custom filtering when filter\_tags\_use\_defaults is false | `string` | `"*"` | no |
|
| filter\_tags\_custom | Tags used for custom filtering when filter\_tags\_use\_defaults is false | `string` | `"*"` | no |
|
||||||
| filter\_tags\_custom\_excluded | Tags excluded for custom filtering when filter\_tags\_use\_defaults is false | `string` | `""` | no |
|
| filter\_tags\_custom\_excluded | Tags excluded for custom filtering when filter\_tags\_use\_defaults is false | `string` | `""` | no |
|
||||||
| filter\_tags\_use\_defaults | Use default filter tags convention | `string` | `"true"` | no |
|
| filter\_tags\_use\_defaults | Use default filter tags convention | `string` | `"true"` | no |
|
||||||
|
| loadbalancer\_status\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| message | Message sent when a monitor is triggered | `any` | n/a | yes |
|
| message | Message sent when a monitor is triggered | `any` | n/a | yes |
|
||||||
| new\_host\_delay | Delay in seconds before monitor new resource | `number` | `300` | no |
|
| new\_host\_delay | Delay in seconds before monitor new resource | `number` | `300` | no |
|
||||||
| notify\_no\_data | Will raise no data alert if set to true | `bool` | `true` | no |
|
| notify\_no\_data | Will raise no data alert if set to true | `bool` | `true` | no |
|
||||||
|
|||||||
@ -42,6 +42,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "loadbalancer_status_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
# Azure Load Balancer specific variables
|
# Azure Load Balancer specific variables
|
||||||
variable "status_enabled" {
|
variable "status_enabled" {
|
||||||
description = "Flag to enable Load Balancer status monitor"
|
description = "Flag to enable Load Balancer status monitor"
|
||||||
|
|||||||
@ -13,6 +13,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.loadbalancer_status_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -67,6 +67,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| no\_connection\_time\_aggregator | Monitor aggregator for PostgreSQL no connection [available values: min, max or avg] | `string` | `"min"` | no |
|
| no\_connection\_time\_aggregator | Monitor aggregator for PostgreSQL no connection [available values: min, max or avg] | `string` | `"min"` | no |
|
||||||
| no\_connection\_timeframe | Monitor timeframe for PostgreSQL no connection [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
| no\_connection\_timeframe | Monitor timeframe for PostgreSQL no connection [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
||||||
| notify\_no\_data | Will raise no data alert if set to true | `bool` | `true` | no |
|
| notify\_no\_data | Will raise no data alert if set to true | `bool` | `true` | no |
|
||||||
|
| postgresql\_no\_connection\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | `string` | `""` | no |
|
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | `string` | `""` | no |
|
||||||
|
|
||||||
## Outputs
|
## Outputs
|
||||||
|
|||||||
@ -25,6 +25,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "postgresql_no_connection_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
variable "message" {
|
variable "message" {
|
||||||
description = "Message sent when an alert is triggered"
|
description = "Message sent when an alert is triggered"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -47,6 +47,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.postgresql_no_connection_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -59,6 +59,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| status\_enabled | Flag to enable Redis status monitor | `string` | `"true"` | no |
|
| status\_enabled | Flag to enable Redis status monitor | `string` | `"true"` | no |
|
||||||
| status\_extra\_tags | Extra tags for Redis status monitor | `list(string)` | `[]` | no |
|
| status\_extra\_tags | Extra tags for Redis status monitor | `list(string)` | `[]` | no |
|
||||||
| status\_message | Custom message for Redis status monitor | `string` | `""` | no |
|
| status\_message | Custom message for Redis status monitor | `string` | `""` | no |
|
||||||
|
| status\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| status\_time\_aggregator | Monitor aggregator for Redis status [available values: min, max or avg] | `string` | `"max"` | no |
|
| status\_time\_aggregator | Monitor aggregator for Redis status [available values: min, max or avg] | `string` | `"max"` | no |
|
||||||
| status\_timeframe | Monitor timeframe for Redis status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
| status\_timeframe | Monitor timeframe for Redis status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
||||||
|
|
||||||
|
|||||||
@ -29,6 +29,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "status_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
variable "filter_tags_use_defaults" {
|
variable "filter_tags_use_defaults" {
|
||||||
description = "Use default filter tags convention"
|
description = "Use default filter tags convention"
|
||||||
default = "true"
|
default = "true"
|
||||||
|
|||||||
@ -13,6 +13,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.status_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -50,6 +50,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| status\_enabled | Flag to enable the serverfarms status monitor | `string` | `"true"` | no |
|
| status\_enabled | Flag to enable the serverfarms status monitor | `string` | `"true"` | no |
|
||||||
| status\_extra\_tags | Extra tags for serverfarms status monitor | `list(string)` | `[]` | no |
|
| status\_extra\_tags | Extra tags for serverfarms status monitor | `list(string)` | `[]` | no |
|
||||||
| status\_message | Custom message for serverfarm status monitor | `string` | `""` | no |
|
| status\_message | Custom message for serverfarm status monitor | `string` | `""` | no |
|
||||||
|
| status\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| status\_time\_aggregator | Monitor aggregator for serverfarms status [available values: min, max or avg] | `string` | `"max"` | no |
|
| status\_time\_aggregator | Monitor aggregator for serverfarms status [available values: min, max or avg] | `string` | `"max"` | no |
|
||||||
| status\_timeframe | Monitor timeframe for serverfarms status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
| status\_timeframe | Monitor timeframe for serverfarms status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
||||||
|
|
||||||
|
|||||||
@ -29,6 +29,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "status_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
variable "filter_tags_use_defaults" {
|
variable "filter_tags_use_defaults" {
|
||||||
description = "Use default filter tags convention"
|
description = "Use default filter tags convention"
|
||||||
default = "true"
|
default = "true"
|
||||||
|
|||||||
@ -13,6 +13,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.status_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -47,6 +47,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| server\_errors\_threshold\_warning | Warning threshold for Service Bus server errors monitor | `number` | `50` | no |
|
| server\_errors\_threshold\_warning | Warning threshold for Service Bus server errors monitor | `number` | `50` | no |
|
||||||
| server\_errors\_time\_aggregator | Monitor aggregator for Service Bus server errors [available values: min, max or avg] | `string` | `"min"` | no |
|
| server\_errors\_time\_aggregator | Monitor aggregator for Service Bus server errors [available values: min, max or avg] | `string` | `"min"` | no |
|
||||||
| server\_errors\_timeframe | Monitor timeframe for Service Bus server errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
| server\_errors\_timeframe | Monitor timeframe for Service Bus server errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
||||||
|
| servicebus\_status\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| status\_enabled | Flag to enable Service Bus status monitor | `string` | `"true"` | no |
|
| status\_enabled | Flag to enable Service Bus status monitor | `string` | `"true"` | no |
|
||||||
| status\_extra\_tags | Extra tags for Service Bus status monitor | `list(string)` | `[]` | no |
|
| status\_extra\_tags | Extra tags for Service Bus status monitor | `list(string)` | `[]` | no |
|
||||||
| status\_message | Custom message for Service Bus status monitor | `string` | `""` | no |
|
| status\_message | Custom message for Service Bus status monitor | `string` | `""` | no |
|
||||||
|
|||||||
@ -25,6 +25,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "servicebus_status_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
variable "message" {
|
variable "message" {
|
||||||
description = "Message sent when an alert is triggered"
|
description = "Message sent when an alert is triggered"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -13,6 +13,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.servicebus_status_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -65,6 +65,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| status\_enabled | Flag to enable Redis status monitor | `string` | `"true"` | no |
|
| status\_enabled | Flag to enable Redis status monitor | `string` | `"true"` | no |
|
||||||
| status\_extra\_tags | Extra tags for Redis status monitor | `list(string)` | `[]` | no |
|
| status\_extra\_tags | Extra tags for Redis status monitor | `list(string)` | `[]` | no |
|
||||||
| status\_message | Custom message for Redis status monitor | `string` | `""` | no |
|
| status\_message | Custom message for Redis status monitor | `string` | `""` | no |
|
||||||
|
| status\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| status\_time\_aggregator | Monitor aggregator for Redis status [available values: min, max or avg] | `string` | `"max"` | no |
|
| status\_time\_aggregator | Monitor aggregator for Redis status [available values: min, max or avg] | `string` | `"max"` | no |
|
||||||
| status\_timeframe | Monitor timeframe for Redis status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
| status\_timeframe | Monitor timeframe for Redis status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | `string` | `"last_5m"` | no |
|
||||||
|
|
||||||
|
|||||||
@ -25,6 +25,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "status_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 10
|
||||||
|
}
|
||||||
|
|
||||||
variable "message" {
|
variable "message" {
|
||||||
description = "Message sent when an alert is triggered"
|
description = "Message sent when an alert is triggered"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -13,6 +13,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.status_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -55,6 +55,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| new\_host\_delay | Delay in seconds before monitor new resource | `number` | `300` | no |
|
| new\_host\_delay | Delay in seconds before monitor new resource | `number` | `300` | no |
|
||||||
| notify\_no\_data | Will raise no data alert if set to true | `bool` | `true` | no |
|
| notify\_no\_data | Will raise no data alert if set to true | `bool` | `true` | no |
|
||||||
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | `string` | `""` | no |
|
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | `string` | `""` | no |
|
||||||
|
| sql\_elasticpool\_cpu\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `30` | no |
|
||||||
|
|
||||||
## Outputs
|
## Outputs
|
||||||
|
|
||||||
|
|||||||
@ -25,6 +25,12 @@ variable "notify_no_data" {
|
|||||||
default = true
|
default = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "sql_elasticpool_cpu_no_data_timeframe" {
|
||||||
|
description = "Number of minutes before reporting no data"
|
||||||
|
type = string
|
||||||
|
default = 30
|
||||||
|
}
|
||||||
|
|
||||||
variable "message" {
|
variable "message" {
|
||||||
description = "Message sent when an alert is triggered"
|
description = "Message sent when an alert is triggered"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -18,6 +18,7 @@ EOQ
|
|||||||
evaluation_delay = var.evaluation_delay
|
evaluation_delay = var.evaluation_delay
|
||||||
new_host_delay = var.new_host_delay
|
new_host_delay = var.new_host_delay
|
||||||
notify_no_data = var.notify_no_data
|
notify_no_data = var.notify_no_data
|
||||||
|
no_data_timeframe = var.sql_elasticpool_cpu_no_data_timeframe
|
||||||
renotify_interval = 0
|
renotify_interval = 0
|
||||||
notify_audit = false
|
notify_audit = false
|
||||||
timeout_h = 0
|
timeout_h = 0
|
||||||
|
|||||||
@ -118,6 +118,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
| status\_silenced | Groups to mute for App Services status monitor | `map(string)` | `{}` | no |
|
| status\_silenced | Groups to mute for App Services status monitor | `map(string)` | `{}` | no |
|
||||||
| status\_time\_aggregator | Monitor aggregator for Storage Services status [available values: min, max or avg] | `string` | `"max"` | no |
|
| status\_time\_aggregator | Monitor aggregator for Storage Services status [available values: min, max or avg] | `string` | `"max"` | no |
|
||||||
| status\_timeframe | 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`] | `string` | `"last_5m"` | no |
|
| status\_timeframe | 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`] | `string` | `"last_5m"` | no |
|
||||||
|
| storage\_status\_no\_data\_timeframe | Number of minutes before reporting no data | `string` | `10` | no |
|
||||||
| successful\_requests\_enabled | Flag to enable Storage sucessful requests monitor | `string` | `"true"` | no |
|
| successful\_requests\_enabled | Flag to enable Storage sucessful requests monitor | `string` | `"true"` | no |
|
||||||
| successful\_requests\_extra\_tags | Extra tags for Storage sucessful requests monitor | `list(string)` | `[]` | no |
|
| successful\_requests\_extra\_tags | Extra tags for Storage sucessful requests monitor | `list(string)` | `[]` | no |
|
||||||
| successful\_requests\_message | Custom message for Storage sucessful requests monitor | `string` | `""` | no |
|
| successful\_requests\_message | Custom message for Storage sucessful requests monitor | `string` | `""` | no |
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user