"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
rcd: fix incorrect prometheus metrics - fixes #4341
Gary Kim763944f67350
diff --git a/fs/accounting/prometheus.go b/fs/accounting/prometheus.goindex 47e9c7594..e34bc0146 100644--- a/fs/accounting/prometheus.go+++ b/fs/accounting/prometheus.go@@ -76,7 +76,7 @@ func (c *RcloneCollector) Describe(ch chan<- *prometheus.Desc) {// Collect is part of the Collector interface: https://godoc.org/github.com/prometheus/client_golang/prometheus#Collectorfunc (c *RcloneCollector) Collect(ch chan<- prometheus.Metric) {- s := GlobalStats()+ s := groups.sum()s.mu.RLock()ch <- prometheus.MustNewConstMetric(c.bytesTransferred, prometheus.CounterValue, float64(s.bytes))