MON-79 Remove notify no data on storage since no data is sent from Azure on unused storage accounts

This commit is contained in:
Laurent Piroelle 2018-02-08 17:16:35 +01:00
parent 37d83aa0f2
commit 964e52f46b
2 changed files with 12 additions and 11 deletions

View File

@ -54,5 +54,6 @@ DataDog documentation: [https://docs.datadoghq.com/integrations/azure_storage/](
DataDog blog: [https://www.datadoghq.com/blog/monitor-azure-storage-datadog/](https://www.datadoghq.com/blog/monitor-azure-storage-datadog/)
Azure Redis 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 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)

View File

@ -7,7 +7,7 @@ data "template_file" "filter" {
}
resource "datadog_monitor" "availability" {
name = "[${var.environment}] Azure Storage {{name}} unvailability detected"
name = "[${var.environment}] Azure Storage {{name}} unavailability detected"
message = "${var.message}"
query = <<EOF
@ -21,7 +21,7 @@ EOF
}
type = "metric alert"
notify_no_data = true
notify_no_data = false
notify_audit = false
timeout_h = 0
include_tags = true
@ -50,7 +50,7 @@ EOF
}
type = "metric alert"
notify_no_data = true
notify_no_data = false
notify_audit = false
timeout_h = 0
include_tags = true
@ -79,7 +79,7 @@ EOF
}
type = "metric alert"
notify_no_data = true
notify_no_data = false
notify_audit = false
timeout_h = 0
include_tags = true
@ -108,7 +108,7 @@ EOF
}
type = "metric alert"
notify_no_data = true
notify_no_data = false
notify_audit = false
timeout_h = 0
include_tags = true
@ -137,7 +137,7 @@ EOF
}
type = "metric alert"
notify_no_data = true
notify_no_data = false
notify_audit = false
timeout_h = 0
include_tags = true
@ -166,7 +166,7 @@ EOF
}
type = "metric alert"
notify_no_data = true
notify_no_data = false
notify_audit = false
timeout_h = 0
include_tags = true
@ -195,7 +195,7 @@ EOF
}
type = "metric alert"
notify_no_data = true
notify_no_data = false
notify_audit = false
timeout_h = 0
include_tags = true
@ -224,7 +224,7 @@ EOF
}
type = "metric alert"
notify_no_data = true
notify_no_data = false
notify_audit = false
timeout_h = 0
include_tags = true
@ -253,7 +253,7 @@ EOF
}
type = "metric alert"
notify_no_data = true
notify_no_data = false
notify_audit = false
timeout_h = 0
include_tags = true