MON-531: Set min as the default time aggregator

This commit is contained in:
Jean-Maxime LEBLANC 2019-11-14 15:03:47 +01:00
parent 83e9bd32af
commit 6c4b36b4a2
6 changed files with 6 additions and 6 deletions

View File

@ -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\_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\_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\_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 | | 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 | | environment | Architecture Environment | string | n/a | yes |
| evaluation\_delay | Delay in seconds for the metric evaluation | string | `"900"` | no | | evaluation\_delay | Delay in seconds for the metric evaluation | string | `"900"` | no |

View File

@ -62,7 +62,7 @@ variable "aurora_replicalag_message" {
variable "aurora_replicalag_time_aggregator" { variable "aurora_replicalag_time_aggregator" {
description = "Monitor aggregator for RDS Aurora replica lag [available values: min, max or avg]" description = "Monitor aggregator for RDS Aurora replica lag [available values: min, max or avg]"
type = string type = string
default = "avg" default = "min"
} }
variable "aurora_replicalag_timeframe" { variable "aurora_replicalag_timeframe" {

View File

@ -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\_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\_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\_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 | | 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 | | environment | Architecture Environment | string | n/a | yes |
| evaluation\_delay | Delay in seconds for the metric evaluation | string | `"900"` | no | | evaluation\_delay | Delay in seconds for the metric evaluation | string | `"900"` | no |

View File

@ -62,7 +62,7 @@ variable "aurora_replicalag_message" {
variable "aurora_replicalag_time_aggregator" { variable "aurora_replicalag_time_aggregator" {
description = "Monitor aggregator for RDS Aurora replica lag [available values: min, max or avg]" description = "Monitor aggregator for RDS Aurora replica lag [available values: min, max or avg]"
type = string type = string
default = "avg" default = "min"
} }
variable "aurora_replicalag_timeframe" { variable "aurora_replicalag_timeframe" {

View File

@ -51,7 +51,7 @@ Creates DataDog monitors with the following checks:
| replicalag\_message | Custom message for RDS replica lag monitor | string | `""` | no | | 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\_critical | replica lag in seconds (critical threshold) | string | `"300"` | no |
| replicalag\_threshold\_warning | replica lag in seconds (warning threshold) | string | `"200"` | 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 | | 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 ## Outputs

View File

@ -142,7 +142,7 @@ variable "replicalag_message" {
variable "replicalag_time_aggregator" { variable "replicalag_time_aggregator" {
description = "Monitor aggregator for RDS replica lag [available values: min, max or avg]" description = "Monitor aggregator for RDS replica lag [available values: min, max or avg]"
type = string type = string
default = "avg" default = "min"
} }
variable "replicalag_timeframe" { variable "replicalag_timeframe" {