[#966] node: Add path of the write_cache to metric labels
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
parent
4730ecfdb8
commit
c9efaa5819
4 changed files with 40 additions and 27 deletions
|
@ -29,6 +29,7 @@ type Metrics interface {
|
|||
SetEstimateSize(db, fstree uint64)
|
||||
SetMode(m mode.Mode)
|
||||
SetActualCounters(db, fstree uint64)
|
||||
SetPath(path string)
|
||||
Close()
|
||||
}
|
||||
|
||||
|
@ -38,6 +39,8 @@ type metricsStub struct{}
|
|||
|
||||
func (metricsStub) SetShardID(string) {}
|
||||
|
||||
func (metricsStub) SetPath(string) {}
|
||||
|
||||
func (metricsStub) Get(time.Duration, bool, StorageType) {}
|
||||
|
||||
func (metricsStub) Delete(time.Duration, bool, StorageType) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue