rack / rack-attack

Rack middleware for blocking & throttling
MIT License
5.56k stars 337 forks source link

Observing throttle usage #652

Closed derekargueta closed 7 months ago

derekargueta commented 7 months ago

Is there a way to instrument how much of the throttle quotas get used? As some kind of histogram, i.e. what the 50th percentile usage was, to inform whether the limits could use a little tightening. I'd imagine this getting captured when the period resets.