diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-06-20 09:56:49 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-06-20 09:56:49 -0700 |
| commit | 3106065b58e6ade8402ef7eb934de3414b46360a (patch) | |
| tree | b8aa6eac78bee7e71c5f34cc2b9d14cf0a00156b /weed/stats/metrics.go | |
| parent | c74dc2b306aec06f4d6ffd343f8ef3f9e4bafa4b (diff) | |
| download | seaweedfs-3106065b58e6ade8402ef7eb934de3414b46360a.tar.xz seaweedfs-3106065b58e6ade8402ef7eb934de3414b46360a.zip | |
fix startup problem with metrics
Diffstat (limited to 'weed/stats/metrics.go')
| -rw-r--r-- | weed/stats/metrics.go | 2 |
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.", }) |
