Closed jakanaka closed 8 months ago
Good q -- we don't currently emit logs when a rate limit has been reached.
What would you like to have, specifically?
Good q -- we don't currently emit logs when a rate limit has been reached.
What would you like to have, specifically?
cf.
for me, the time, and the client ip should be enough, it will be even better if it is possible give each ip some sort of reputation based on how frequently it gets rate limited and based on that block that ip for longer time or something, or maybe add how many times it got rate limited
Added in 3d68475 -- let me know if that doesn't work for you!
Does this only log the first time the limit is hit, or on every request after? Could be quite noisy and add pressure if they're hitting fast, no?
Log sampling can be configured to tame eccentric logs. But yeah we don't keep any state as to whether it's a first hit or not.
I want to log which IP's are rate limited with date and stuff. Is it already possible now?