aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-06-20 09:56:49 -0700
committerChris Lu <chris.lu@gmail.com>2019-06-20 09:56:49 -0700
commit3106065b58e6ade8402ef7eb934de3414b46360a (patch)
treeb8aa6eac78bee7e71c5f34cc2b9d14cf0a00156b
parentc74dc2b306aec06f4d6ffd343f8ef3f9e4bafa4b (diff)
downloadseaweedfs-3106065b58e6ade8402ef7eb934de3414b46360a.tar.xz
seaweedfs-3106065b58e6ade8402ef7eb934de3414b46360a.zip
fix startup problem with metrics
-rw-r--r--weed/stats/metrics.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/stats/metrics.go b/weed/stats/metrics.go
index 4147fd067..b7f184e87 100644
--- a/weed/stats/metrics.go
+++ b/weed/stats/metrics.go
@@ -60,7 +60,7 @@ var (
prometheus.GaugeOpts{
Namespace: "SeaweedFS",
Subsystem: "volumeServer",
- Name: "volumes",
+ Name: "max_volumes",
Help: "Maximum number of volumes.",
})