Merge branch 'MON-541_variable_for_notify_no_data' into 'master'

MON-541 add variable for notify no data for every modules

Closes MON-541

See merge request claranet/pt-monitoring/projects/datadog/terraform/monitors!144
This commit is contained in:
Quentin Manfroi 2019-12-03 11:25:55 +01:00
commit 0bccf0a71b
196 changed files with 478 additions and 72 deletions

View File

@ -42,6 +42,7 @@ Creates DataDog monitors with the following checks:
| not\_responding\_message | Custom message for Docker does not respond monitor | string | `""` | no |
| not\_responding\_no\_data\_timeframe | Docker does not respond monitor no data timeframe | string | `"10"` | no |
| not\_responding\_threshold\_warning | Docker does not respond monitor (warning threshold) | string | `"3"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
## Outputs

View File

@ -20,6 +20,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
variable "message" {
description = "Message sent when an alert is triggered"
}

View File

@ -18,7 +18,7 @@ EOQ
new_host_delay = var.new_host_delay
no_data_timeframe = var.not_responding_no_data_timeframe
notify_no_data = true
notify_no_data = var.notify_no_data
notify_audit = false
locked = false
timeout_h = 0

View File

@ -34,6 +34,7 @@ Creates DataDog monitors with the following checks:
| filter\_tags\_use\_defaults | Use default filter tags convention | string | `"true"` | no |
| message | Message sent when a monitor is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
## Outputs

View File

@ -38,6 +38,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
# Datadog monitors variables
variable "ark_schedules_monitor_message" {

View File

@ -17,7 +17,7 @@ EOQ
new_host_delay = var.new_host_delay
no_data_timeframe = var.ark_schedules_monitor_no_data_timeframe
notify_no_data = true
notify_no_data = var.notify_no_data
renotify_interval = 0
notify_audit = false
timeout_h = 0

View File

@ -33,6 +33,7 @@ Creates DataDog monitors with the following checks:
| filter\_tags\_use\_defaults | Use default filter tags convention | string | `"true"` | no |
| message | Message sent when a monitor is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
## Outputs

View File

@ -38,6 +38,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
# Datadog monitors variables
variable "apiserver_enabled" {

View File

@ -15,7 +15,7 @@ EOQ
}
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
renotify_interval = 0
notify_audit = false
timeout_h = 0

View File

@ -45,6 +45,7 @@ Creates DataDog monitors with the following checks:
| ingress\_5xx\_timeframe | Monitor timeframe for Ingress 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 |
| message | Message sent when an alert is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
## Outputs

View File

@ -20,6 +20,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
variable "message" {
description = "Message sent when an alert is triggered"
}

View File

@ -63,6 +63,7 @@ Creates DataDog monitors with the following checks:
| node\_unschedulable\_message | Custom message for node unschedulable monitor | string | `""` | no |
| node\_unschedulable\_time\_aggregator | Monitor aggregator for node unschedulable [available values: min, max or avg] | string | `"min"` | no |
| node\_unschedulable\_timeframe | Monitor timeframe for node unschedulable [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `"last_1h"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
| ready\_enabled | Flag to enable Node ready monitor | string | `"true"` | no |
| ready\_extra\_tags | Extra tags for Node ready monitor | list(string) | `[]` | no |

View File

@ -38,6 +38,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
# Datadog monitors variables
variable "disk_pressure_enabled" {

View File

@ -138,7 +138,7 @@ EOQ
}
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
renotify_interval = 0
notify_audit = false
timeout_h = 0

View File

@ -38,6 +38,7 @@ Creates DataDog monitors with the following checks:
| filter\_tags\_use\_defaults | Use default filter tags convention | string | `"true"` | no |
| message | Message sent when a monitor is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| pod\_phase\_status\_enabled | Flag to enable Pod phase status monitor | string | `"true"` | no |
| pod\_phase\_status\_extra\_tags | Extra tags for Pod phase status monitor | list(string) | `[]` | no |
| pod\_phase\_status\_message | Custom message for Pod phase status monitor | string | `""` | no |

View File

@ -38,6 +38,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
# Datadog monitors variables
variable "pod_phase_status_enabled" {

View File

@ -41,6 +41,7 @@ Creates DataDog monitors with the following checks:
| job\_threshold\_warning | Job monitor (warning threshold) | string | `"3"` | no |
| message | Message sent when a monitor is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
| replica\_available\_enabled | Flag to enable Available replica monitor | string | `"true"` | no |
| replica\_available\_extra\_tags | Extra tags for Available replicamonitor | list(string) | `[]` | no |

View File

@ -38,6 +38,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
# Datadog monitors variables
variable "job_enabled" {

View File

@ -76,6 +76,7 @@ Creates DataDog monitors with the following checks:
| latency\_timeframe | Monitor timeframe for ALB latency [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `"last_5m"` | no |
| message | Message sent when a monitor is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
## Outputs

View File

@ -39,6 +39,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
# Datadog monitors variables
variable "alb_no_healthy_instances_enabled" {

View File

@ -19,7 +19,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
renotify_interval = 0
require_full_window = false
timeout_h = 0

View File

@ -51,6 +51,7 @@ Creates DataDog monitors with the following checks:
| latency\_timeframe | Monitor timeframe for API latency [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `"last_5m"` | no |
| message | Message sent when a monitor is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
## Outputs

View File

@ -27,6 +27,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
###################################
### LATENCY VARIABLES ###
###################################

View File

@ -53,6 +53,7 @@ Creates DataDog monitors with the following checks:
| health\_timeframe | Monitor timeframe for beanstalk health [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `"last_10m"` | no |
| message | Message sent when an alert is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
| root\_filesystem\_usage\_aggregator | Monitor aggregator for beanstalk instance file system usage [available values: min, max or avg] | string | `"max"` | no |
| root\_filesystem\_usage\_enabled | Flag to enable Beanstalk instance file system usage monitor | string | `"true"` | no |

View File

@ -20,6 +20,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
variable "message" {
description = "Message sent when an alert is triggered"
}

View File

@ -16,7 +16,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
notify_audit = false
timeout_h = 0
include_tags = true

View File

@ -32,6 +32,7 @@ Creates DataDog monitors with the following checks:
| filter\_tags\_use\_defaults | Use default filter tags convention | string | `"true"` | no |
| message | Message sent when a monitor is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
| service\_cpu\_utilization\_enabled | Flag to enable Service CPU Utilization monitor | string | `"false"` | no |
| service\_cpu\_utilization\_extra\_tags | Extra tags for Service CPU Utilization monitor | list(string) | `[]` | no |

View File

@ -30,6 +30,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
variable "filter_tags_use_defaults" {
description = "Use default filter tags convention"
default = "true"

View File

@ -50,6 +50,7 @@ Creates DataDog monitors with the following checks:
| filter\_tags\_use\_defaults | Use default filter tags convention | string | `"true"` | no |
| message | Message sent when a monitor is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
## Outputs

View File

@ -25,6 +25,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
variable "filter_tags_use_defaults" {
description = "Use default filter tags convention"
default = "true"

View File

@ -17,7 +17,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
no_data_timeframe = var.agent_status_no_data_timeframe
require_full_window = false
renotify_interval = 0

View File

@ -64,6 +64,7 @@ Creates DataDog monitors with the following checks:
| no\_connection\_message | Custom message for Elasticache no connection monitor | string | `""` | no |
| no\_connection\_time\_aggregator | Monitor aggregator for Elasticache no connection [available values: min, max or avg] | string | `"min"` | no |
| no\_connection\_timeframe | Monitor timeframe for Elasticache 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 | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
| swap\_enabled | Flag to enable Elasticache swap monitor | string | `"true"` | no |
| swap\_extra\_tags | Extra tags for Elasticache swap monitor | list(string) | `[]` | no |

View File

@ -20,6 +20,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
variable "message" {
description = "Message sent when an alert is triggered"
}

View File

@ -46,7 +46,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
renotify_interval = 0
notify_audit = false
timeout_h = 0

View File

@ -44,6 +44,7 @@ Creates DataDog monitors with the following checks:
| 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 |
| message | Message sent when an alert is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
## Outputs

View File

@ -20,6 +20,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
variable "message" {
description = "Message sent when an alert is triggered"
}

View File

@ -53,7 +53,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
renotify_interval = 0
notify_audit = false
timeout_h = 0

View File

@ -50,6 +50,7 @@ Creates DataDog monitors with the following checks:
| filter\_tags\_use\_defaults | Use default filter tags convention | string | `"true"` | no |
| message | Message sent when an alert is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | 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 |

View File

@ -20,6 +20,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
variable "message" {
description = "Message sent when an alert is triggered"
}

View File

@ -48,7 +48,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
renotify_interval = 0
notify_audit = false
timeout_h = 0

View File

@ -52,6 +52,7 @@ Creates DataDog monitors with the following checks:
| filter\_tags\_use\_defaults | Use default filter tags convention | string | `"true"` | no |
| message | Message sent when an alert is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
## Outputs

View File

@ -20,6 +20,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
variable "message" {
description = "Message sent when an alert is triggered"
}

View File

@ -23,7 +23,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
renotify_interval = 0
notify_audit = false
timeout_h = 0

View File

@ -72,6 +72,7 @@ Creates DataDog monitors with the following checks:
| filter\_tags\_use\_defaults | Use default filter tags convention | string | `"true"` | no |
| message | Message sent when an alert is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
## Outputs

View File

@ -20,6 +20,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
variable "message" {
description = "Message sent when an alert is triggered"
}

View File

@ -19,7 +19,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
renotify_interval = 0
notify_audit = false
timeout_h = 0

View File

@ -33,6 +33,7 @@ Creates DataDog monitors with the following checks:
| incoming\_records\_timeframe | Monitor timeframe for incoming records metrics evaluation [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `"last_15m"` | no |
| message | Message sent when an alert is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
## Outputs

View File

@ -20,6 +20,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
variable "message" {
description = "Message sent when an alert is triggered"
}

View File

@ -17,7 +17,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
renotify_interval = 0
notify_audit = false
timeout_h = 0

View File

@ -47,6 +47,7 @@ Creates DataDog monitors with the following checks:
| invocations\_timeframe | Monitor timeframe for Invocations [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `"last_30m"` | no |
| message | Message sent when a monitor is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| pct\_errors\_enabled | Flag to enable Percentage of errors monitor | string | `"true"` | no |
| pct\_errors\_extra\_tags | Extra tags for Percentage of errors monitor | list(string) | `[]` | no |
| pct\_errors\_message | Custom message for Percentage of errors monitor | string | `""` | no |

View File

@ -39,6 +39,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
# Datadog monitors variables
# Percentage of errors

View File

@ -35,6 +35,7 @@ Creates DataDog monitors with the following checks:
| nlb\_no\_healthy\_instances\_threshold\_warning | NLB no healthy instances warning threshold in percentage | string | `"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\_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 |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
## Outputs

View File

@ -39,6 +39,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
# Datadog monitors variables
variable "nlb_no_healthy_instances_enabled" {

View File

@ -19,7 +19,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
renotify_interval = 0
require_full_window = false
timeout_h = 0

View File

@ -36,6 +36,7 @@ Creates DataDog monitors with the following checks:
| filter\_tags\_use\_defaults | Use default filter tags convention | string | `"true"` | no |
| message | Message sent when an alert is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
## Outputs

View File

@ -20,6 +20,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
variable "message" {
description = "Message sent when an alert is triggered"
}

View File

@ -18,7 +18,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
notify_audit = false
timeout_h = 0
include_tags = true

View File

@ -36,6 +36,7 @@ Creates DataDog monitors with the following checks:
| filter\_tags\_use\_defaults | Use default filter tags convention | string | `"true"` | no |
| message | Message sent when an alert is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
## Outputs

View File

@ -20,6 +20,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
variable "message" {
description = "Message sent when an alert is triggered"
}

View File

@ -18,7 +18,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
notify_audit = false
timeout_h = 0
include_tags = true

View File

@ -45,6 +45,7 @@ Creates DataDog monitors with the following checks:
| filter\_tags\_use\_defaults | Use default filter tags convention | string | `"true"` | no |
| message | Message sent when an alert is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | 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 |

View File

@ -20,6 +20,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
variable "message" {
description = "Message sent when an alert is triggered"
}

View File

@ -53,7 +53,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
notify_audit = false
timeout_h = 0
include_tags = true

View File

@ -37,6 +37,7 @@ Creates DataDog monitors with the following checks:
| filter\_tags\_use\_defaults | Use default filter tags convention | string | `"true"` | no |
| message | Message sent when a monitor is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
| visible\_messages\_enabled | Flag to enable Number of Visible Messages monitor | string | `"false"` | no |
| visible\_messages\_extra\_tags | Extra tags for Number of Visible Messages monitor | list(string) | `[]` | no |

View File

@ -39,6 +39,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
# Datadog monitors variables
# Approximate Number of Visible Messages

View File

@ -27,6 +27,7 @@ Creates DataDog monitors with the following checks:
| filter\_tags | Tags used for metrics filtering | string | `"*"` | no |
| message | Message sent when an alert is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | 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 |

View File

@ -20,6 +20,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
variable "message" {
description = "Message sent when an alert is triggered"
}

View File

@ -12,7 +12,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
renotify_interval = 0
notify_audit = false
timeout_h = 0

View File

@ -40,6 +40,7 @@ Creates DataDog monitors with the following checks:
| filter\_tags\_use\_defaults | Use default filter tags convention | string | `"true"` | no |
| message | Message sent when a Redis monitor is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| other\_requests\_enabled | Flag to enable API Management other requests monitor | string | `"true"` | no |
| other\_requests\_extra\_tags | Extra tags for API Management other requests monitor | list(string) | `[]` | no |
| other\_requests\_message | Custom message for API Management other requests monitor | string | `""` | no |

View File

@ -24,6 +24,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
variable "filter_tags_use_defaults" {
description = "Use default filter tags convention"
default = "true"

View File

@ -14,7 +14,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
renotify_interval = 0
notify_audit = false
timeout_h = 0

View File

@ -91,6 +91,7 @@ Creates DataDog monitors with the following checks:
| filter\_tags\_use\_defaults | Use default filter tags convention | string | `"true"` | no |
| message | Message sent when a monitor is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
| status\_enabled | Flag to enable App Gateway status | string | `"true"` | no |
| status\_extra\_tags | Extra tags for App Gateway status | list(string) | `[]` | no |

View File

@ -38,6 +38,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
# Azure App Gateway specific variables
# Monitoring App Gateway status
variable "status_enabled" {

View File

@ -13,7 +13,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
renotify_interval = 0
notify_audit = false
timeout_h = 0

View File

@ -62,6 +62,7 @@ Creates DataDog monitors with the following checks:
| memory\_usage\_timeframe | Monitor timeframe for App Services memory usage [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `"last_5m"` | no |
| message | Message sent when a monitor is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
| response\_time\_enabled | Flag to enable App Services response time monitor | string | `"true"` | no |
| response\_time\_extra\_tags | Extra tags for App Services response time monitor | list(string) | `[]` | no |

View File

@ -37,6 +37,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
# Azure App Services specific variables
variable "response_time_enabled" {

View File

@ -185,7 +185,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
renotify_interval = 0
require_full_window = false
timeout_h = 0

View File

@ -37,6 +37,7 @@ Creates DataDog monitors with the following checks:
| latency\_timeframe | Monitor timeframe for Azure Search latency [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `"last_5m"` | no |
| message | Message sent when a monitor is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
| throttled\_queries\_rate\_enabled | Flag to enable Azure Search throttled queries rate monitor | string | `"true"` | no |
| throttled\_queries\_rate\_extra\_tags | Extra tags for Azure Search throttled queries rate monitor | list(string) | `[]` | no |

View File

@ -37,6 +37,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
# Azure Search specific variables
variable "latency_enabled" {

View File

@ -18,7 +18,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
renotify_interval = 0
require_full_window = false
timeout_h = 0

View File

@ -53,6 +53,7 @@ Creates DataDog monitors with the following checks:
| filter\_tags\_use\_defaults | Use default filter tags convention | string | `"true"` | no |
| message | Message sent when a monitor is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
| status\_enabled | Flag to enable Cosmos DB status monitor | string | `"true"` | no |
| status\_extra\_tags | Extra tags for Cosmos DB status monitor | list(string) | `[]` | no |

View File

@ -37,6 +37,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
# Azure CosmosDB specific variables
variable "status_enabled" {
description = "Flag to enable Cosmos DB status monitor"

View File

@ -16,7 +16,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
renotify_interval = 0
notify_audit = false
timeout_h = 0

View File

@ -29,6 +29,7 @@ Creates DataDog monitors with the following checks:
| filter\_tags\_use\_defaults | Use default filter tags convention | string | `"true"` | no |
| message | Message sent when a monitor is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
| status\_enabled | Flag to enable Datalake Store status monitor | string | `"true"` | no |
| status\_extra\_tags | Extra tags for Datalake Store status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | list(string) | `[]` | no |

View File

@ -37,6 +37,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
# Azure Datalake Store specific variables
variable "status_enabled" {
description = "Flag to enable Datalake Store status monitor"

View File

@ -12,7 +12,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
renotify_interval = 0
notify_audit = false
timeout_h = 0

View File

@ -43,6 +43,7 @@ Creates DataDog monitors with the following checks:
| no\_successful\_message\_rate\_message | Custom message for Event Grid no successful message monitor | string | `""` | no |
| no\_successful\_message\_rate\_time\_aggregator | Monitor aggregator for Event Grid no successful message [available values: min, max or avg] | string | `"min"` | no |
| no\_successful\_message\_rate\_timeframe | Monitor timeframe for Event Grid no successful message [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 | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
| unmatched\_events\_rate\_enabled | Flag to enable Event Grid unmatched events monitor | string | `"true"` | no |
| unmatched\_events\_rate\_extra\_tags | Extra tags for Event Grid unmatched events monitor | list(string) | `[]` | no |

View File

@ -24,6 +24,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
variable "filter_tags_use_defaults" {
description = "Use default filter tags convention"
default = "true"

View File

@ -12,7 +12,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
renotify_interval = 0
notify_audit = false
timeout_h = 0

View File

@ -45,6 +45,7 @@ Creates DataDog monitors with the following checks:
| filter\_tags\_use\_defaults | Use default filter tags convention | string | `"true"` | no |
| message | Message sent when an alert is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
| status\_enabled | Flag to enable Event Hub status monitor | string | `"true"` | no |
| status\_extra\_tags | Extra tags for Event Hub status monitor | list(string) | `[]` | no |

View File

@ -24,6 +24,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
variable "filter_tags_use_defaults" {
description = "Use default filter tags convention"
default = "true"

View File

@ -12,7 +12,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
renotify_interval = 0
notify_audit = false
timeout_h = 0

View File

@ -52,6 +52,7 @@ Creates DataDog monitors with the following checks:
| http\_5xx\_errors\_rate\_timeframe | Monitor timeframe for Functions Http 5xx errors rate [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `"last_5m"` | no |
| message | Message sent when a monitor is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
## Outputs

View File

@ -37,6 +37,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
# Azure Function App specific variables
variable "http_5xx_errors_rate_enabled" {

View File

@ -112,6 +112,7 @@ Creates DataDog monitors with the following checks:
| invalid\_d2c\_telemetry\_egress\_timeframe | Monitor timeframe for IoT Hub invalid d2c telemetry [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `"last_5m"` | no |
| message | Message sent when an alert is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| orphaned\_d2c\_telemetry\_egress\_enabled | Flag to enable IoT Hub orphaned d2c telemetry monitor | string | `"true"` | no |
| orphaned\_d2c\_telemetry\_egress\_extra\_tags | Extra tags for IoT Hub orphaned d2c telemetry monitor | list(string) | `[]` | no |
| orphaned\_d2c\_telemetry\_egress\_message | Custom message for IoT Hub orphaned d2c telemetry monitor | string | `""` | no |

View File

@ -20,6 +20,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
variable "message" {
description = "Message sent when an alert is triggered"
}

View File

@ -123,7 +123,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
renotify_interval = 0
notify_audit = false
timeout_h = 0

View File

@ -45,6 +45,7 @@ Creates DataDog monitors with the following checks:
| filter\_tags\_use\_defaults | Use default filter tags convention | string | `"true"` | no |
| message | Message sent when a monitor is triggered | string | n/a | yes |
| new\_host\_delay | Delay in seconds before monitor new resource | string | `"300"` | no |
| notify\_no\_data | Will raise no data alert if set to true | string | `"true"` | no |
| prefix\_slug | Prefix string to prepend between brackets on every monitors names | string | `""` | no |
| status\_enabled | Flag to enable Key Vault status monitor | string | `"true"` | no |
| status\_extra\_tags | Extra tags for Key Vault status monitor | list(string) | `[]` | no |

View File

@ -37,6 +37,11 @@ variable "prefix_slug" {
default = ""
}
variable "notify_no_data" {
description = "Will raise no data alert if set to true"
default = true
}
# Azure Key Vault specific variables
variable "status_enabled" {
description = "Flag to enable Key Vault status monitor"

View File

@ -12,7 +12,7 @@ EOQ
evaluation_delay = var.evaluation_delay
new_host_delay = var.new_host_delay
notify_no_data = true
notify_no_data = var.notify_no_data
renotify_interval = 0
notify_audit = false
timeout_h = 0

Some files were not shown because too many files have changed in this diff Show More