From 86329bbf2be4a8fdf3acdcf58d9fe0b147dbdfd4 Mon Sep 17 00:00:00 2001 From: Konstantin Lebedev Date: Thu, 1 Oct 2020 01:22:38 +0500 Subject: [PATCH] label name is statusCode --- 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 a60cda290..bc3cff0d0 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", "code"}) + }, []string{"type", "statusCode"}) S3RequestHistogram = prometheus.NewHistogramVec( prometheus.HistogramOpts{ Namespace: "SeaweedFS",