-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log rate limited IPs #37
Comments
Good q -- we don't currently emit logs when a rate limit has been reached. What would you like to have, specifically? cf. Line 200 in 89a7fec
|
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?
The text was updated successfully, but these errors were encountered: