- groups:
- - name: clickhouse
- rules:
- - alert: ClickhouseReadOnlyReplicas
- #expr: clickhouse_readonly_replica > 0
- expr: ClickHouseMetrics_ReadonlyReplica > 0
- for: 1m
- - alert: ClickhouseReplicationQueue
- #expr: clickhouse_replicas_max_queue_size > 5 and deriv(clickhouse_replicas_max_queue_size [10m]) > 0
- expr: ClickHouseAsyncMetrics_ReplicasMaxQueueSize > 5 and deriv(ClickHouseAsyncMetrics_ReplicasMaxQueueSize [10m]) > 0
- for: 1m
|