Export variables reporting throttling information from rate-limit policy
There are ongoing RFC to give clients the capability to throttle calls rate to avoid hitting the capping imposed by rate-limit policies.
A possible way to implement this is to return in the response header 4 variables containing:
- The current limit set by the policy
- Amount of remaining calls before hitting the limit
- Number of seconds to wait before getting the limit reset to the maximum
- Number of seconds to wait before retrying (only when calls are blocked)
Thank you for the feedback.
Claudio Biancalana commented
Very interesting features for supporting reliability and security views
Roberto Polli commented
Providing such informations will help consumers to avoid being throttled and make services more reliable!
It would be highly desirable to prevent Administrators to see users' API keys. This is a mandatory feature, both for security reasons, and to be compliant with the current GDPR laws.