MON-571 Apply suggestion to cloud/azure/app-gateway/monitors-app-gateway.tf
This commit is contained in:
parent
e8025afa09
commit
57e4ba8c02
@ -22,7 +22,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
- App Gateway backend HTTP 5xx errors rate is too high
|
- App Gateway backend HTTP 5xx errors rate is too high
|
||||||
- App Gateway backend unhealthy host ratio is too high
|
- App Gateway backend unhealthy host ratio is too high
|
||||||
- App Gateway failed requests
|
- App Gateway failed requests
|
||||||
- App Gateway has no successful requests
|
- App Gateway has no requests
|
||||||
- App Gateway HTTP 4xx errors rate is too high
|
- App Gateway HTTP 4xx errors rate is too high
|
||||||
- App Gateway HTTP 5xx errors rate is too high
|
- App Gateway HTTP 5xx errors rate is too high
|
||||||
- App Gateway is down
|
- App Gateway is down
|
||||||
|
|||||||
@ -32,7 +32,7 @@ EOQ
|
|||||||
# Monitoring App Gateway total_requests
|
# Monitoring App Gateway total_requests
|
||||||
resource "datadog_monitor" "total_requests" {
|
resource "datadog_monitor" "total_requests" {
|
||||||
count = var.total_requests_enabled == "true" ? 1 : 0
|
count = var.total_requests_enabled == "true" ? 1 : 0
|
||||||
name = "${var.prefix_slug == "" ? "" : "[${var.prefix_slug}]"}[${var.environment}] App Gateway has no successful requests"
|
name = "${var.prefix_slug == "" ? "" : "[${var.prefix_slug}]"}[${var.environment}] App Gateway has no requests"
|
||||||
message = coalesce(var.total_requests_message, var.message)
|
message = coalesce(var.total_requests_message, var.message)
|
||||||
type = "query alert"
|
type = "query alert"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user