[#1658] node: Read metrics from meta on startup

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-08-19 20:24:05 +03:00 committed by fyrchik
parent 745f72fff0
commit 9c7b3ce799
5 changed files with 28 additions and 0 deletions

View file

@ -17,6 +17,7 @@ type MetricRegister interface {
AddSearchDuration(d time.Duration)
AddListObjectsDuration(d time.Duration)
SetObjectCounter(shardID string, v uint64)
AddToObjectCounter(shardID string, delta int)
}