aboutsummaryrefslogtreecommitdiff
path: root/weed/stats/metrics.go
diff options
context:
space:
mode:
authorKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2024-11-25 21:59:11 +0500
committerGitHub <noreply@github.com>2024-11-25 08:59:11 -0800
commit167b50be889f056b31ff2f178079541167e644ed (patch)
treeff87c1720d984592bf3188f6cb73466d390b6169 /weed/stats/metrics.go
parentfd6c787c02aae500b4b513d82501afe3179e6500 (diff)
downloadseaweedfs-167b50be889f056b31ff2f178079541167e644ed.tar.xz
seaweedfs-167b50be889f056b31ff2f178079541167e644ed.zip
fix missing register master metric MasterPickForWriteErrorCounter (#6277)
Diffstat (limited to 'weed/stats/metrics.go')
-rw-r--r--weed/stats/metrics.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/stats/metrics.go b/weed/stats/metrics.go
index 9f84a3e70..c482f19b5 100644
--- a/weed/stats/metrics.go
+++ b/weed/stats/metrics.go
@@ -322,6 +322,7 @@ func init() {
Gather.MustRegister(MasterReplicaPlacementMismatch)
Gather.MustRegister(MasterVolumeLayoutWritable)
Gather.MustRegister(MasterVolumeLayoutCrowded)
+ Gather.MustRegister(MasterPickForWriteErrorCounter)
Gather.MustRegister(MasterBroadcastToFullErrorCounter)
Gather.MustRegister(FilerRequestCounter)