swap name for storage metric for underlying storage db

Change-Id: Ic7cd9bf5ef29d9c51a728ef37c94d77172fbf678
This commit is contained in:
Han Kang 2022-10-24 15:27:05 -04:00
parent 23aaf78a4a
commit 3a2d1bab26

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"},