[#1653] writecache: Add IO tag label to metrics
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
b1c25bd699
commit
27a1f9e509
7 changed files with 29 additions and 24 deletions
|
@ -20,9 +20,9 @@ const (
|
|||
|
||||
type Metrics interface {
|
||||
SetShardID(string)
|
||||
Get(d time.Duration, success bool, st StorageType)
|
||||
Delete(d time.Duration, success bool, st StorageType)
|
||||
Put(d time.Duration, success bool, st StorageType)
|
||||
Get(d time.Duration, success bool, st StorageType, ioTag string)
|
||||
Delete(d time.Duration, success bool, st StorageType, ioTag string)
|
||||
Put(d time.Duration, success bool, st StorageType, ioTag string)
|
||||
Flush(success bool, st StorageType)
|
||||
Evict(st StorageType)
|
||||
|
||||
|
@ -41,11 +41,11 @@ func (metricsStub) SetShardID(string) {}
|
|||
|
||||
func (metricsStub) SetPath(string) {}
|
||||
|
||||
func (metricsStub) Get(time.Duration, bool, StorageType) {}
|
||||
func (metricsStub) Get(time.Duration, bool, StorageType, string) {}
|
||||
|
||||
func (metricsStub) Delete(time.Duration, bool, StorageType) {}
|
||||
func (metricsStub) Delete(time.Duration, bool, StorageType, string) {}
|
||||
|
||||
func (metricsStub) Put(time.Duration, bool, StorageType) {}
|
||||
func (metricsStub) Put(time.Duration, bool, StorageType, string) {}
|
||||
|
||||
func (metricsStub) SetEstimateSize(uint64) {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue