mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
s3 metrics adjust the label
This commit is contained in:
parent
f1e879fe7a
commit
9ab98fa912
|
@ -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…
Reference in a new issue