count Breaker

count

Trips when the total number of events in a window exceeds a threshold.

How it works

Measures absolute volume. It counts discrete events regardless of value to monitor system throughput or load.

When to use

  • Volume-based rate limiting or DDoS protection.
  • Detecting sudden traffic surges.
  • Protecting system resources from absolute query volume.

When not to use

  • When quality or specific values (latency/error) are the primary concern.
  • When traffic naturally fluctuates and a normalized ratio is preferred.

State explanations

closed

System volume is within handled capacity.

half open

Waiting for a sustained decrease in system volume.

open

Event volume suggests potential resource exhaustion.