aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Lebedev <lebedev_k@tochka.com>2020-10-01 01:22:38 +0500
committerKonstantin Lebedev <lebedev_k@tochka.com>2020-10-01 01:22:38 +0500
commit86329bbf2be4a8fdf3acdcf58d9fe0b147dbdfd4 (patch)
tree8697b302880b822d795e4e583eff6a9375ffe989
parent68463e92c1aa8dbec2c2bc0151f2c5809f36b131 (diff)
downloadseaweedfs-86329bbf2be4a8fdf3acdcf58d9fe0b147dbdfd4.tar.xz
seaweedfs-86329bbf2be4a8fdf3acdcf58d9fe0b147dbdfd4.zip
label name is statusCode
-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 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",