From 40321c6d6e83f610952f1fa51d4a8495f9432106 Mon Sep 17 00:00:00 2001 From: Quentin Manfroi Date: Thu, 30 Aug 2018 14:57:30 +0200 Subject: [PATCH] MON-142 auto update --- database/mysql/README.md | 8 ++++---- database/mysql/outputs.tf | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/database/mysql/README.md b/database/mysql/README.md index 9e5d507..e5e6b1c 100644 --- a/database/mysql/README.md +++ b/database/mysql/README.md @@ -16,14 +16,14 @@ module "datadog-monitors-database-mysql" { Creates DataDog monitors with the following checks: -- Mysql server does not respond -- Mysql Connections limit - Mysql Aborted connects -- Mysql Slow queries +- Mysql Connections limit - Mysql Innodb buffer pool efficiency - Mysql Innodb buffer pool utilization -- Mysql threads changed abnormally - Mysql queries changed abnormally +- Mysql server does not respond +- Mysql Slow queries +- Mysql threads changed abnormally ## Inputs diff --git a/database/mysql/outputs.tf b/database/mysql/outputs.tf index 143b534..ba317cf 100644 --- a/database/mysql/outputs.tf +++ b/database/mysql/outputs.tf @@ -1,39 +1,39 @@ output "mysql_availability_id" { description = "id for monitor mysql_availability" - value = "${datadog_monitor.mysql_availability.id}" + value = "${datadog_monitor.mysql_availability.*.id}" } output "mysql_connection_id" { description = "id for monitor mysql_connection" - value = "${datadog_monitor.mysql_connection.id}" + value = "${datadog_monitor.mysql_connection.*.id}" } output "mysql_aborted_id" { description = "id for monitor mysql_aborted" - value = "${datadog_monitor.mysql_aborted.id}" + value = "${datadog_monitor.mysql_aborted.*.id}" } output "mysql_slow_id" { description = "id for monitor mysql_slow" - value = "${datadog_monitor.mysql_slow.id}" + value = "${datadog_monitor.mysql_slow.*.id}" } output "mysql_pool_efficiency_id" { description = "id for monitor mysql_pool_efficiency" - value = "${datadog_monitor.mysql_pool_efficiency.id}" + value = "${datadog_monitor.mysql_pool_efficiency.*.id}" } output "mysql_pool_utilization_id" { description = "id for monitor mysql_pool_utilization" - value = "${datadog_monitor.mysql_pool_utilization.id}" + value = "${datadog_monitor.mysql_pool_utilization.*.id}" } output "mysql_threads_anomaly_id" { description = "id for monitor mysql_threads_anomaly" - value = "${datadog_monitor.mysql_threads_anomaly.id}" + value = "${datadog_monitor.mysql_threads_anomaly.*.id}" } output "mysql_queries_anomaly_id" { description = "id for monitor mysql_queries_anomaly" - value = "${datadog_monitor.mysql_queries_anomaly.id}" + value = "${datadog_monitor.mysql_queries_anomaly.*.id}" }