{
"plugin": "savant-datadog-plugin",
"version": "1.0.0",
"agent": {
"name": "savant-datadog-plugin",
"description": "Bridges Datadog alerts into the Savant mesh for automated incident response.",
"port": 4200,
"agent_type": "datadog-plugin"
},
"mesh": {
"url": "http://localhost:3000",
"tenant_id": "acme",
"tenant_secret": "${SAVANT_TENANT_SECRET}"
},
"datadog": {
"api_key": "${DATADOG_API_KEY}",
"app_key": "${DATADOG_APP_KEY}",
"site": "datadoghq.com",
"webhook_token": "${DATADOG_WEBHOOK_TOKEN}"
},
"event_ingestion": {
"webhook_path": "/webhooks/datadog",
"polling_enabled": true,
"monitor_polling_interval_seconds": 30,
"event_polling_interval_seconds": 120
},
"routing_rules": [
{
"match": { "monitor_status": "Alert", "tags_include": ["pager"] },
"action": { "auto_execute": true, "cue_priority": "critical" }
},
{
"match": { "monitor_status": "Warn" },
"action": { "auto_execute": false, "cue_priority": "warning" }
},
{
"match": { "event_type": "monitor.recovered" },
"action": { "log_only": false, "cue_priority": "info" }
}
],
"deduplication": {
"enabled": true,
"window_seconds": 300,
"key_fields": ["monitor_id", "monitor_status"]
},
"tools": {
"enabled": [
"datadog_get_alerts",
"datadog_query_metrics",
"datadog_get_monitor",
"datadog_mute_monitor",
"datadog_unmute_monitor",
"datadog_get_events",
"datadog_get_host_metrics",
"datadog_create_event",
"datadog_get_slo"
]
}
}