MON-32 - READMEs updated

This commit is contained in:
Alexandre Gaillet 2018-06-12 11:54:37 +02:00 committed by Quentin Manfroi
parent bdfb0f39fc
commit 27606ee677
3 changed files with 24 additions and 12 deletions

View File

@ -23,6 +23,7 @@ Purpose
Creates DataDog monitors with the following checks:
* Eviction
* Eviction growing
* Swap
* Max connections
* No connection

View File

@ -10,7 +10,6 @@ module "datadog-monitors-aws-elasticache-redis" {
message = "${module.datadog-message-alerting.alerting-message}"
environment = "${var.environment}"
elasticache_size = "${var.size_of_elsaticache}"
}
```
@ -19,9 +18,21 @@ Purpose
-------
Creates DataDog monitors with the following checks :
Memcached specific:
* Get Hit
* CPU High
Elasticache common:
* Eviction
* Eviction growing
* Swap
* Max connections
* No connection
* Free Memory
Inputs
------

View File

@ -10,30 +10,30 @@ module "datadog-monitors-aws-elasticache-redis" {
message = "${module.datadog-message-alerting.alerting-message}"
environment = "${var.environment}"
elasticache_size = "${var.size_of_elsaticache}"
nodes = "${data.my_cluster.num_cache_nodes}"
}
```
You can retrieve the number of nodes using the data source :
```
data "aws_elasticache_cluster" "my_cluster" {
cluster_id = "my-cluster-id"
}
```
Purpose
-------
Creates DataDog monitors with the following checks:
Redis specific:
* Cache hits
* CPU high
* Commands received
* Replication lag
Elasticache common:
* Eviction
* Eviction growing
* Swap
* Max connections
* No connection
* Free Memory
Inputs
------