From 3106065b58e6ade8402ef7eb934de3414b46360a Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 20 Jun 2019 09:56:49 -0700 Subject: [PATCH] fix startup problem with metrics --- weed/stats/metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.", })