diff options
Diffstat (limited to 'weed/filer/stream.go')
| -rw-r--r-- | weed/filer/stream.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/filer/stream.go b/weed/filer/stream.go index eb8f0f3a1..73a2a219c 100644 --- a/weed/filer/stream.go +++ b/weed/filer/stream.go @@ -121,10 +121,10 @@ func StreamContentWithThrottler(masterClient wdclient.HasLookupFileIdFunction, w remaining -= int64(chunkView.ViewSize) stats.FilerRequestHistogram.WithLabelValues("chunkDownload").Observe(time.Since(start).Seconds()) if err != nil { - stats.FilerRequestCounter.WithLabelValues("chunkDownloadError").Inc() + stats.FilerHandlerCounter.WithLabelValues("chunkDownloadError").Inc() return fmt.Errorf("read chunk: %v", err) } - stats.FilerRequestCounter.WithLabelValues("chunkDownload").Inc() + stats.FilerHandlerCounter.WithLabelValues("chunkDownload").Inc() downloadThrottler.MaybeSlowdown(int64(chunkView.ViewSize)) } if remaining > 0 { |
