diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-10-01 07:17:47 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-10-01 07:17:47 -0700 |
| commit | 9ab98fa912814686b3035a97b5173c1628fbc0fc (patch) | |
| tree | e0b42e531d18136d9e272258187a305690ee2b4d | |
| parent | f1e879fe7aaeadcf16aa22dde2a155828d3ceaf4 (diff) | |
| download | seaweedfs-2.02.tar.xz seaweedfs-2.02.zip | |
s3 metrics adjust the label2.02
| -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 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", |
