update Federator.ai Recommended Monitor
"name": "Long Latency in Kafka Queue",
"type": "query alert",
"query": "avg(last_4h):anomalies(( ( sum:kafka.consumer_lag{*} by {kube_cluster,consumer_group,topic} / sum:federatorai.kafka.consumer_offset_rate{*} by {kube_cluster,consumer_group,topic} ) / sum:datadog.agent.running{*} by {kube_cluster} ) * 60 * 1000, 'basic', 2, direction='above', alert_window='last_15m', interval=60, count_default_zero='true') >= 1",
- "message": "Messages in Kafka topic takes longer than usual time to be processed.",
+ "message": "Messages in the Kafka topic takes longer than the usual time to be processed.",
"tags": [],
"options": {
"notify_audit": false,
"trigger_window": "last_15m",
"recovery_window": "last_15m"
}
+ },
+ "recommended_monitor_metadata": {
+ "description": "Notify your team when messages in the Kafka topic takes longer than the usual time to be processed."
}
}
