From 6c4b36b4a2b5b429d123707e79046e4feb30da9a Mon Sep 17 00:00:00 2001 From: Jean-Maxime LEBLANC Date: Thu, 14 Nov 2019 15:03:47 +0100 Subject: [PATCH] MON-531: Set `min` as the default time aggregator --- cloud/aws/rds/aurora/mysql/README.md | 2 +- cloud/aws/rds/aurora/mysql/inputs.tf | 2 +- cloud/aws/rds/aurora/postgresql/README.md | 2 +- cloud/aws/rds/aurora/postgresql/inputs.tf | 2 +- cloud/aws/rds/common/README.md | 2 +- cloud/aws/rds/common/inputs.tf | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cloud/aws/rds/aurora/mysql/README.md b/cloud/aws/rds/aurora/mysql/README.md index fc9ec11..da4a397 100644 --- a/cloud/aws/rds/aurora/mysql/README.md +++ b/cloud/aws/rds/aurora/mysql/README.md @@ -27,7 +27,7 @@ Creates DataDog monitors with the following checks: | aurora\_replicalag\_message | Custom message for RDS Aurora replica lag monitor | string | `""` | no | | aurora\_replicalag\_threshold\_critical | Aurora replica lag in milliseconds (critical threshold) | string | `"200"` | no | | aurora\_replicalag\_threshold\_warning | Aurora replica lag in milliseconds (warning threshold) | string | `"100"` | no | -| aurora\_replicalag\_time\_aggregator | Monitor aggregator for RDS Aurora replica lag [available values: min, max or avg] | string | `"avg"` | no | +| aurora\_replicalag\_time\_aggregator | Monitor aggregator for RDS Aurora replica lag [available values: min, max or avg] | string | `"min"` | no | | aurora\_replicalag\_timeframe | Monitor timeframe for RDS Aurora replica lag monitor [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `"last_5m"` | no | | environment | Architecture Environment | string | n/a | yes | | evaluation\_delay | Delay in seconds for the metric evaluation | string | `"900"` | no | diff --git a/cloud/aws/rds/aurora/mysql/inputs.tf b/cloud/aws/rds/aurora/mysql/inputs.tf index f06d1ba..808704d 100644 --- a/cloud/aws/rds/aurora/mysql/inputs.tf +++ b/cloud/aws/rds/aurora/mysql/inputs.tf @@ -62,7 +62,7 @@ variable "aurora_replicalag_message" { variable "aurora_replicalag_time_aggregator" { description = "Monitor aggregator for RDS Aurora replica lag [available values: min, max or avg]" type = string - default = "avg" + default = "min" } variable "aurora_replicalag_timeframe" { diff --git a/cloud/aws/rds/aurora/postgresql/README.md b/cloud/aws/rds/aurora/postgresql/README.md index 33e0fbc..7f6245b 100644 --- a/cloud/aws/rds/aurora/postgresql/README.md +++ b/cloud/aws/rds/aurora/postgresql/README.md @@ -27,7 +27,7 @@ Creates DataDog monitors with the following checks: | aurora\_replicalag\_message | Custom message for RDS Aurora replica lag monitor | string | `""` | no | | aurora\_replicalag\_threshold\_critical | Aurora replica lag in milliseconds (critical threshold) | string | `"200"` | no | | aurora\_replicalag\_threshold\_warning | Aurora replica lag in milliseconds (warning threshold) | string | `"100"` | no | -| aurora\_replicalag\_time\_aggregator | Monitor aggregator for RDS Aurora replica lag [available values: min, max or avg] | string | `"avg"` | no | +| aurora\_replicalag\_time\_aggregator | Monitor aggregator for RDS Aurora replica lag [available values: min, max or avg] | string | `"min"` | no | | aurora\_replicalag\_timeframe | Monitor timeframe for RDS Aurora replica lag monitor [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `"last_5m"` | no | | environment | Architecture Environment | string | n/a | yes | | evaluation\_delay | Delay in seconds for the metric evaluation | string | `"900"` | no | diff --git a/cloud/aws/rds/aurora/postgresql/inputs.tf b/cloud/aws/rds/aurora/postgresql/inputs.tf index f06d1ba..808704d 100644 --- a/cloud/aws/rds/aurora/postgresql/inputs.tf +++ b/cloud/aws/rds/aurora/postgresql/inputs.tf @@ -62,7 +62,7 @@ variable "aurora_replicalag_message" { variable "aurora_replicalag_time_aggregator" { description = "Monitor aggregator for RDS Aurora replica lag [available values: min, max or avg]" type = string - default = "avg" + default = "min" } variable "aurora_replicalag_timeframe" { diff --git a/cloud/aws/rds/common/README.md b/cloud/aws/rds/common/README.md index 33cc0b3..287a528 100644 --- a/cloud/aws/rds/common/README.md +++ b/cloud/aws/rds/common/README.md @@ -51,7 +51,7 @@ Creates DataDog monitors with the following checks: | replicalag\_message | Custom message for RDS replica lag monitor | string | `""` | no | | replicalag\_threshold\_critical | replica lag in seconds (critical threshold) | string | `"300"` | no | | replicalag\_threshold\_warning | replica lag in seconds (warning threshold) | string | `"200"` | no | -| replicalag\_time\_aggregator | Monitor aggregator for RDS replica lag [available values: min, max or avg] | string | `"avg"` | no | +| replicalag\_time\_aggregator | Monitor aggregator for RDS replica lag [available values: min, max or avg] | string | `"min"` | no | | replicalag\_timeframe | Monitor timeframe for RDS replica lag monitor [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `"last_5m"` | no | ## Outputs diff --git a/cloud/aws/rds/common/inputs.tf b/cloud/aws/rds/common/inputs.tf index b9fa171..de7c451 100644 --- a/cloud/aws/rds/common/inputs.tf +++ b/cloud/aws/rds/common/inputs.tf @@ -142,7 +142,7 @@ variable "replicalag_message" { variable "replicalag_time_aggregator" { description = "Monitor aggregator for RDS replica lag [available values: min, max or avg]" type = string - default = "avg" + default = "min" } variable "replicalag_timeframe" {