clarify the description of the metric apiserver_storage_objects

This commit is contained in:
machine424 2023-09-12 11:16:36 +02:00
parent 35199e42a4
commit 084deb7a7c
No known key found for this signature in database
GPG Key ID: A4B001A4FDEE017D
2 changed files with 3 additions and 2 deletions

View File

@ -69,7 +69,7 @@ var (
objectCounts = compbasemetrics.NewGaugeVec( objectCounts = compbasemetrics.NewGaugeVec(
&compbasemetrics.GaugeOpts{ &compbasemetrics.GaugeOpts{
Name: "apiserver_storage_objects", 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, StabilityLevel: compbasemetrics.STABLE,
}, },
[]string{"resource"}, []string{"resource"},

View File

@ -320,7 +320,8 @@
- 1e+08 - 1e+08
- 1e+09 - 1e+09
- name: apiserver_storage_objects - 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 type: Gauge
stabilityLevel: STABLE stabilityLevel: STABLE
labels: labels: