From 9ab98fa912814686b3035a97b5173c1628fbc0fc Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 1 Oct 2020 07:17:47 -0700 Subject: [PATCH] s3 metrics adjust the label --- 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 bc3cff0d0..a60cda290 100644 --- a/weed/stats/metrics.go +++ b/weed/stats/metrics.go @@ -99,7 +99,7 @@ var ( Subsystem: "s3", Name: "request_total", Help: "Counter of s3 requests.", - }, []string{"type", "statusCode"}) + }, []string{"type", "code"}) S3RequestHistogram = prometheus.NewHistogramVec( prometheus.HistogramOpts{ Namespace: "SeaweedFS",