forked from TrueCloudLab/frostfs-node
[#838] metabase: Count user objects
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
f314da4af3
commit
d30ab5f29e
13 changed files with 180 additions and 58 deletions
|
@ -46,10 +46,6 @@ func (m *metricsWithID) IncObjectCounter(objectType string) {
|
|||
m.mw.AddToObjectCounter(m.id, objectType, +1)
|
||||
}
|
||||
|
||||
func (m *metricsWithID) DecObjectCounter(objectType string) {
|
||||
m.mw.AddToObjectCounter(m.id, objectType, -1)
|
||||
}
|
||||
|
||||
func (m *metricsWithID) SetMode(mode mode.Mode) {
|
||||
m.mw.SetMode(m.id, mode)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue