"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
accounting: fix Prometheus metrics to be the same as core/stats
Nick Craig-Wood45255bccb360
diff --git a/fs/accounting/stats.go b/fs/accounting/stats.goindex 358cf4a6f..7e3a07225 100644--- a/fs/accounting/stats.go+++ b/fs/accounting/stats.go@@ -135,13 +135,7 @@ func (s *StatsInfo) RemoteStats() (out rc.Params, err error) {//// Call with lock heldfunc (s *StatsInfo) speed() float64 {- dt := s.totalDuration()- dtSeconds := dt.Seconds()- speed := 0.0- if dt > 0 {- speed = float64(s.bytes) / dtSeconds- }- return speed+ return s.average.speed}// timeRange is a start and end time of a transfer