aboutsummaryrefslogtreecommitdiff
path: root/weed/server/filer_server_handlers_read_dir.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/server/filer_server_handlers_read_dir.go')
-rw-r--r--weed/server/filer_server_handlers_read_dir.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/server/filer_server_handlers_read_dir.go b/weed/server/filer_server_handlers_read_dir.go
index 757b67dc7..0b48a9ae3 100644
--- a/weed/server/filer_server_handlers_read_dir.go
+++ b/weed/server/filer_server_handlers_read_dir.go
@@ -18,7 +18,7 @@ import (
// is empty.
func (fs *FilerServer) listDirectoryHandler(w http.ResponseWriter, r *http.Request) {
- stats.FilerRequestCounter.WithLabelValues("list").Inc()
+ stats.FilerRequestCounter.WithLabelValues(stats.DirList).Inc()
path := r.URL.Path
if strings.HasSuffix(path, "/") && len(path) > 1 {