diff --git a/alerts.yml b/alerts.yml new file mode 100644 index 0000000000000000000000000000000000000000..85f7dca2e874a947f6897d15b4679de7c9cd0328 --- /dev/null +++ b/alerts.yml @@ -0,0 +1,11 @@ +groups: + - name: KafkaAlerts + rules: + - alert: HighPartitionLag + expr: kafka_topic_partition_lag > 100 + for: 1m + labels: + severity: critical + annotations: + summary: "High partition lag on {{ $labels.topic }}" + description: "Partition lag is {{ $value }} for topic {{ $labels.topic }}." \ No newline at end of file