mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
Merge pull request #106306 from pawbana/change_bucketing_for_request_latency_metric
Changed buckets for apiserver_request_duration_seconds metric
This commit is contained in:
commit
b817efb042
@ -103,8 +103,8 @@ var (
|
|||||||
// This metric is used for verifying api call latencies SLO,
|
// This metric is used for verifying api call latencies SLO,
|
||||||
// as well as tracking regressions in this aspects.
|
// as well as tracking regressions in this aspects.
|
||||||
// Thus we customize buckets significantly, to empower both usecases.
|
// Thus we customize buckets significantly, to empower both usecases.
|
||||||
Buckets: []float64{0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0,
|
Buckets: []float64{0.05, 0.1, 0.2, 0.4, 0.6, 0.8, 1.0, 1.25, 1.5, 2, 3,
|
||||||
1.25, 1.5, 1.75, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30, 40, 50, 60},
|
4, 5, 6, 8, 10, 15, 20, 30, 45, 60},
|
||||||
StabilityLevel: compbasemetrics.STABLE,
|
StabilityLevel: compbasemetrics.STABLE,
|
||||||
},
|
},
|
||||||
[]string{"verb", "dry_run", "group", "version", "resource", "subresource", "scope", "component"},
|
[]string{"verb", "dry_run", "group", "version", "resource", "subresource", "scope", "component"},
|
||||||
|
@ -141,40 +141,24 @@
|
|||||||
buckets:
|
buckets:
|
||||||
- 0.05
|
- 0.05
|
||||||
- 0.1
|
- 0.1
|
||||||
- 0.15
|
|
||||||
- 0.2
|
- 0.2
|
||||||
- 0.25
|
|
||||||
- 0.3
|
|
||||||
- 0.35
|
|
||||||
- 0.4
|
- 0.4
|
||||||
- 0.45
|
|
||||||
- 0.5
|
|
||||||
- 0.6
|
- 0.6
|
||||||
- 0.7
|
|
||||||
- 0.8
|
- 0.8
|
||||||
- 0.9
|
|
||||||
- 1
|
- 1
|
||||||
- 1.25
|
- 1.25
|
||||||
- 1.5
|
- 1.5
|
||||||
- 1.75
|
|
||||||
- 2
|
- 2
|
||||||
- 2.5
|
|
||||||
- 3
|
- 3
|
||||||
- 3.5
|
|
||||||
- 4
|
- 4
|
||||||
- 4.5
|
|
||||||
- 5
|
- 5
|
||||||
- 6
|
- 6
|
||||||
- 7
|
|
||||||
- 8
|
- 8
|
||||||
- 9
|
|
||||||
- 10
|
- 10
|
||||||
- 15
|
- 15
|
||||||
- 20
|
- 20
|
||||||
- 25
|
|
||||||
- 30
|
- 30
|
||||||
- 40
|
- 45
|
||||||
- 50
|
|
||||||
- 60
|
- 60
|
||||||
- name: apiserver_request_total
|
- name: apiserver_request_total
|
||||||
help: Counter of apiserver requests broken out for each verb, dry run value, group,
|
help: Counter of apiserver requests broken out for each verb, dry run value, group,
|
||||||
|
Loading…
Reference in New Issue
Block a user