diff --git a/cloud/azure/storage/monitors-azure-storage.tf b/cloud/azure/storage/monitors-azure-storage.tf index 4fa71cc..9579999 100644 --- a/cloud/azure/storage/monitors-azure-storage.tf +++ b/cloud/azure/storage/monitors-azure-storage.tf @@ -153,9 +153,9 @@ resource "datadog_monitor" "tableservices_requests_error" { query = < ${var.successful_storage_requests_threshold_critical} + default(100-(default(sum:azure.storage_storageaccounts_tableservices.transactions${module.filter-tags-success.query_alert} by {name}.as_rate(),0) / + default(sum:azure.storage_storageaccounts_tableservices.transactions${module.filter-tags.query_alert} by {name}.as_rate(),0) + * 100),0) > ${var.successful_storage_requests_threshold_critical} EOQ