Revert "Revert "Revert "Add disk type to prometheus metrics" (#4777)""

This reverts commit 567d788928.
This commit is contained in:
chrislu
2023-10-03 08:28:52 -07:00
parent 7540d43ee9
commit 6ebe26a765
5 changed files with 9 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", v.DiskType().ReadableString()).Inc()
stats.VolumeServerVolumeCounter.WithLabelValues(v.Collection, "volume").Inc()
if err == nil {
hasLoadedVolume = true