shreemaan-abhishek opened a new pull request, #13155:
URL: https://github.com/apache/apisix/pull/13155

   ## Summary
   - Adds a new `rate_limiting_info` nginx variable exposing rate limit state 
as JSON
   - Variable contains: `rate_limiting_key`, `rate_limiting_limit`, 
`rate_limiting_remaining`, `rate_limiting_reset`
   - Accessible in log formats and conditional logic via `$rate_limiting_info`
   - Only backports core files and `limit-count` plugin changes (excludes 
EE-specific `limit-count-advanced`)
   
   Backport from api7/api7-ee-3-gateway#1204.
   
   ## Test plan
   - [x] Route with `limit-count` plugin using `key_type: var` and `key: 
http_host`
   - [x] Access log contains JSON with correct rate limiting key, limit, 
remaining, and reset values
   - [x] All existing limit-count tests continue to pass


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to