Browse Source

label name is statusCode

pull/1502/head
Konstantin Lebedev 4 years ago
parent
commit
86329bbf2b
  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", "code"})
}, []string{"type", "statusCode"})
S3RequestHistogram = prometheus.NewHistogramVec( S3RequestHistogram = prometheus.NewHistogramVec(
prometheus.HistogramOpts{ prometheus.HistogramOpts{
Namespace: "SeaweedFS", Namespace: "SeaweedFS",

Loading…
Cancel
Save