Log when client rate limiter latency is very high at a lower log level#87740
Log when client rate limiter latency is very high at a lower log level#87740k8s-ci-robot merged 1 commit intokubernetes:masterfrom
Conversation
|
Thanks! /lgtm In a followup, can you
Optionally, make a second rate limiter instance for the existing message and promote it to V(2) but not more than once every 10 seconds or something like that. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jennybuckley, lavalamp The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest Review the full test history for this PR. Silence the bot with an |
7 similar comments
|
/retest Review the full test history for this PR. Silence the bot with an |
|
/retest Review the full test history for this PR. Silence the bot with an |
|
/retest Review the full test history for this PR. Silence the bot with an |
|
/retest Review the full test history for this PR. Silence the bot with an |
|
/retest Review the full test history for this PR. Silence the bot with an |
|
/retest Review the full test history for this PR. Silence the bot with an |
|
/retest Review the full test history for this PR. Silence the bot with an |
|
@lavalamp Sure, this one is at v(2) should I make the other instance at v(1) or v(0)? |
|
Yeah, let's try V(0) for the serious warning and V(2) for the less serious
one?
…On Mon, Feb 3, 2020 at 10:24 AM Jennifer Buckley ***@***.***> wrote:
@lavalamp <https://github.com/lavalamp> Sure, this one is at v(2) should
I make the other instance at v(1) or v(0)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#87740?email_source=notifications&email_token=AAE6BFXOB276NFUT5EPUHY3RBBONFA5CNFSM4KOPQCY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKU32FA#issuecomment-581549332>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAE6BFWKLPZLX5KYWROMOGLRBBONFANCNFSM4KOPQCYQ>
.
|
What type of PR is this?:
/kind feature
/priority important-soon
/sig api-machinery
/cc @lavalamp
What this PR does / why we need it:
Currently, high client side rate limiter latency logging only happens when at log level 3, it would be useful to also log this information at lower log levels, but we need to avoid spamming the logs. This PR logs a maximum of once per second whenever the rate limiter latency exceeds 1s.
Does this PR introduce a user-facing change?: