mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-11 22:38:53 +01:00
metrics with generation
This commit is contained in:
1 parent
3ef8a9f3b2
commit
3087da07db
9 files changed
+114
-14
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user