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

api: add per_host_thresholds in CircuitBreakers #5211

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jukie
Copy link
Contributor

@jukie jukie commented Feb 5, 2025

What this PR does / why we need it:
Adds support for configuring per-host circuit breaker limits

Which issue(s) this PR fixes:

Fixes #5210

Release Notes: No

@jukie jukie requested a review from a team as a code owner February 5, 2025 05:58
Copy link

codecov bot commented Feb 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.92%. Comparing base (36fdc0b) to head (6a2a6f3).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5211      +/-   ##
==========================================
+ Coverage   66.87%   66.92%   +0.05%     
==========================================
  Files         210      210              
  Lines       32998    32998              
==========================================
+ Hits        22067    22084      +17     
+ Misses       9592     9577      -15     
+ Partials     1339     1337       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

jukie added 2 commits February 4, 2025 23:14
Signed-off-by: jukie <10012479+Jukie@users.noreply.github.com>
Signed-off-by: jukie <10012479+Jukie@users.noreply.github.com>
@jukie jukie force-pushed the api/per-host-circuit-breaker-thresholds branch from 758a1f3 to 6a2a6f3 Compare February 5, 2025 06:14
// Defines per-host Circuit Breaker thresholds
// +optional
// +notImplementedHide
PerHostThresholds *PerHostCircuitBreakers `json:"perHostThresholds,omitempty"`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be a separate field or something like maxConnectionsPerHost since that's the only field currently supported. In the future could add maxParallelRequestsPerHost, etc as more support is added.

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.

Support per_host_thresholds for Circuit Breakers
1 participant