Loading
docs(rate-limiting): add the new Rate_Limit_Block fields
What does this MR do and why?
Updates the Rate_Limit_Block text in docs/rate-limiting/labkit-cohort-flags.md ("Find the source of a 429") and docs/rate-limiting/README.md.
- gitlab-org/gitlab!265941 (merged) added
remote_ip,path, andmethodto the line. The field table did not list them. - The line is in
auth_json.log(json.subcomponent: auth_json). The text saidauth.log. On EE,Gitlab::AuthLoggerwritesauth_json.log. - One filter on
json.remote_iporjson.pathfinds bothRack_AttackandRate_Limit_Block, butpathdiffers:Rate_Limit_Blockdrops the query string and the relative URL root. - "It is not backported" is no longer true. It now links the open 19.4 and 19.5 backports.
- The sampling text stopped at 8 times the limit. The code logs at every power of two.
- Until gitlab-org/gitlab!266584 (merged) is deployed, Elasticsearch rejects the
Rate_Limit_Blocklines of one group of rules, depending on the index, becauseapplies_tohas two shapes. The field table no longer listsapplies_to, because that MR removes it.
It also corrects the fixed versions in "Audit-event flood and Redis pressure" (gitlab-org/gitlab#631338 (closed)):
- GitLab skipped 19.4.4, so 19.4.5 is the first fixed 19.4 release (backport gitlab-org/gitlab!264557 (merged)).
- The 19.3 backport gitlab-org/gitlab!265823 (merged) is merged. It will ship in 19.3.8, which is not released yet.
- The condition to turn the flags back on is now 19.3.8, 19.4.5, or a later version.
References
- Issue: gitlab-org/gitlab#634755
- GitLab docs MR: gitlab-org/gitlab!266590 (merged)
- Handbook MR: gitlab-com/content-sites/handbook!21802 (merged)
Edited by Hardik Gala