forked from TrueCloudLab/frostfs-node
[#1367] writecache: Drop DB label from metrics
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
25d2ae8aaf
commit
3b236160a6
3 changed files with 10 additions and 12 deletions
|
@ -26,9 +26,9 @@ type Metrics interface {
|
|||
Flush(success bool, st StorageType)
|
||||
Evict(st StorageType)
|
||||
|
||||
SetEstimateSize(db, fstree uint64)
|
||||
SetEstimateSize(uint64)
|
||||
SetMode(m mode.ComponentMode)
|
||||
SetActualCounters(db, fstree uint64)
|
||||
SetActualCounters(uint64)
|
||||
SetPath(path string)
|
||||
Close()
|
||||
}
|
||||
|
@ -47,11 +47,11 @@ func (metricsStub) Delete(time.Duration, bool, StorageType) {}
|
|||
|
||||
func (metricsStub) Put(time.Duration, bool, StorageType) {}
|
||||
|
||||
func (metricsStub) SetEstimateSize(uint64, uint64) {}
|
||||
func (metricsStub) SetEstimateSize(uint64) {}
|
||||
|
||||
func (metricsStub) SetMode(mode.ComponentMode) {}
|
||||
|
||||
func (metricsStub) SetActualCounters(uint64, uint64) {}
|
||||
func (metricsStub) SetActualCounters(uint64) {}
|
||||
|
||||
func (metricsStub) Flush(bool, StorageType) {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue