Merge pull request #120597 from machine424/apiserver_storage_objects

clarify the description of the metric apiserver_storage_objects
This commit is contained in:
Kubernetes Prow Robot 2023-09-12 13:34:23 -07:00 committed by GitHub
commit d147da0304
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -69,7 +69,7 @@ var (
objectCounts = compbasemetrics.NewGaugeVec(
&compbasemetrics.GaugeOpts{
Name: "apiserver_storage_objects",
Help: "Number of stored objects at the time of last check split by kind.",
Help: "Number of stored objects at the time of last check split by kind. In case of a fetching error, the value will be -1.",
StabilityLevel: compbasemetrics.STABLE,
},
[]string{"resource"},

View File

@ -320,7 +320,8 @@
- 1e+08
- 1e+09
- name: apiserver_storage_objects
help: Number of stored objects at the time of last check split by kind.
help: Number of stored objects at the time of last check split by kind. In case
of a fetching error, the value will be -1.
type: Gauge
stabilityLevel: STABLE
labels: