s3 metrics adjust the label

This commit is contained in:
Chris Lu 2020-10-01 07:17:47 -07:00
parent f1e879fe7a
commit 9ab98fa912

View file

@ -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",