Skip to content
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

fix(kuma-cp) remove insight update rate limit burst (backport #2825) #2835

Merged
merged 1 commit into from
Sep 25, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Sep 24, 2021

This is an automatic backport of pull request #2825 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

The token burst that is configured for the insight update rate limit
allows the update rate to burst up to 50 times before stabilizing to the
desired rate. This would typically happen when kuma-cp starts up and all
the dataplanes reconnect, which is precisely the time when you want the
rate limit to apply for operational stability.

Signed-off-by: James Peach <james.peach@konghq.com>
(cherry picked from commit 13df4cf)
@mergify mergify bot requested a review from a team as a code owner September 24, 2021 15:09
@codecov-commenter
Copy link

Codecov Report

Merging #2835 (1998ad0) into release-1.3 (723452f) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@               Coverage Diff               @@
##           release-1.3    #2835      +/-   ##
===============================================
+ Coverage        52.12%   52.14%   +0.02%     
===============================================
  Files              881      881              
  Lines            51232    51232              
===============================================
+ Hits             26706    26717      +11     
+ Misses           22407    22394      -13     
- Partials          2119     2121       +2     
Impacted Files Coverage Δ
pkg/insights/components.go 100.00% <100.00%> (ø)
app/kumactl/cmd/root.go 70.68% <0.00%> (-3.45%) ⬇️
pkg/insights/resyncer.go 67.16% <0.00%> (ø)
pkg/xds/generator/direct_access_proxy_generator.go 83.90% <0.00%> (+1.14%) ⬆️
pkg/core/resources/model/rest/resource.go 69.23% <0.00%> (+1.28%) ⬆️
pkg/core/resources/manager/cache.go 81.81% <0.00%> (+2.59%) ⬆️
pkg/core/bootstrap/autoconfig.go 54.46% <0.00%> (+8.03%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 723452f...1998ad0. Read the comment docs.

@jpeach jpeach merged commit 7977acc into release-1.3 Sep 25, 2021
@jpeach jpeach deleted the mergify/bp/release-1.3/pr-2825 branch September 25, 2021 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants