Browse Source

s3 metrics adjust the label

pull/1508/head 2.02
Chris Lu 4 years ago
parent
commit
9ab98fa912
  1. 2
      weed/stats/metrics.go

2
weed/stats/metrics.go

@ -99,7 +99,7 @@ var (
Subsystem: "s3", Subsystem: "s3",
Name: "request_total", Name: "request_total",
Help: "Counter of s3 requests.", Help: "Counter of s3 requests.",
}, []string{"type", "statusCode"})
}, []string{"type", "code"})
S3RequestHistogram = prometheus.NewHistogramVec( S3RequestHistogram = prometheus.NewHistogramVec(
prometheus.HistogramOpts{ prometheus.HistogramOpts{
Namespace: "SeaweedFS", Namespace: "SeaweedFS",

Loading…
Cancel
Save