mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-23 01:03:32 +08:00
Revert "Revert "Add disk type to prometheus metrics" (#4777)"
This reverts commit 9215ba24be
.
This commit is contained in:
@@ -246,7 +246,7 @@ func (v *Volume) doClose() {
|
||||
glog.Warningf("Volume Close fail to sync volume %d", v.Id)
|
||||
}
|
||||
v.DataBackend = nil
|
||||
stats.VolumeServerVolumeCounter.WithLabelValues(v.Collection, "volume").Dec()
|
||||
stats.VolumeServerVolumeCounter.WithLabelValues(v.Collection, "volume", v.DiskType().ReadableString()).Dec()
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user