X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/53df63726d26692f68e6582f486859a801e444bd..2887fa9c26cfd4ae6379e2cf4e6c5d50aaa0dd11:/services/keepstore/unix_volume.go diff --git a/services/keepstore/unix_volume.go b/services/keepstore/unix_volume.go index 32628f7294..96f458720d 100644 --- a/services/keepstore/unix_volume.go +++ b/services/keepstore/unix_volume.go @@ -232,9 +232,7 @@ func (v *UnixVolume) Start(vm *volumeMetricsVecs) error { } // Set up prometheus metrics lbls := prometheus.Labels{"device_id": v.DeviceID()} - v.os.stats.opsCounters = vm.opsCounters.MustCurryWith(lbls) - v.os.stats.errCounters = vm.errCounters.MustCurryWith(lbls) - v.os.stats.ioBytes = vm.ioBytes.MustCurryWith(lbls) + v.os.stats.opsCounters, v.os.stats.errCounters, v.os.stats.ioBytes = vm.getCounterVecsFor(lbls) _, err := v.os.Stat(v.Root)