forked from TrueCloudLab/frostfs-node
[#1794] metrics: Track physical object capacity per shard
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
This commit is contained in:
parent
9513f163aa
commit
89a0266f5e
7 changed files with 60 additions and 3 deletions
|
@ -23,6 +23,7 @@ type MetricRegister interface {
|
|||
SetReadonly(shardID string, readonly bool)
|
||||
|
||||
AddToContainerSize(cnrID string, size int64)
|
||||
AddToPayloadCounter(shardID string, size int64)
|
||||
}
|
||||
|
||||
func elapsed(addFunc func(d time.Duration)) func() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue