metrics with generation

This commit is contained in:
chrislu committed 2025-08-10 16:17:46 -07:00
1 parent 3ef8a9f3b2
commit 3087da07db
9 files changed
+114 -14

No files matched your search

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