mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 10:19:50 +00:00
Merge pull request #118959 from MikeSpreitzer/fix-118957b
Fix, deprecate apiserver_flowcontrol_request_concurrency_limit
This commit is contained in:
commit
af33d7a5af
@ -223,11 +223,13 @@ var (
|
|||||||
)
|
)
|
||||||
apiserverRequestConcurrencyLimit = compbasemetrics.NewGaugeVec(
|
apiserverRequestConcurrencyLimit = compbasemetrics.NewGaugeVec(
|
||||||
&compbasemetrics.GaugeOpts{
|
&compbasemetrics.GaugeOpts{
|
||||||
Namespace: namespace,
|
Namespace: namespace,
|
||||||
Subsystem: subsystem,
|
Subsystem: subsystem,
|
||||||
Name: "request_concurrency_limit",
|
Name: "request_concurrency_limit",
|
||||||
Help: "Shared concurrency limit in the API Priority and Fairness subsystem",
|
Help: "Nominal number of execution seats configured for each priority level",
|
||||||
StabilityLevel: compbasemetrics.ALPHA,
|
// Remove this metric once all suppported releases have the equal nominal_limit_seats metric
|
||||||
|
DeprecatedVersion: "1.30.0",
|
||||||
|
StabilityLevel: compbasemetrics.ALPHA,
|
||||||
},
|
},
|
||||||
[]string{priorityLevel},
|
[]string{priorityLevel},
|
||||||
)
|
)
|
||||||
@ -253,11 +255,12 @@ var (
|
|||||||
)
|
)
|
||||||
apiserverRequestConcurrencyInUse = compbasemetrics.NewGaugeVec(
|
apiserverRequestConcurrencyInUse = compbasemetrics.NewGaugeVec(
|
||||||
&compbasemetrics.GaugeOpts{
|
&compbasemetrics.GaugeOpts{
|
||||||
Namespace: namespace,
|
Namespace: namespace,
|
||||||
Subsystem: subsystem,
|
Subsystem: subsystem,
|
||||||
Name: "request_concurrency_in_use",
|
Name: "request_concurrency_in_use",
|
||||||
Help: "Concurrency (number of seats) occupied by the currently executing (initial stage for a WATCH, any stage otherwise) requests in the API Priority and Fairness subsystem",
|
Help: "Concurrency (number of seats) occupied by the currently executing (initial stage for a WATCH, any stage otherwise) requests in the API Priority and Fairness subsystem",
|
||||||
DeprecatedVersion: "1.28.0",
|
// Remove this metric once all suppported releases have the equal current_executing_seats metric
|
||||||
|
DeprecatedVersion: "1.31.0",
|
||||||
StabilityLevel: compbasemetrics.ALPHA,
|
StabilityLevel: compbasemetrics.ALPHA,
|
||||||
},
|
},
|
||||||
[]string{priorityLevel, flowSchema},
|
[]string{priorityLevel, flowSchema},
|
||||||
|
Loading…
Reference in New Issue
Block a user