From 0ae7daa9a22c7f1cf7f859e0f4759bdd41dd6034 Mon Sep 17 00:00:00 2001 From: vincentwschau <99756290+vincentwschau@users.noreply.github.com> Date: Mon, 18 Mar 2024 11:24:14 -0400 Subject: [PATCH] Increase replica lag alert params. (#85) --- modules/indexer_monitors/precautionary_monitors.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/indexer_monitors/precautionary_monitors.tf b/modules/indexer_monitors/precautionary_monitors.tf index 353baa29..351a531d 100644 --- a/modules/indexer_monitors/precautionary_monitors.tf +++ b/modules/indexer_monitors/precautionary_monitors.tf @@ -66,7 +66,7 @@ resource "datadog_monitor_json" "rds_read_replica_lag" { "id": 139995842, "name": "[${var.environment}] RDS read replica lag is high", "type": "query alert", - "query": "avg(last_5m):avg:aws.rds.replica_lag{name:*-indexer-apne1-db-read-replica, environment:${var.environment}} > 1", + "query": "avg(last_10m):avg:aws.rds.replica_lag{name:*-indexer-apne1-db-read-replica, environment:${var.environment}} > 2", "message": "This is not an actionable alert. When this alert fires, that means that the RDS read replica lag is high.\n\n${local.monitor_suffix_literal}", "tags": [ "team:${var.team}",