From a9bedaeedb0d39d113feb9f69ab3e1e3b20f0416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Respaut?= Date: Thu, 19 Jul 2018 15:00:59 +0200 Subject: [PATCH 1/6] MON-259: Improve auto_update scripts and allow to have an argument to target a specific directory when launched manually --- scripts/01_update_output.sh | 9 +++++++-- scripts/02_update_readme.sh | 7 ++++++- scripts/auto_update.sh | 7 ++++++- scripts/utils.sh | 2 +- 4 files changed, 20 insertions(+), 5 deletions(-) diff --git a/scripts/01_update_output.sh b/scripts/01_update_output.sh index ccef054..d9878ae 100755 --- a/scripts/01_update_output.sh +++ b/scripts/01_update_output.sh @@ -4,7 +4,12 @@ set -xueo pipefail source "$(dirname $0)/utils.sh" goto_root -for path in $(find . -path ./incubator -prune -o -name 'monitors-*.tf' -print); do +TO_PARSE="." +if [ ! -z ${1+x} ]; then + TO_PARSE="$1" +fi + +for path in $(find $TO_PARSE -path ./incubator -prune -o -name 'monitors-*.tf' -print); do cd $(dirname $path) > outputs.tf for monitor in $(grep 'resource "datadog_monitor"' $(basename $path) | awk '{print $3}' | tr -d '"' ); do @@ -19,4 +24,4 @@ EOF done cd - >> /dev/null done -terraform fmt +terraform fmt $TO_PARSE diff --git a/scripts/02_update_readme.sh b/scripts/02_update_readme.sh index 4d7da1b..c54fd0b 100755 --- a/scripts/02_update_readme.sh +++ b/scripts/02_update_readme.sh @@ -4,6 +4,11 @@ set -xueo pipefail source "$(dirname $0)/utils.sh" goto_root +TO_PARSE="." +if [ ! -z ${1+x} ]; then + TO_PARSE="$1" +fi + sed -i '/### Monitors summary ###/q' README.md echo >> README.md for path in $(find -mindepth 1 \( -path './incubator' -o -path './scripts' -o -path './testing' -o -path '*/\.*' \) -prune -o -type d -print | sort); do @@ -20,7 +25,7 @@ done PATTERN_DOC="Related documentation" -for path in $(find . -path ./incubator -prune -o -name 'monitors-*.tf' -print); do +for path in $(find $TO_PARSE -path ./incubator -prune -o -name 'monitors-*.tf' -print); do cd $(dirname $path) EXIST=0 if [ -f README.md ]; then diff --git a/scripts/auto_update.sh b/scripts/auto_update.sh index cb911e1..a2ef8d5 100755 --- a/scripts/auto_update.sh +++ b/scripts/auto_update.sh @@ -1,7 +1,12 @@ #!/bin/bash set -xueo pipefail +TO_PARSE="." +if [ ! -z ${1+x} ]; then + TO_PARSE="$1" +fi + cd $(dirname $0) for script in [0-9][0-9]_*.sh; do - ./${script} + ./${script} $TO_PARSE done diff --git a/scripts/utils.sh b/scripts/utils.sh index 503ea86..b9dbdf8 100755 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -15,7 +15,7 @@ function list_dirs { function get_name { regex='^[[:space:]]+name[[:space:]]+=[[:space:]]+"\[.*\][[:space:]]+(.*)"$' - if [[ "${1}" =~ ${regex} ]]; then + if [[ "${1}" =~ ${regex} ]]; then name="${BASH_REMATCH[1]}" else echo "Error: impossible to parse monitor name" From b4f7afa8711ede5ae671ec77377e4e874ff49249 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Respaut?= Date: Thu, 19 Jul 2018 16:39:10 +0200 Subject: [PATCH 2/6] MON-259: README should have a valide tf fmt example --- scripts/01_update_output.sh | 2 +- scripts/02_update_readme.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/01_update_output.sh b/scripts/01_update_output.sh index d9878ae..07732f9 100755 --- a/scripts/01_update_output.sh +++ b/scripts/01_update_output.sh @@ -14,7 +14,7 @@ for path in $(find $TO_PARSE -path ./incubator -prune -o -name 'monitors-*.tf' - > outputs.tf for monitor in $(grep 'resource "datadog_monitor"' $(basename $path) | awk '{print $3}' | tr -d '"' ); do echo $monitor - cat <> outputs.tf + cat >> outputs.tf < Date: Thu, 19 Jul 2018 17:49:06 +0200 Subject: [PATCH 3/6] MON-259: Drop invalid space before a colon --- scripts/02_update_readme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/02_update_readme.sh b/scripts/02_update_readme.sh index 8366b0b..e59a887 100755 --- a/scripts/02_update_readme.sh +++ b/scripts/02_update_readme.sh @@ -53,7 +53,7 @@ module "datadog-monitors-${module_dash}" { ## Purpose -Creates DataDog monitors with the following checks : +Creates DataDog monitors with the following checks: EOF SAVEIFS=$IFS From be4cf5e52203a6ba446da0335653fb274e28b509 Mon Sep 17 00:00:00 2001 From: Quentin Manfroi Date: Mon, 23 Jul 2018 15:22:13 +0200 Subject: [PATCH 4/6] MON-259 export to parse as a function to be reused --- scripts/01_update_output.sh | 9 ++------- scripts/02_update_readme.sh | 7 +------ scripts/auto_update.sh | 8 +++----- scripts/utils.sh | 8 ++++++++ 4 files changed, 14 insertions(+), 18 deletions(-) diff --git a/scripts/01_update_output.sh b/scripts/01_update_output.sh index 07732f9..4a6ad0c 100755 --- a/scripts/01_update_output.sh +++ b/scripts/01_update_output.sh @@ -4,12 +4,7 @@ set -xueo pipefail source "$(dirname $0)/utils.sh" goto_root -TO_PARSE="." -if [ ! -z ${1+x} ]; then - TO_PARSE="$1" -fi - -for path in $(find $TO_PARSE -path ./incubator -prune -o -name 'monitors-*.tf' -print); do +for path in $(find "$(get_scope $1)" -path ./incubator -prune -o -name 'monitors-*.tf' -print); do cd $(dirname $path) > outputs.tf for monitor in $(grep 'resource "datadog_monitor"' $(basename $path) | awk '{print $3}' | tr -d '"' ); do @@ -24,4 +19,4 @@ EOF done cd - >> /dev/null done -terraform fmt $TO_PARSE +terraform fmt "$(get_scope $1)" diff --git a/scripts/02_update_readme.sh b/scripts/02_update_readme.sh index e59a887..1c88a3b 100755 --- a/scripts/02_update_readme.sh +++ b/scripts/02_update_readme.sh @@ -4,11 +4,6 @@ set -xueo pipefail source "$(dirname $0)/utils.sh" goto_root -TO_PARSE="." -if [ ! -z ${1+x} ]; then - TO_PARSE="$1" -fi - sed -i '/### Monitors summary ###/q' README.md echo >> README.md for path in $(find -mindepth 1 \( -path './incubator' -o -path './scripts' -o -path './testing' -o -path '*/\.*' \) -prune -o -type d -print | sort); do @@ -25,7 +20,7 @@ done PATTERN_DOC="Related documentation" -for path in $(find $TO_PARSE -path ./incubator -prune -o -name 'monitors-*.tf' -print); do +for path in $(find "$(get_scope $1)" -path ./incubator -prune -o -name 'monitors-*.tf' -print); do cd $(dirname $path) EXIST=0 if [ -f README.md ]; then diff --git a/scripts/auto_update.sh b/scripts/auto_update.sh index a2ef8d5..b584166 100755 --- a/scripts/auto_update.sh +++ b/scripts/auto_update.sh @@ -1,12 +1,10 @@ #!/bin/bash set -xueo pipefail -TO_PARSE="." -if [ ! -z ${1+x} ]; then - TO_PARSE="$1" -fi +source "$(dirname $0)/utils.sh" cd $(dirname $0) + for script in [0-9][0-9]_*.sh; do - ./${script} $TO_PARSE + ./${script} "$(get_scope $1)" done diff --git a/scripts/utils.sh b/scripts/utils.sh index b9dbdf8..b4b23ca 100755 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -9,6 +9,14 @@ function goto_root { fi } +function get_scope { + TO_PARSE="." + if [ ! -z ${1+x} ]; then + TO_PARSE="$1" + fi + echo $TO_PARSE +} + function list_dirs { echo ${1} | awk -F '/' '{$1=""; print $0}' | cut -c 2- } From 9fa5e44c16da2fdc6167dbabfc8d93136c6e3a14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Respaut?= Date: Thu, 19 Jul 2018 17:24:21 +0200 Subject: [PATCH 5/6] =?UTF-8?q?[=F0=9F=98=8E]=20MON-259:=20Regen=20all=20R?= =?UTF-8?q?EADMEs=20with=20script=20updates=20[=C2=B2]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cloud/aws/alb/README.md | 2 +- cloud/aws/apigateway/README.md | 2 +- cloud/aws/elasticsearch/README.md | 2 +- cloud/aws/elb/README.md | 2 +- cloud/aws/kinesis-firehose/README.md | 2 +- cloud/aws/rds/README.md | 2 +- cloud/aws/vpn/README.md | 2 +- cloud/azure/apimanagement/README.md | 2 +- cloud/azure/app-services/README.md | 2 +- cloud/azure/eventhub/README.md | 2 +- cloud/azure/iothubs/README.md | 2 +- cloud/azure/redis/README.md | 2 +- cloud/azure/servicebus/README.md | 2 +- cloud/azure/sql-database/README.md | 2 +- cloud/azure/storage/README.md | 2 +- cloud/azure/stream-analytics/README.md | 2 +- databases/mongodb/README.md | 2 +- middleware/apache/README.md | 2 +- middleware/nginx/README.md | 2 +- middleware/php-fpm/README.md | 2 +- system/generic/README.md | 2 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/cloud/aws/alb/README.md b/cloud/aws/alb/README.md index af6a727..8f03fe2 100644 --- a/cloud/aws/alb/README.md +++ b/cloud/aws/alb/README.md @@ -7,7 +7,7 @@ module "datadog-monitors-cloud-aws-alb" { source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/aws/alb?ref={revision}" environment = "${var.environment}" - message = "${module.datadog-message-alerting.alerting-message}" + message = "${module.datadog-message-alerting.alerting-message}" } ``` diff --git a/cloud/aws/apigateway/README.md b/cloud/aws/apigateway/README.md index 93507b0..914c4e1 100644 --- a/cloud/aws/apigateway/README.md +++ b/cloud/aws/apigateway/README.md @@ -7,7 +7,7 @@ module "datadog-monitors-cloud-aws-apigateway" { source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/aws/apigateway?ref={revision}" environment = "${var.environment}" - message = "${module.datadog-message-alerting.alerting-message}" + message = "${module.datadog-message-alerting.alerting-message}" } ``` diff --git a/cloud/aws/elasticsearch/README.md b/cloud/aws/elasticsearch/README.md index 8e0dfff..791724b 100644 --- a/cloud/aws/elasticsearch/README.md +++ b/cloud/aws/elasticsearch/README.md @@ -7,7 +7,7 @@ module "datadog-monitors-cloud-aws-elasticsearch" { source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/aws/elasticsearch?ref={revision}" environment = "${var.environment}" - message = "${module.datadog-message-alerting.alerting-message}" + message = "${module.datadog-message-alerting.alerting-message}" } ``` diff --git a/cloud/aws/elb/README.md b/cloud/aws/elb/README.md index 10f156c..93884ff 100644 --- a/cloud/aws/elb/README.md +++ b/cloud/aws/elb/README.md @@ -7,7 +7,7 @@ module "datadog-monitors-cloud-aws-elb" { source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/aws/elb?ref={revision}" environment = "${var.environment}" - message = "${module.datadog-message-alerting.alerting-message}" + message = "${module.datadog-message-alerting.alerting-message}" } ``` diff --git a/cloud/aws/kinesis-firehose/README.md b/cloud/aws/kinesis-firehose/README.md index 9b89992..83d579c 100644 --- a/cloud/aws/kinesis-firehose/README.md +++ b/cloud/aws/kinesis-firehose/README.md @@ -7,7 +7,7 @@ module "datadog-monitors-cloud-aws-kinesis-firehose" { source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/aws/kinesis-firehose?ref={revision}" environment = "${var.environment}" - message = "${module.datadog-message-alerting.alerting-message}" + message = "${module.datadog-message-alerting.alerting-message}" } ``` diff --git a/cloud/aws/rds/README.md b/cloud/aws/rds/README.md index 4c26f91..fb45600 100644 --- a/cloud/aws/rds/README.md +++ b/cloud/aws/rds/README.md @@ -7,7 +7,7 @@ module "datadog-monitors-cloud-aws-rds" { source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/aws/rds?ref={revision}" environment = "${var.environment}" - message = "${module.datadog-message-alerting.alerting-message}" + message = "${module.datadog-message-alerting.alerting-message}" } ``` diff --git a/cloud/aws/vpn/README.md b/cloud/aws/vpn/README.md index 8148ce1..c3cc7c4 100644 --- a/cloud/aws/vpn/README.md +++ b/cloud/aws/vpn/README.md @@ -7,7 +7,7 @@ module "datadog-monitors-cloud-aws-vpn" { source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/aws/vpn?ref={revision}" environment = "${var.environment}" - message = "${module.datadog-message-alerting.alerting-message}" + message = "${module.datadog-message-alerting.alerting-message}" } ``` diff --git a/cloud/azure/apimanagement/README.md b/cloud/azure/apimanagement/README.md index 24c3589..31dc689 100644 --- a/cloud/azure/apimanagement/README.md +++ b/cloud/azure/apimanagement/README.md @@ -7,7 +7,7 @@ module "datadog-monitors-cloud-azure-apimanagement" { source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/azure/apimanagement?ref={revision}" environment = "${var.environment}" - message = "${module.datadog-message-alerting.alerting-message}" + message = "${module.datadog-message-alerting.alerting-message}" } ``` diff --git a/cloud/azure/app-services/README.md b/cloud/azure/app-services/README.md index eb89206..e536dc1 100644 --- a/cloud/azure/app-services/README.md +++ b/cloud/azure/app-services/README.md @@ -7,7 +7,7 @@ module "datadog-monitors-cloud-azure-app-services" { source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/azure/app-services?ref={revision}" environment = "${var.environment}" - message = "${module.datadog-message-alerting.alerting-message}" + message = "${module.datadog-message-alerting.alerting-message}" } ``` diff --git a/cloud/azure/eventhub/README.md b/cloud/azure/eventhub/README.md index 9f95d31..a86abf8 100644 --- a/cloud/azure/eventhub/README.md +++ b/cloud/azure/eventhub/README.md @@ -7,7 +7,7 @@ module "datadog-monitors-cloud-azure-eventhub" { source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/azure/eventhub?ref={revision}" environment = "${var.environment}" - message = "${module.datadog-message-alerting.alerting-message}" + message = "${module.datadog-message-alerting.alerting-message}" } ``` diff --git a/cloud/azure/iothubs/README.md b/cloud/azure/iothubs/README.md index fff2739..baf8c25 100644 --- a/cloud/azure/iothubs/README.md +++ b/cloud/azure/iothubs/README.md @@ -7,7 +7,7 @@ module "datadog-monitors-cloud-azure-iothubs" { source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/azure/iothubs?ref={revision}" environment = "${var.environment}" - message = "${module.datadog-message-alerting.alerting-message}" + message = "${module.datadog-message-alerting.alerting-message}" } ``` diff --git a/cloud/azure/redis/README.md b/cloud/azure/redis/README.md index 55cab45..939ac7b 100644 --- a/cloud/azure/redis/README.md +++ b/cloud/azure/redis/README.md @@ -7,7 +7,7 @@ module "datadog-monitors-cloud-azure-redis" { source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/azure/redis?ref={revision}" environment = "${var.environment}" - message = "${module.datadog-message-alerting.alerting-message}" + message = "${module.datadog-message-alerting.alerting-message}" } ``` diff --git a/cloud/azure/servicebus/README.md b/cloud/azure/servicebus/README.md index 2bbeb5d..93dfa60 100644 --- a/cloud/azure/servicebus/README.md +++ b/cloud/azure/servicebus/README.md @@ -7,7 +7,7 @@ module "datadog-monitors-cloud-azure-servicebus" { source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/azure/servicebus?ref={revision}" environment = "${var.environment}" - message = "${module.datadog-message-alerting.alerting-message}" + message = "${module.datadog-message-alerting.alerting-message}" } ``` diff --git a/cloud/azure/sql-database/README.md b/cloud/azure/sql-database/README.md index 914e4d1..80b548c 100644 --- a/cloud/azure/sql-database/README.md +++ b/cloud/azure/sql-database/README.md @@ -7,7 +7,7 @@ module "datadog-monitors-cloud-azure-sql-database" { source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/azure/sql-database?ref={revision}" environment = "${var.environment}" - message = "${module.datadog-message-alerting.alerting-message}" + message = "${module.datadog-message-alerting.alerting-message}" } ``` diff --git a/cloud/azure/storage/README.md b/cloud/azure/storage/README.md index 56d245c..af89b2f 100644 --- a/cloud/azure/storage/README.md +++ b/cloud/azure/storage/README.md @@ -7,7 +7,7 @@ module "datadog-monitors-cloud-azure-storage" { source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/azure/storage?ref={revision}" environment = "${var.environment}" - message = "${module.datadog-message-alerting.alerting-message}" + message = "${module.datadog-message-alerting.alerting-message}" } ``` diff --git a/cloud/azure/stream-analytics/README.md b/cloud/azure/stream-analytics/README.md index e1a4ae0..06820e5 100644 --- a/cloud/azure/stream-analytics/README.md +++ b/cloud/azure/stream-analytics/README.md @@ -7,7 +7,7 @@ module "datadog-monitors-cloud-azure-stream-analytics" { source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/azure/stream-analytics?ref={revision}" environment = "${var.environment}" - message = "${module.datadog-message-alerting.alerting-message}" + message = "${module.datadog-message-alerting.alerting-message}" } ``` diff --git a/databases/mongodb/README.md b/databases/mongodb/README.md index cc85575..0904067 100644 --- a/databases/mongodb/README.md +++ b/databases/mongodb/README.md @@ -7,7 +7,7 @@ module "datadog-monitors-databases-mongodb" { source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//databases/mongodb?ref={revision}" environment = "${var.environment}" - message = "${module.datadog-message-alerting.alerting-message}" + message = "${module.datadog-message-alerting.alerting-message}" } ``` diff --git a/middleware/apache/README.md b/middleware/apache/README.md index 73b3691..d1b0baf 100644 --- a/middleware/apache/README.md +++ b/middleware/apache/README.md @@ -7,7 +7,7 @@ module "datadog-monitors-middleware-apache" { source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//middleware/apache?ref={revision}" environment = "${var.environment}" - message = "${module.datadog-message-alerting.alerting-message}" + message = "${module.datadog-message-alerting.alerting-message}" } ``` diff --git a/middleware/nginx/README.md b/middleware/nginx/README.md index 161bb2f..da70ceb 100644 --- a/middleware/nginx/README.md +++ b/middleware/nginx/README.md @@ -7,7 +7,7 @@ module "datadog-monitors-middleware-nginx" { source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//middleware/nginx?ref={revision}" environment = "${var.environment}" - message = "${module.datadog-message-alerting.alerting-message}" + message = "${module.datadog-message-alerting.alerting-message}" } ``` diff --git a/middleware/php-fpm/README.md b/middleware/php-fpm/README.md index 55a625d..1b20821 100644 --- a/middleware/php-fpm/README.md +++ b/middleware/php-fpm/README.md @@ -7,7 +7,7 @@ module "datadog-monitors-middleware-php-fpm" { source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//middleware/php-fpm?ref={revision}" environment = "${var.environment}" - message = "${module.datadog-message-alerting.alerting-message}" + message = "${module.datadog-message-alerting.alerting-message}" } ``` diff --git a/system/generic/README.md b/system/generic/README.md index 5366eab..9eb4175 100644 --- a/system/generic/README.md +++ b/system/generic/README.md @@ -7,7 +7,7 @@ module "datadog-monitors-system-generic" { source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//system/generic?ref={revision}" environment = "${var.environment}" - message = "${module.datadog-message-alerting.alerting-message}" + message = "${module.datadog-message-alerting.alerting-message}" } ``` From da10547f9f39c61cab18744d57cfe8a12e1168bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Respaut?= Date: Thu, 19 Jul 2018 17:51:40 +0200 Subject: [PATCH 6/6] MON-259: Cleanup space before colon --- cloud/aws/alb/README.md | 2 +- cloud/aws/apigateway/README.md | 2 +- cloud/aws/elasticsearch/README.md | 2 +- cloud/aws/elb/README.md | 2 +- cloud/aws/kinesis-firehose/README.md | 2 +- cloud/aws/rds/README.md | 2 +- cloud/aws/vpn/README.md | 2 +- cloud/azure/apimanagement/README.md | 2 +- cloud/azure/app-services/README.md | 2 +- cloud/azure/eventhub/README.md | 2 +- cloud/azure/iothubs/README.md | 2 +- cloud/azure/redis/README.md | 2 +- cloud/azure/servicebus/README.md | 2 +- cloud/azure/sql-database/README.md | 2 +- cloud/azure/storage/README.md | 2 +- cloud/azure/stream-analytics/README.md | 2 +- databases/mongodb/README.md | 2 +- middleware/apache/README.md | 2 +- middleware/nginx/README.md | 2 +- middleware/php-fpm/README.md | 2 +- system/generic/README.md | 2 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/cloud/aws/alb/README.md b/cloud/aws/alb/README.md index 8f03fe2..8c7eca9 100644 --- a/cloud/aws/alb/README.md +++ b/cloud/aws/alb/README.md @@ -14,7 +14,7 @@ module "datadog-monitors-cloud-aws-alb" { ## Purpose -Creates DataDog monitors with the following checks : +Creates DataDog monitors with the following checks: - ALB no healthy instances - ALB latency diff --git a/cloud/aws/apigateway/README.md b/cloud/aws/apigateway/README.md index 914c4e1..a8b462d 100644 --- a/cloud/aws/apigateway/README.md +++ b/cloud/aws/apigateway/README.md @@ -14,7 +14,7 @@ module "datadog-monitors-cloud-aws-apigateway" { ## Purpose -Creates DataDog monitors with the following checks : +Creates DataDog monitors with the following checks: - API Gateway latency - API Gateway HTTP 5xx errors diff --git a/cloud/aws/elasticsearch/README.md b/cloud/aws/elasticsearch/README.md index 791724b..50e6370 100644 --- a/cloud/aws/elasticsearch/README.md +++ b/cloud/aws/elasticsearch/README.md @@ -14,7 +14,7 @@ module "datadog-monitors-cloud-aws-elasticsearch" { ## Purpose -Creates DataDog monitors with the following checks : +Creates DataDog monitors with the following checks: - ElasticSearch cluster status is not green - ElasticSearch cluster free storage space diff --git a/cloud/aws/elb/README.md b/cloud/aws/elb/README.md index 93884ff..67957de 100644 --- a/cloud/aws/elb/README.md +++ b/cloud/aws/elb/README.md @@ -14,7 +14,7 @@ module "datadog-monitors-cloud-aws-elb" { ## Purpose -Creates DataDog monitors with the following checks : +Creates DataDog monitors with the following checks: - ELB no healthy instances - ELB 4xx errors too high diff --git a/cloud/aws/kinesis-firehose/README.md b/cloud/aws/kinesis-firehose/README.md index 83d579c..c7ac54b 100644 --- a/cloud/aws/kinesis-firehose/README.md +++ b/cloud/aws/kinesis-firehose/README.md @@ -14,7 +14,7 @@ module "datadog-monitors-cloud-aws-kinesis-firehose" { ## Purpose -Creates DataDog monitors with the following checks : +Creates DataDog monitors with the following checks: - Kinesis Firehose No incoming records diff --git a/cloud/aws/rds/README.md b/cloud/aws/rds/README.md index fb45600..f784bcd 100644 --- a/cloud/aws/rds/README.md +++ b/cloud/aws/rds/README.md @@ -14,7 +14,7 @@ module "datadog-monitors-cloud-aws-rds" { ## Purpose -Creates DataDog monitors with the following checks : +Creates DataDog monitors with the following checks: - RDS instance CPU high - RDS instance free space diff --git a/cloud/aws/vpn/README.md b/cloud/aws/vpn/README.md index c3cc7c4..d2b78a4 100644 --- a/cloud/aws/vpn/README.md +++ b/cloud/aws/vpn/README.md @@ -14,7 +14,7 @@ module "datadog-monitors-cloud-aws-vpn" { ## Purpose -Creates DataDog monitors with the following checks : +Creates DataDog monitors with the following checks: - VPN Down diff --git a/cloud/azure/apimanagement/README.md b/cloud/azure/apimanagement/README.md index 31dc689..f0b51a9 100644 --- a/cloud/azure/apimanagement/README.md +++ b/cloud/azure/apimanagement/README.md @@ -14,7 +14,7 @@ module "datadog-monitors-cloud-azure-apimanagement" { ## Purpose -Creates DataDog monitors with the following checks : +Creates DataDog monitors with the following checks: - API Management is down - API Management too many failed requests diff --git a/cloud/azure/app-services/README.md b/cloud/azure/app-services/README.md index e536dc1..2e97976 100644 --- a/cloud/azure/app-services/README.md +++ b/cloud/azure/app-services/README.md @@ -14,7 +14,7 @@ module "datadog-monitors-cloud-azure-app-services" { ## Purpose -Creates DataDog monitors with the following checks : +Creates DataDog monitors with the following checks: - App Services response time too high - App Services memory usage diff --git a/cloud/azure/eventhub/README.md b/cloud/azure/eventhub/README.md index a86abf8..247b298 100644 --- a/cloud/azure/eventhub/README.md +++ b/cloud/azure/eventhub/README.md @@ -14,7 +14,7 @@ module "datadog-monitors-cloud-azure-eventhub" { ## Purpose -Creates DataDog monitors with the following checks : +Creates DataDog monitors with the following checks: - Event Hub is down - Event Hub too many failed requests diff --git a/cloud/azure/iothubs/README.md b/cloud/azure/iothubs/README.md index baf8c25..c1edbae 100644 --- a/cloud/azure/iothubs/README.md +++ b/cloud/azure/iothubs/README.md @@ -14,7 +14,7 @@ module "datadog-monitors-cloud-azure-iothubs" { ## Purpose -Creates DataDog monitors with the following checks : +Creates DataDog monitors with the following checks: - IOT Hub Too many jobs failed - IOT Hub Too many list_jobs failure diff --git a/cloud/azure/redis/README.md b/cloud/azure/redis/README.md index 939ac7b..491c6cc 100644 --- a/cloud/azure/redis/README.md +++ b/cloud/azure/redis/README.md @@ -14,7 +14,7 @@ module "datadog-monitors-cloud-azure-redis" { ## Purpose -Creates DataDog monitors with the following checks : +Creates DataDog monitors with the following checks: - Redis {{name}} is down - Redis too many evictedkeys diff --git a/cloud/azure/servicebus/README.md b/cloud/azure/servicebus/README.md index 93dfa60..c3aa103 100644 --- a/cloud/azure/servicebus/README.md +++ b/cloud/azure/servicebus/README.md @@ -14,7 +14,7 @@ module "datadog-monitors-cloud-azure-servicebus" { ## Purpose -Creates DataDog monitors with the following checks : +Creates DataDog monitors with the following checks: - Service Bus is down diff --git a/cloud/azure/sql-database/README.md b/cloud/azure/sql-database/README.md index 80b548c..b64baf4 100644 --- a/cloud/azure/sql-database/README.md +++ b/cloud/azure/sql-database/README.md @@ -14,7 +14,7 @@ module "datadog-monitors-cloud-azure-sql-database" { ## Purpose -Creates DataDog monitors with the following checks : +Creates DataDog monitors with the following checks: - SQL Database CPU too high - SQL Database low free space diff --git a/cloud/azure/storage/README.md b/cloud/azure/storage/README.md index af89b2f..46c0510 100644 --- a/cloud/azure/storage/README.md +++ b/cloud/azure/storage/README.md @@ -14,7 +14,7 @@ module "datadog-monitors-cloud-azure-storage" { ## Purpose -Creates DataDog monitors with the following checks : +Creates DataDog monitors with the following checks: - Azure Storage is down - Azure Storage too few successful requests diff --git a/cloud/azure/stream-analytics/README.md b/cloud/azure/stream-analytics/README.md index 06820e5..90f1d9c 100644 --- a/cloud/azure/stream-analytics/README.md +++ b/cloud/azure/stream-analytics/README.md @@ -14,7 +14,7 @@ module "datadog-monitors-cloud-azure-stream-analytics" { ## Purpose -Creates DataDog monitors with the following checks : +Creates DataDog monitors with the following checks: - Stream Analytics is down - Stream Analytics streaming units utilization too high diff --git a/databases/mongodb/README.md b/databases/mongodb/README.md index 0904067..193de0e 100644 --- a/databases/mongodb/README.md +++ b/databases/mongodb/README.md @@ -14,7 +14,7 @@ module "datadog-monitors-databases-mongodb" { ## Purpose -Creates DataDog monitors with the following checks : +Creates DataDog monitors with the following checks: - Member down in the replica set diff --git a/middleware/apache/README.md b/middleware/apache/README.md index d1b0baf..b41fe1f 100644 --- a/middleware/apache/README.md +++ b/middleware/apache/README.md @@ -14,7 +14,7 @@ module "datadog-monitors-middleware-apache" { ## Purpose -Creates DataDog monitors with the following checks : +Creates DataDog monitors with the following checks: - Can't connect to apache vhost status diff --git a/middleware/nginx/README.md b/middleware/nginx/README.md index da70ceb..551ea03 100644 --- a/middleware/nginx/README.md +++ b/middleware/nginx/README.md @@ -14,7 +14,7 @@ module "datadog-monitors-middleware-nginx" { ## Purpose -Creates DataDog monitors with the following checks : +Creates DataDog monitors with the following checks: - Can't connect to nginx vhost status diff --git a/middleware/php-fpm/README.md b/middleware/php-fpm/README.md index 1b20821..09bdf1a 100644 --- a/middleware/php-fpm/README.md +++ b/middleware/php-fpm/README.md @@ -14,7 +14,7 @@ module "datadog-monitors-middleware-php-fpm" { ## Purpose -Creates DataDog monitors with the following checks : +Creates DataDog monitors with the following checks: - php_fpm busy worker - Can't connect to php-fpm diff --git a/system/generic/README.md b/system/generic/README.md index 9eb4175..1174ef4 100644 --- a/system/generic/README.md +++ b/system/generic/README.md @@ -14,7 +14,7 @@ module "datadog-monitors-system-generic" { ## Purpose -Creates DataDog monitors with the following checks : +Creates DataDog monitors with the following checks: - CPU usage - CPU load 5