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

@@ -201,7 +201,7 @@ func (v *Volume) load(alsoLoadIndex bool, createDatIfMissing bool, needleMapKind
}
}
stats.VolumeServerVolumeCounter.WithLabelValues(v.Collection, "volume").Inc()
stats.VolumeServerVolumeGauge.WithLabelValues(v.Collection, "volume").Inc()
if err == nil {
hasLoadedVolume = true