Skip to content

Commit

Permalink
Merge pull request #99925 from logicalhan/stable-latencies
Browse files Browse the repository at this point in the history
promote apiserver_request_duration_seconds to STABLE
  • Loading branch information
k8s-ci-robot committed Mar 8, 2021
2 parents 8e6c7b5 + 69e3d89 commit 72d9215
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ var (
// 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,
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},
StabilityLevel: compbasemetrics.ALPHA,
StabilityLevel: compbasemetrics.STABLE,
},
[]string{"verb", "dry_run", "group", "version", "resource", "subresource", "scope", "component"},
)
Expand Down
52 changes: 52 additions & 0 deletions test/instrumentation/testdata/stable-metrics-list.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,55 @@
- name: apiserver_request_duration_seconds
help: Response latency distribution in seconds for each verb, dry run value, group,
version, resource, subresource, scope and component.
type: Histogram
stabilityLevel: STABLE
labels:
- component
- dry_run
- group
- resource
- scope
- subresource
- verb
- version
buckets:
- 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
- 1.25
- 1.5
- 1.75
- 2
- 2.5
- 3
- 3.5
- 4
- 4.5
- 5
- 6
- 7
- 8
- 9
- 10
- 15
- 20
- 25
- 30
- 40
- 50
- 60
- name: apiserver_request_total
help: Counter of apiserver requests broken out for each verb, dry run value, group,
version, resource, scope, component, and HTTP response code.
Expand Down

0 comments on commit 72d9215

Please sign in to comment.