adjust counters

This commit is contained in:
Chris Lu
2019-06-17 21:02:50 -07:00
parent d8ed73926d
commit 115558e5f5
6 changed files with 13 additions and 12 deletions

View File

@@ -103,7 +103,7 @@ func (v *Volume) Close() {
if v.dataFile != nil {
_ = v.dataFile.Close()
v.dataFile = nil
stats.VolumeServerVolumeCounter.Dec()
stats.VolumeServerVolumeCounter.WithLabelValues(v.Collection, "volume").Dec()
}
}