Guard YC Kafka silence alert window
This commit is contained in:
parent
c0162c7fa3
commit
87d89c22f2
File diff suppressed because one or more lines are too long
@ -30,6 +30,12 @@ spec:
|
|||||||
) == 0
|
) == 0
|
||||||
)
|
)
|
||||||
and on (topic, kafka_instance, source_cluster, cluster)
|
and on (topic, kafka_instance, source_cluster, cluster)
|
||||||
|
(
|
||||||
|
min by (topic, kafka_instance, source_cluster, cluster) (
|
||||||
|
count_over_time(kafka_topic_partition_current_offset{kafka_instance="yc-kafka", cluster="brusnika-stage", topic!~"^__.*"}[12h])
|
||||||
|
) >= 1400
|
||||||
|
)
|
||||||
|
and on (topic, kafka_instance, source_cluster, cluster)
|
||||||
(
|
(
|
||||||
sum by (topic, kafka_instance, source_cluster, cluster) (
|
sum by (topic, kafka_instance, source_cluster, cluster) (
|
||||||
kafka_topic_partitions{kafka_instance="yc-kafka", cluster="brusnika-stage", topic!~"^__.*"}
|
kafka_topic_partitions{kafka_instance="yc-kafka", cluster="brusnika-stage", topic!~"^__.*"}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user