clickhouse.rules 460 B

12345678910111213
  1. groups:
  2. - name: clickhouse
  3. rules:
  4. - alert: ClickhouseReadOnlyReplicas
  5. #expr: clickhouse_readonly_replica > 0
  6. expr: ClickHouseMetrics_ReadonlyReplica > 0
  7. for: 1m
  8. - alert: ClickhouseReplicationQueue
  9. #expr: clickhouse_replicas_max_queue_size > 5 and deriv(clickhouse_replicas_max_queue_size [10m]) > 0
  10. expr: ClickHouseAsyncMetrics_ReplicasMaxQueueSize > 5 and deriv(ClickHouseAsyncMetrics_ReplicasMaxQueueSize [10m]) > 0
  11. for: 1m