From 82c35ce5f738c916db63921c02aefc846aa0c44b Mon Sep 17 00:00:00 2001 From: Rafael Romero Carmona Date: Thu, 5 Jul 2018 12:52:03 +0200 Subject: [PATCH] MON-224 Readme and replication lag timeframe variable fixed --- cloud/gcp/cloud-sql/mysql/README.md | 5 +++-- cloud/gcp/cloud-sql/mysql/monitors-cloudsql-mysql.tf | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cloud/gcp/cloud-sql/mysql/README.md b/cloud/gcp/cloud-sql/mysql/README.md index 3e54165..eaf55f6 100644 --- a/cloud/gcp/cloud-sql/mysql/README.md +++ b/cloud/gcp/cloud-sql/mysql/README.md @@ -6,7 +6,7 @@ How to use this module ``` module "datadog-monitors-gcp-cloudsql-mysql" { - source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/gcp/clouds-sql/mysql?ref={revision}" + source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/gcp/cloud-sql/mysql?ref={revision}" project_id = "${var.gcp_project_id}" environment = "${var.environment}" @@ -21,7 +21,8 @@ Creates DataDog monitors with the following checks : * CloudSQL MySQL Network Connections * CloudSQL MySQL Replication Lag -* CloudSQL MySQL Failover Lag +* CloudSQL MySQL Queries Changing Anomaly (not created by default) +* CloudSQL MySQL Questions Changing Anomaly (not created by default) Useful links ------------ diff --git a/cloud/gcp/cloud-sql/mysql/monitors-cloudsql-mysql.tf b/cloud/gcp/cloud-sql/mysql/monitors-cloudsql-mysql.tf index dac2edd..833664e 100644 --- a/cloud/gcp/cloud-sql/mysql/monitors-cloudsql-mysql.tf +++ b/cloud/gcp/cloud-sql/mysql/monitors-cloudsql-mysql.tf @@ -62,7 +62,7 @@ resource "datadog_monitor" "replication_lag" { type = "metric alert" query = < ${var.replication_lag_threshold_critical}