Merged in MON-79-azure-storage-monitors-fix-nodata (pull request #45)
MON-79 Remove notify no data on storage since no data is sent from Azure on unused storage accounts Approved-by: Laurent Piroelle <laurent.piroelle@fr.clara.net> Approved-by: Adrien Broyere <adrien.broyere@fr.clara.net> Approved-by: Jérôme Respaut <shr3ps@gmail.com> Approved-by: Alexandre Gaillet <alexandre.gaillet@fr.clara.net> Approved-by: Kevin Pecquet <kevin.pecquet@fr.clara.net> Approved-by: Quentin Manfroi <quentin.manfroi@yahoo.fr>
This commit is contained in:
commit
188876c47a
@ -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)
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user