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

@@ -117,7 +117,7 @@ func (v *Volume) load(alsoLoadIndex bool, createDatIfMissing bool, needleMapKind
}
}
stats.VolumeServerVolumeCounter.Inc()
stats.VolumeServerVolumeCounter.WithLabelValues(v.Collection, "volume").Inc()
return e
}