Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

s3 metrics adjust the label

Chris Lu9ab98fa91281
diff --git a/weed/stats/metrics.go b/weed/stats/metrics.go
index bc3cff0d01..a60cda2907 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",