rename VolumeServerVolumeGauge (#5504)

This commit is contained in:
steve.wei
2024-04-17 19:49:50 +08:00
committed by GitHub
parent 37019477bc
commit 0bdf121e51
5 changed files with 8 additions and 8 deletions

View File

@@ -124,7 +124,7 @@ func (v *Volume) CommitCompact() error {
}
}
v.DataBackend = nil
stats.VolumeServerVolumeCounter.WithLabelValues(v.Collection, "volume").Dec()
stats.VolumeServerVolumeGauge.WithLabelValues(v.Collection, "volume").Dec()
var e error
if e = v.makeupDiff(v.FileName(".cpd"), v.FileName(".cpx"), v.FileName(".dat"), v.FileName(".idx")); e != nil {