aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-10-01 07:17:47 -0700
committerChris Lu <chris.lu@gmail.com>2020-10-01 07:17:47 -0700
commit9ab98fa912814686b3035a97b5173c1628fbc0fc (patch)
treee0b42e531d18136d9e272258187a305690ee2b4d
parentf1e879fe7aaeadcf16aa22dde2a155828d3ceaf4 (diff)
downloadseaweedfs-2.02.tar.xz
seaweedfs-2.02.zip
s3 metrics adjust the label2.02
-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 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",