diff --git a/modules/indexer_monitors/precautionary_monitors.tf b/modules/indexer_monitors/precautionary_monitors.tf index b72ca8e2..837a8cc8 100644 --- a/modules/indexer_monitors/precautionary_monitors.tf +++ b/modules/indexer_monitors/precautionary_monitors.tf @@ -118,3 +118,31 @@ resource "datadog_monitor_json" "websocket_stream_destroyed" { } EOF } + +resource "datadog_monitor_json" "stale_compliance_data" { + count = var.environment == "mainnet" ? 1 : 0 + monitor = < 1000", + "message": "Addresses have stale compliance data. Check the two metrics to determine if active or inactive addresses are stale. update-compliance-data.ts roundtable is responsible for updating compliance data.", + "tags": [ + "team:${var.team}", + "env:${var.env_tag}" + ], + "options": { + "thresholds": { + "critical": 1000 + }, + "notify_audit": false, + "include_tags": false, + "notify_no_data": false, + "silenced": {} + }, + "priority": null, + "restricted_roles": null +} +EOF +} \ No newline at end of file