diff --git a/cloud/aws/alb/README.md b/cloud/aws/alb/README.md index b2af029..774b381 100644 Binary files a/cloud/aws/alb/README.md and b/cloud/aws/alb/README.md differ diff --git a/cloud/aws/apigateway/README.md b/cloud/aws/apigateway/README.md index 8e242ed..628ce69 100644 Binary files a/cloud/aws/apigateway/README.md and b/cloud/aws/apigateway/README.md differ diff --git a/cloud/aws/elasticsearch/README.md b/cloud/aws/elasticsearch/README.md index 70a854f..313bdeb 100644 Binary files a/cloud/aws/elasticsearch/README.md and b/cloud/aws/elasticsearch/README.md differ diff --git a/cloud/aws/elb/README.md b/cloud/aws/elb/README.md index bd2a0a7..d77be79 100644 --- a/cloud/aws/elb/README.md +++ b/cloud/aws/elb/README.md @@ -1,30 +1,30 @@ -AWS ELB DataDog monitors -======================== - -How to use this module ----------------------- - -``` -module "datadog-monitors-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}" -} - -``` - -Purpose -------- -Creates DataDog monitors with the following checks : - -* ELB no healthy hosts -* ELB latency too high -* ELB http code 4xx percent to high -* ELB http code 5xx percent to high -* ELB backend http code 4xx percent to high -* ELB backend http code 5xx percent to high - +AWS ELB DataDog monitors +======================== + +How to use this module +---------------------- + +``` +module "datadog-monitors-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}" +} + +``` + +Purpose +------- +Creates DataDog monitors with the following checks : + +* ELB no healthy hosts +* ELB latency too high +* ELB http code 4xx percent to high +* ELB http code 5xx percent to high +* ELB backend http code 4xx percent to high +* ELB backend http code 5xx percent to high + Inputs ------ diff --git a/cloud/aws/kinesis-firehose/README.md b/cloud/aws/kinesis-firehose/README.md index 77f7c43..fafe19b 100644 Binary files a/cloud/aws/kinesis-firehose/README.md and b/cloud/aws/kinesis-firehose/README.md differ diff --git a/cloud/aws/rds/README.md b/cloud/aws/rds/README.md index d00bbbd..40ff14d 100644 Binary files a/cloud/aws/rds/README.md and b/cloud/aws/rds/README.md differ diff --git a/cloud/aws/vpn/README.md b/cloud/aws/vpn/README.md index 40dd3d5..fad4a70 100644 Binary files a/cloud/aws/vpn/README.md and b/cloud/aws/vpn/README.md differ diff --git a/cloud/azure/README.md b/cloud/azure/README.md index b94b3aa..52c33aa 100644 --- a/cloud/azure/README.md +++ b/cloud/azure/README.md @@ -305,4 +305,3 @@ Related documentation DataDog documentation: [https://docs.datadoghq.com/integrations/azure/](https://docs.datadoghq.com/integrations/azure/) Azure metrics documentation: [https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-overview-metrics](https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-overview-metrics) - \ No newline at end of file diff --git a/cloud/azure/apimanagement/README.md b/cloud/azure/apimanagement/README.md index d47673f..e9a16a6 100644 Binary files a/cloud/azure/apimanagement/README.md and b/cloud/azure/apimanagement/README.md differ diff --git a/cloud/azure/app-services/README.md b/cloud/azure/app-services/README.md index cbfd940..4ee730e 100644 Binary files a/cloud/azure/app-services/README.md and b/cloud/azure/app-services/README.md differ diff --git a/cloud/azure/eventhub/README.md b/cloud/azure/eventhub/README.md index 53dc2dd..1b0e1b1 100644 Binary files a/cloud/azure/eventhub/README.md and b/cloud/azure/eventhub/README.md differ diff --git a/cloud/azure/iothubs/README.md b/cloud/azure/iothubs/README.md index ca9982f..7aaabeb 100644 --- a/cloud/azure/iothubs/README.md +++ b/cloud/azure/iothubs/README.md @@ -1,38 +1,38 @@ -Azure IOT Hubs DataDog monitors -=============================== - -How to use this module ----------------------- - -``` -module "iothubs" { - source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/azure/iothubs?ref=MON-80-azure-hub-iot-monitors" - - message = "${module.datadog-message-alerting.alerting-message}" - environment = "${var.environment}" -} -``` - -Purpose -------- -Creates a DataDog monitors with the following checks : - -* Service status check -* Jobs failed average check -* Query Jobs failed average check -* List Jobs failed average check -* Total devices count check -* C2D methods failed average check -* C2D twin read failed average check -* C2D twin update failed average check -* D2C twin read failed average check -* D2C twin update failed average check -* D2C telemetry egress dropped count check -* D2C telemetry egress orphaned count check -* D2C telemetry egress invalid count check -* D2C telemetry egress fallback count check -* D2C telemetry ingress no sent count check - +Azure IOT Hubs DataDog monitors +=============================== + +How to use this module +---------------------- + +``` +module "iothubs" { + source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/azure/iothubs?ref=MON-80-azure-hub-iot-monitors" + + message = "${module.datadog-message-alerting.alerting-message}" + environment = "${var.environment}" +} +``` + +Purpose +------- +Creates a DataDog monitors with the following checks : + +* Service status check +* Jobs failed average check +* Query Jobs failed average check +* List Jobs failed average check +* Total devices count check +* C2D methods failed average check +* C2D twin read failed average check +* C2D twin update failed average check +* D2C twin read failed average check +* D2C twin update failed average check +* D2C telemetry egress dropped count check +* D2C telemetry egress orphaned count check +* D2C telemetry egress invalid count check +* D2C telemetry egress fallback count check +* D2C telemetry ingress no sent count check + Inputs ------ @@ -109,10 +109,9 @@ Inputs | total_devices_time_aggregator | Monitor aggregator for IoT Hub total devices [available values: min, max, sum or avg] | string | `min` | no | | total_devices_timeframe | Monitor timeframe for IoT Hub total devices [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/azure_iot_hub](https://docs.datadoghq.com/integrations/azure_iot_hub) - -Azure IOT Hubs metrics documentation: [https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-monitor-resource-health](https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-monitor-resource-health) - \ No newline at end of file +Related documentation +--------------------- + +DataDog documentation: [https://docs.datadoghq.com/integrations/azure_iot_hub](https://docs.datadoghq.com/integrations/azure_iot_hub) + +Azure IOT Hubs metrics documentation: [https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-monitor-resource-health](https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-monitor-resource-health) diff --git a/cloud/azure/redis/README.md b/cloud/azure/redis/README.md index 3598fee..02d290a 100644 Binary files a/cloud/azure/redis/README.md and b/cloud/azure/redis/README.md differ diff --git a/cloud/azure/servicebus/README.md b/cloud/azure/servicebus/README.md index 0b0507a..f986d21 100644 Binary files a/cloud/azure/servicebus/README.md and b/cloud/azure/servicebus/README.md differ diff --git a/cloud/azure/sql-database/README.md b/cloud/azure/sql-database/README.md index a1b3a88..340ab20 100644 Binary files a/cloud/azure/sql-database/README.md and b/cloud/azure/sql-database/README.md differ diff --git a/cloud/azure/storage/README.md b/cloud/azure/storage/README.md index 1565478..4721d4c 100644 --- a/cloud/azure/storage/README.md +++ b/cloud/azure/storage/README.md @@ -102,4 +102,3 @@ DataDog blog: [https://www.datadoghq.com/blog/monitor-azure-storage-datadog/](ht Azure Storage metrics documentation: [https://docs.microsoft.com/en-us/azure/storage/common/storage-monitor-storage-account](https://docs.microsoft.com/en-us/azure/storage/common/storage-monitor-storage-account) Azure Storage metrics detailed documentation [https://docs.microsoft.com/en-us/rest/api/storageservices/storage-analytics-metrics-table-schema](https://docs.microsoft.com/en-us/rest/api/storageservices/storage-analytics-metrics-table-schema) - \ No newline at end of file diff --git a/cloud/azure/stream-analytics/README.md b/cloud/azure/stream-analytics/README.md index 0658fef..ab3bdc7 100644 Binary files a/cloud/azure/stream-analytics/README.md and b/cloud/azure/stream-analytics/README.md differ diff --git a/common/alerting-message/README.md b/common/alerting-message/README.md index d9883f9..2a5d870 100644 Binary files a/common/alerting-message/README.md and b/common/alerting-message/README.md differ diff --git a/middleware/apache/README.md b/middleware/apache/README.md index f450f8f..867f8f5 100644 --- a/middleware/apache/README.md +++ b/middleware/apache/README.md @@ -1,24 +1,24 @@ -Apache Middleware DataDog monitors -================================== - -How to use this module ----------------------- - -``` -module "datadog-monitors-apache-middleware" { - source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//middleware/apache?ref={revision}" - - message = "${module.datadog-message-alerting.alerting-message}" - environment = "${var.environment}" -} -``` - -Purpose -------- -Creates a DataDog monitors with the following checks : - -* Apache connect - +Apache Middleware DataDog monitors +================================== + +How to use this module +---------------------- + +``` +module "datadog-monitors-apache-middleware" { + source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//middleware/apache?ref={revision}" + + message = "${module.datadog-message-alerting.alerting-message}" + environment = "${var.environment}" +} +``` + +Purpose +------- +Creates a DataDog monitors with the following checks : + +* Apache connect + Inputs ------ diff --git a/middleware/nginx/README.md b/middleware/nginx/README.md index 09b0386..828aa7c 100644 --- a/middleware/nginx/README.md +++ b/middleware/nginx/README.md @@ -1,24 +1,24 @@ -Nginx Middleware DataDog monitors -================================= - -How to use this module ----------------------- - -``` -module "datadog-monitors-nginx-middleware" { - source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//middleware/nginx?ref={revision}" - - message = "${module.datadog-message-alerting.alerting-message}" - environment = "${var.environment}" -} -``` - -Purpose -------- -Creates a DataDog monitors with the following checks : - -* Nginx connect - +Nginx Middleware DataDog monitors +================================= + +How to use this module +---------------------- + +``` +module "datadog-monitors-nginx-middleware" { + source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//middleware/nginx?ref={revision}" + + message = "${module.datadog-message-alerting.alerting-message}" + environment = "${var.environment}" +} +``` + +Purpose +------- +Creates a DataDog monitors with the following checks : + +* Nginx connect + Inputs ------ diff --git a/middleware/php-fpm/README.md b/middleware/php-fpm/README.md index 7da65aa..a82701e 100644 --- a/middleware/php-fpm/README.md +++ b/middleware/php-fpm/README.md @@ -1,25 +1,25 @@ -PHP FPM Middleware DataDog monitors -=================================== - -How to use this module ----------------------- - -``` -module "datadog-monitors-php-fpm-middleware" { - source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//middleware/php-fpm?ref={revision}" - - message = "${module.datadog-message-alerting.alerting-message}" - environment = "${var.environment}" -} -``` - -Purpose -------- -Creates a DataDog monitors with the following checks : - -* PHP FPM connect -* PHP FPM load - +PHP FPM Middleware DataDog monitors +=================================== + +How to use this module +---------------------- + +``` +module "datadog-monitors-php-fpm-middleware" { + source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//middleware/php-fpm?ref={revision}" + + message = "${module.datadog-message-alerting.alerting-message}" + environment = "${var.environment}" +} +``` + +Purpose +------- +Creates a DataDog monitors with the following checks : + +* PHP FPM connect +* PHP FPM load + Inputs ------ diff --git a/scripts/update_readme.sh b/scripts/update_readme.sh index d4bda20..4cd8514 100755 --- a/scripts/update_readme.sh +++ b/scripts/update_readme.sh @@ -17,7 +17,8 @@ for dir in $(find -mindepth 2 -name README.md); do sed -i '/Inputs/a ------' README.md sed -i 's/## Outputs/Outputs/g' README.md sed -i '/Outputs/a -------' README.md - grep -Pzo '.*Related documentation(.*\n)*' README.md.bak >> README.md + grep -Pzo --color=never '.*Related documentation(.*\n)*' README.md.bak | head -n -1 >> README.md + dos2unix README.md rm README.md.bak cd - >> /dev/null done diff --git a/system/generic/README.md b/system/generic/README.md index 550a1d3..e5a6390 100644 --- a/system/generic/README.md +++ b/system/generic/README.md @@ -1,28 +1,28 @@ -System Generic DataDog monitors -=============================== - -How to use this module ----------------------- - -``` -module "datadog-monitors-system-generic" { - source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//system/generic?ref={revision}" - - message = "${module.datadog-message-alerting.alerting-message}" - environment = "${var.environment}" -} -``` - -Purpose -------- -Creates a DataDog monitors with the following checks : - -* CPU usage -* CPU load ratio -* Free memory -* Free disk inodes -* Free disk space - +System Generic DataDog monitors +=============================== + +How to use this module +---------------------- + +``` +module "datadog-monitors-system-generic" { + source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//system/generic?ref={revision}" + + message = "${module.datadog-message-alerting.alerting-message}" + environment = "${var.environment}" +} +``` + +Purpose +------- +Creates a DataDog monitors with the following checks : + +* CPU usage +* CPU load ratio +* Free memory +* Free disk inodes +* Free disk space + Inputs ------