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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
fix metric names
Konstantin Lebedev9978f54acf3b
diff --git a/weed/server/filer_server_handlers_read.go b/weed/server/filer_server_handlers_read.goindex 5f1338bf9a..43b58a94a6 100644--- a/weed/server/filer_server_handlers_read.go+++ b/weed/server/filer_server_handlers_read.go@@ -162,7 +162,7 @@ func (fs *FilerServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request)if offset+size <= int64(len(entry.Content)) {_, err := writer.Write(entry.Content[offset : offset+size])if err != nil {- stats.FilerRequestCounter.WithLabelValues("write.entryfailed").Inc()+ stats.FilerRequestCounter.WithLabelValues("write.entry.failed").Inc()glog.Errorf("failed to write entry content: %v", err)}return err@@ -174,7 +174,7 @@ func (fs *FilerServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request)Directory: dir,Name: name,}); err != nil {- stats.FilerRequestCounter.WithLabelValues("read.cachefailed").Inc()+ stats.FilerRequestCounter.WithLabelValues("read.cache.failed").Inc()glog.Errorf("CacheRemoteObjectToLocalCluster %s: %v", entry.FullPath, err)return fmt.Errorf("cache %s: %v", entry.FullPath, err)} else {@@ -184,7 +184,7 @@ func (fs *FilerServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request)err = filer.StreamContent(fs.filer.MasterClient, writer, chunks, offset, size)if err != nil {- stats.FilerRequestCounter.WithLabelValues("stream.contentFailed").Inc()+ stats.FilerRequestCounter.WithLabelValues("read.stream.failed").Inc()glog.Errorf("failed to stream content %s: %v", r.URL, err)}return err