MON-32 Remove default for common variables to force inputs on the module

This commit is contained in:
Rafael Romero Carmona 2018-06-28 15:59:19 +02:00 committed by Quentin Manfroi
parent b395aff3aa
commit 5d2746c16a
6 changed files with 105 additions and 137 deletions

View File

@ -1,78 +1,78 @@
AWS ElastiCache Service DataDog monitors AWS ElastiCache Service DataDog monitors
======================================== ========================================
How to use this module How to use this module
---------------------- ----------------------
``` ```
module "datadog-monitors-aws-elasticache" { module "datadog-monitors-aws-elasticache" {
source = "../common" source = "../common"
message = "${module.datadog-message-alerting.alerting-message}" message = "${module.datadog-message-alerting.alerting-message}"
environment = "${var.environment}" environment = "${var.environment}"
filter_tags = "${var.filter_tags}" filter_tags = "${var.filter_tags}"
resource = "${var.type_of_resource}" resource = "${var.type_of_resource}"
} }
``` ```
This module is loaded by default when you define `memcached` or `redis` monitors This module is loaded by default when you define `memcached` or `redis` monitors
Purpose Purpose
------- -------
Creates DataDog monitors with the following checks: Creates DataDog monitors with the following checks:
* Eviction * Eviction
* Eviction growing * Eviction growing
* Swap * Swap
* Max connections * Max connections
* No connection * No connection
* Free Memory * Free Memory
Inputs Related documentation
------ ---------------------
| Name | Description | Type | Default | Required | DataDog documentation: [https://docs.datadoghq.com/integrations/amazon_elasticache/](https://docs.datadoghq.com/integrations/amazon_elasticache/)
|------|-------------|:----:|:-----:|:-----:|
| delay | Delay in seconds for the metric evaluation | string | `900` | no | AWS ElasticSearch Service Instance metrics documentation: [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/elasticache-metricscollected.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/elasticache-metricscollected.html)
| environment | Infrastructure Environment | string | - | yes |
| eviction_growing_condition_timeframe | Monitor condition timeframe for Elasticache eviction growing [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | Inputs
| eviction_growing_message | Custom message for Elasticache eviction growing monitor | string | `` | no | ------
| eviction_growing_silenced | Groups to mute for Elasticache eviction growing monitor | map | `<map>` | no |
| eviction_growing_threshold_critical | Elasticache eviction growing critical threshold in percentage | string | `30` | no | | Name | Description | Type | Default | Required |
| eviction_growing_threshold_warning | Elasticache eviction growing warning threshold in percentage | string | `10` | no | |------|-------------|:----:|:-----:|:-----:|
| eviction_growing_timeframe | Monitor timeframe for Elasticache eviction growing [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | delay | Delay in seconds for the metric evaluation | string | - | yes |
| eviction_message | Custom message for Elasticache eviction monitor | string | `` | no | | environment | Infrastructure Environment | string | - | yes |
| eviction_silenced | Groups to mute for Elasticache eviction monitor | map | `<map>` | no | | eviction_growing_condition_timeframe | Monitor condition timeframe for Elasticache eviction growing [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | - | yes |
| eviction_time_aggregator | Monitor aggregator for Elasticache eviction [available values: min, max or avg] | string | `min` | no | | eviction_growing_message | Custom message for Elasticache eviction growing monitor | string | - | yes |
| eviction_timeframe | Monitor timeframe for Elasticache eviction [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | eviction_growing_silenced | Groups to mute for Elasticache eviction growing monitor | map | - | yes |
| filter_tags | Tags used for filtering | string | - | yes | | eviction_growing_threshold_critical | Elasticache eviction growing critical threshold in percentage | string | - | yes |
| free_memory_condition_timeframe | Monitor condition timeframe for Elasticache free memory [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_15m` | no | | eviction_growing_threshold_warning | Elasticache eviction growing warning threshold in percentage | string | - | yes |
| free_memory_message | Custom message for Elasticache free memory monitor | string | `` | no | | eviction_growing_timeframe | Monitor timeframe for Elasticache eviction growing [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | - | yes |
| free_memory_silenced | Groups to mute for Elasticache free memory monitor | map | `<map>` | no | | eviction_message | Custom message for Elasticache eviction monitor | string | - | yes |
| free_memory_threshold_critical | Elasticache free memory critical threshold in percentage | string | `-70` | no | | eviction_silenced | Groups to mute for Elasticache eviction monitor | map | - | yes |
| free_memory_threshold_warning | Elasticache free memory warning threshold in percentage | string | `-50` | no | | eviction_time_aggregator | Monitor aggregator for Elasticache eviction [available values: min, max or avg] | string | - | yes |
| free_memory_timeframe | Monitor timeframe for Elasticache free memory [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_15m` | no | | eviction_timeframe | Monitor timeframe for Elasticache eviction [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | - | yes |
| max_connection_message | Custom message for Elasticache max connection monitor | string | `` | no | | filter_tags | Tags used for filtering | string | - | yes |
| max_connection_silenced | Groups to mute for Elasticache max connection monitor | map | `<map>` | no | | free_memory_condition_timeframe | Monitor condition timeframe for Elasticache free memory [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | - | yes |
| max_connection_time_aggregator | Monitor aggregator for Elasticache max connection [available values: min, max or avg] | string | `max` | no | | free_memory_message | Custom message for Elasticache free memory monitor | string | - | yes |
| max_connection_timeframe | Monitor timeframe for Elasticache max connection [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | free_memory_silenced | Groups to mute for Elasticache free memory monitor | map | - | yes |
| message | Message sent when an alert is triggered | string | - | yes | | free_memory_threshold_critical | Elasticache free memory critical threshold in percentage | string | - | yes |
| no_connection_message | Custom message for Elasticache no connection monitor | string | `` | no | | free_memory_threshold_warning | Elasticache free memory warning threshold in percentage | string | - | yes |
| no_connection_silenced | Groups to mute for Elasticache no connection monitor | map | `<map>` | no | | free_memory_timeframe | Monitor timeframe for Elasticache free memory [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | - | yes |
| no_connection_time_aggregator | Monitor aggregator for Elasticache no connection [available values: min, max or avg] | string | `min` | no | | max_connection_message | Custom message for Elasticache max connection monitor | string | - | yes |
| 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 | | max_connection_silenced | Groups to mute for Elasticache max connection monitor | map | - | yes |
| resource | Type of Elasticache used | string | - | yes | | max_connection_time_aggregator | Monitor aggregator for Elasticache max connection [available values: min, max or avg] | string | - | yes |
| swap_message | Custom message for Elasticache swap monitor | string | `` | no | | max_connection_timeframe | Monitor timeframe for Elasticache max connection [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | - | yes |
| swap_silenced | Groups to mute for Elasticache swap monitor | map | `<map>` | no | | message | Message sent when an alert is triggered | string | - | yes |
| swap_threshold_critical | Elasticache swap critical threshold in percentage | string | `50000000` | no | | no_connection_message | Custom message for Elasticache no connection monitor | string | - | yes |
| swap_threshold_warning | Elasticache swap warning threshold in percentage | string | `0` | no | | no_connection_silenced | Groups to mute for Elasticache no connection monitor | map | - | yes |
| swap_time_aggregator | Monitor aggregator for Elasticache memcached swap [available values: min, max or avg] | string | `min` | no | | no_connection_time_aggregator | Monitor aggregator for Elasticache no connection [available values: min, max or avg] | string | - | yes |
| swap_timeframe | Monitor timeframe for Elasticache swap [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 Elasticache no connection [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | - | yes |
| resource | Type of Elasticache used | string | - | yes |
Related documentation | swap_message | Custom message for Elasticache swap monitor | string | - | yes |
--------------------- | swap_silenced | Groups to mute for Elasticache swap monitor | map | - | yes |
| swap_threshold_critical | Elasticache swap critical threshold in percentage | string | - | yes |
DataDog documentation: [https://docs.datadoghq.com/integrations/amazon_elasticache/](https://docs.datadoghq.com/integrations/amazon_elasticache/) | swap_threshold_warning | Elasticache swap warning threshold in percentage | string | - | yes |
| swap_time_aggregator | Monitor aggregator for Elasticache memcached swap [available values: min, max or avg] | string | - | yes |
AWS ElasticSearch Service Instance metrics documentation: [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/elasticache-metricscollected.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/elasticache-metricscollected.html) | swap_timeframe | Monitor timeframe for Elasticache swap [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | - | yes |

View File

@ -7,7 +7,6 @@ variable "environment" {
# Global DataDog # Global DataDog
variable "delay" { variable "delay" {
description = "Delay in seconds for the metric evaluation" description = "Delay in seconds for the metric evaluation"
default = 900
} }
variable "message" { variable "message" {
@ -26,165 +25,135 @@ variable "resource" {
variable "eviction_silenced" { variable "eviction_silenced" {
description = "Groups to mute for Elasticache eviction monitor" description = "Groups to mute for Elasticache eviction monitor"
type = "map" type = "map"
default = {}
} }
variable "eviction_message" { variable "eviction_message" {
description = "Custom message for Elasticache eviction monitor" description = "Custom message for Elasticache eviction monitor"
type = "string" type = "string"
default = ""
} }
variable "eviction_time_aggregator" { variable "eviction_time_aggregator" {
description = "Monitor aggregator for Elasticache eviction [available values: min, max or avg]" description = "Monitor aggregator for Elasticache eviction [available values: min, max or avg]"
type = "string" type = "string"
default = "min"
} }
variable "eviction_timeframe" { variable "eviction_timeframe" {
description = "Monitor timeframe for Elasticache eviction [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" description = "Monitor timeframe for Elasticache eviction [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]"
default = "last_5m"
} }
variable "max_connection_silenced" { variable "max_connection_silenced" {
description = "Groups to mute for Elasticache max connection monitor" description = "Groups to mute for Elasticache max connection monitor"
type = "map" type = "map"
default = {}
} }
variable "max_connection_message" { variable "max_connection_message" {
description = "Custom message for Elasticache max connection monitor" description = "Custom message for Elasticache max connection monitor"
type = "string" type = "string"
default = ""
} }
variable "max_connection_time_aggregator" { variable "max_connection_time_aggregator" {
description = "Monitor aggregator for Elasticache max connection [available values: min, max or avg]" description = "Monitor aggregator for Elasticache max connection [available values: min, max or avg]"
type = "string" type = "string"
default = "max"
} }
variable "max_connection_timeframe" { variable "max_connection_timeframe" {
description = "Monitor timeframe for Elasticache max connection [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" description = "Monitor timeframe for Elasticache max connection [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]"
default = "last_5m"
} }
variable "no_connection_silenced" { variable "no_connection_silenced" {
description = "Groups to mute for Elasticache no connection monitor" description = "Groups to mute for Elasticache no connection monitor"
type = "map" type = "map"
default = {}
} }
variable "no_connection_message" { variable "no_connection_message" {
description = "Custom message for Elasticache no connection monitor" description = "Custom message for Elasticache no connection monitor"
type = "string" type = "string"
default = ""
} }
variable "no_connection_time_aggregator" { variable "no_connection_time_aggregator" {
description = "Monitor aggregator for Elasticache no connection [available values: min, max or avg]" description = "Monitor aggregator for Elasticache no connection [available values: min, max or avg]"
type = "string" type = "string"
default = "min"
} }
variable "no_connection_timeframe" { variable "no_connection_timeframe" {
description = "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`]" description = "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`]"
default = "last_5m"
} }
variable "swap_silenced" { variable "swap_silenced" {
description = "Groups to mute for Elasticache swap monitor" description = "Groups to mute for Elasticache swap monitor"
type = "map" type = "map"
default = {}
} }
variable "swap_message" { variable "swap_message" {
description = "Custom message for Elasticache swap monitor" description = "Custom message for Elasticache swap monitor"
type = "string" type = "string"
default = ""
} }
variable "swap_time_aggregator" { variable "swap_time_aggregator" {
description = "Monitor aggregator for Elasticache memcached swap [available values: min, max or avg]" description = "Monitor aggregator for Elasticache memcached swap [available values: min, max or avg]"
type = "string" type = "string"
default = "min"
} }
variable "swap_timeframe" { variable "swap_timeframe" {
description = "Monitor timeframe for Elasticache swap [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" description = "Monitor timeframe for Elasticache swap [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]"
default = "last_5m"
} }
variable "swap_threshold_warning" { variable "swap_threshold_warning" {
description = "Elasticache swap warning threshold in percentage" description = "Elasticache swap warning threshold in percentage"
default = 0
} }
variable "swap_threshold_critical" { variable "swap_threshold_critical" {
description = "Elasticache swap critical threshold in percentage" description = "Elasticache swap critical threshold in percentage"
default = 50000000
} }
variable "free_memory_silenced" { variable "free_memory_silenced" {
description = "Groups to mute for Elasticache free memory monitor" description = "Groups to mute for Elasticache free memory monitor"
type = "map" type = "map"
default = {}
} }
variable "free_memory_message" { variable "free_memory_message" {
description = "Custom message for Elasticache free memory monitor" description = "Custom message for Elasticache free memory monitor"
type = "string" type = "string"
default = ""
} }
variable "free_memory_condition_timeframe" { variable "free_memory_condition_timeframe" {
description = "Monitor condition timeframe for Elasticache free memory [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" description = "Monitor condition timeframe for Elasticache free memory [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]"
default = "last_15m"
} }
variable "free_memory_timeframe" { variable "free_memory_timeframe" {
description = "Monitor timeframe for Elasticache free memory [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" description = "Monitor timeframe for Elasticache free memory [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]"
default = "last_15m"
} }
variable "free_memory_threshold_warning" { variable "free_memory_threshold_warning" {
description = "Elasticache free memory warning threshold in percentage" description = "Elasticache free memory warning threshold in percentage"
default = -50
} }
variable "free_memory_threshold_critical" { variable "free_memory_threshold_critical" {
description = "Elasticache free memory critical threshold in percentage" description = "Elasticache free memory critical threshold in percentage"
default = -70
} }
variable "eviction_growing_silenced" { variable "eviction_growing_silenced" {
description = "Groups to mute for Elasticache eviction growing monitor" description = "Groups to mute for Elasticache eviction growing monitor"
type = "map" type = "map"
default = {}
} }
variable "eviction_growing_message" { variable "eviction_growing_message" {
description = "Custom message for Elasticache eviction growing monitor" description = "Custom message for Elasticache eviction growing monitor"
type = "string" type = "string"
default = ""
} }
variable "eviction_growing_condition_timeframe" { variable "eviction_growing_condition_timeframe" {
description = "Monitor condition timeframe for Elasticache eviction growing [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" description = "Monitor condition timeframe for Elasticache eviction growing [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]"
default = "last_5m"
} }
variable "eviction_growing_timeframe" { variable "eviction_growing_timeframe" {
description = "Monitor timeframe for Elasticache eviction growing [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" description = "Monitor timeframe for Elasticache eviction growing [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]"
default = "last_5m"
} }
variable "eviction_growing_threshold_warning" { variable "eviction_growing_threshold_warning" {
description = "Elasticache eviction growing warning threshold in percentage" description = "Elasticache eviction growing warning threshold in percentage"
default = 10
} }
variable "eviction_growing_threshold_critical" { variable "eviction_growing_threshold_critical" {
description = "Elasticache eviction growing critical threshold in percentage" description = "Elasticache eviction growing critical threshold in percentage"
default = 30
} }

View File

@ -32,6 +32,17 @@ Elasticache common:
* No connection * No connection
* Free Memory * Free Memory
Related documentation
---------------------
DataDog documentation:
* [https://docs.datadoghq.com/integrations/amazon_elasticache/](https://docs.datadoghq.com/integrations/amazon_elasticache/)
* [https://www.datadoghq.com/blog/monitoring-elasticache-performance-metrics-with-redis-or-memcached/](https://www.datadoghq.com/blog/monitoring-elasticache-performance-metrics-with-redis-or-memcached/)
AWS ElasticSearch Service Instance metrics documentation: [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/elasticache-metricscollected.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/elasticache-metricscollected.html)
Inputs Inputs
------ ------
@ -84,16 +95,3 @@ Inputs
| swap_threshold_warning | Elasticache swap warning threshold in Bytes | string | `40000000` | no | | swap_threshold_warning | Elasticache swap warning threshold in Bytes | string | `40000000` | no |
| swap_time_aggregator | Monitor aggregator for Elasticache memcached swap [available values: min, max or avg] | string | `min` | no | | swap_time_aggregator | Monitor aggregator for Elasticache memcached swap [available values: min, max or avg] | string | `min` | no |
| swap_timeframe | Monitor timeframe for Elasticache swap [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | swap_timeframe | Monitor timeframe for Elasticache swap [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no |
Related documentation
---------------------
DataDog documentation:
* [https://docs.datadoghq.com/integrations/amazon_elasticache/](https://docs.datadoghq.com/integrations/amazon_elasticache/)
* [https://www.datadoghq.com/blog/monitoring-elasticache-performance-metrics-with-redis-or-memcached/](https://www.datadoghq.com/blog/monitoring-elasticache-performance-metrics-with-redis-or-memcached/)
AWS ElasticSearch Service Instance metrics documentation: [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/elasticache-metricscollected.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/elasticache-metricscollected.html)

View File

@ -14,6 +14,8 @@ module "datadog-monitors-aws-elasticache-common" {
filter_tags = "${data.template_file.filter.rendered}" filter_tags = "${data.template_file.filter.rendered}"
resource = "memcached" resource = "memcached"
delay = "${var.delay}"
eviction_message = "${var.eviction_message}" eviction_message = "${var.eviction_message}"
eviction_silenced = "${var.eviction_silenced}" eviction_silenced = "${var.eviction_silenced}"
eviction_time_aggregator = "${var.eviction_time_aggregator}" eviction_time_aggregator = "${var.eviction_time_aggregator}"

View File

@ -34,6 +34,18 @@ Elasticache common:
* No connection * No connection
* Free Memory * Free Memory
Related documentation
---------------------
DataDog documentation:
* [https://docs.datadoghq.com/integrations/amazon_elasticache/](https://docs.datadoghq.com/integrations/amazon_elasticache/)
* [https://www.datadoghq.com/dashboards/elasticache-dashboard-redis/](https://www.datadoghq.com/dashboards/elasticache-dashboard-redis/)
* [https://www.datadoghq.com/blog/monitoring-elasticache-performance-metrics-with-redis-or-memcached/](https://www.datadoghq.com/blog/monitoring-elasticache-performance-metrics-with-redis-or-memcached/)
AWS ElasticSearch Service Instance metrics documentation: [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/elasticache-metricscollected.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/elasticache-metricscollected.html)
Inputs Inputs
------ ------
@ -94,18 +106,3 @@ Inputs
| swap_threshold_warning | Elasticache swap warning threshold in Bytes | string | `40000000` | no | | swap_threshold_warning | Elasticache swap warning threshold in Bytes | string | `40000000` | no |
| swap_time_aggregator | Monitor aggregator for Elasticache memcached swap [available values: min, max or avg] | string | `min` | no | | swap_time_aggregator | Monitor aggregator for Elasticache memcached swap [available values: min, max or avg] | string | `min` | no |
| swap_timeframe | Monitor timeframe for Elasticache swap [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | swap_timeframe | Monitor timeframe for Elasticache swap [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no |
Related documentation
---------------------
DataDog documentation:
* [https://docs.datadoghq.com/integrations/amazon_elasticache/](https://docs.datadoghq.com/integrations/amazon_elasticache/)
* [https://www.datadoghq.com/dashboards/elasticache-dashboard-redis/](https://www.datadoghq.com/dashboards/elasticache-dashboard-redis/)
* [https://www.datadoghq.com/blog/monitoring-elasticache-performance-metrics-with-redis-or-memcached/](https://www.datadoghq.com/blog/monitoring-elasticache-performance-metrics-with-redis-or-memcached/)
AWS ElasticSearch Service Instance metrics documentation: [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/elasticache-metricscollected.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/elasticache-metricscollected.html)

View File

@ -14,6 +14,8 @@ module "datadog-monitors-aws-elasticache-common" {
filter_tags = "${data.template_file.filter.rendered}" filter_tags = "${data.template_file.filter.rendered}"
resource = "redis" resource = "redis"
delay = "${var.delay}"
eviction_message = "${var.eviction_message}" eviction_message = "${var.eviction_message}"
eviction_silenced = "${var.eviction_silenced}" eviction_silenced = "${var.eviction_silenced}"
eviction_time_aggregator = "${var.eviction_time_aggregator}" eviction_time_aggregator = "${var.eviction_time_aggregator}"