Add metrics for uploaded and deleted s3 objects (#6475)

This commit is contained in:
Hadi Zamani
2025-01-26 09:25:06 +03:30
committed by GitHub
parent be15fee8e7
commit a2330f624b
4 changed files with 24 additions and 1 deletions

View File

@@ -102,6 +102,7 @@ func (s3a *S3ApiServer) PutObjectHandler(w http.ResponseWriter, r *http.Request)
setEtag(w, etag)
}
stats_collect.S3UploadedObjectsCounter.WithLabelValues(bucket).Inc()
writeSuccessResponseEmpty(w, r)
}