swap name for storage metric for underlying storage db

Change-Id: Ic7cd9bf5ef29d9c51a728ef37c94d77172fbf678

Kubernetes-commit: 3a2d1bab26bfb9e7d887207dec0c51645c7017fe
This commit is contained in:
Han Kang 2022-10-24 15:27:05 -04:00 committed by Kubernetes Publisher
parent 5cbaaacac5
commit e9f139f163
1 changed files with 3 additions and 2 deletions

View File

@ -57,8 +57,9 @@ var (
)
dbTotalSize = compbasemetrics.NewGaugeVec(
&compbasemetrics.GaugeOpts{
Name: "etcd_db_total_size_in_bytes",
Help: "Total size of the etcd database file physically allocated in bytes.",
Subsystem: "apiserver",
Name: "storage_db_total_size_in_bytes",
Help: "Total size of the storage database file physically allocated in bytes.",
StabilityLevel: compbasemetrics.ALPHA,
},
[]string{"endpoint"},