forked from TrueCloudLab/frostfs-node
[#1174] shard: Update metric `mode_info` on `Init`
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>feat/info_metric
parent
6a39c3d15e
commit
68ac490729
|
@ -484,6 +484,7 @@ func (s *Shard) updateMetrics(ctx context.Context) {
|
|||
s.setContainerObjectsCount(contID.EncodeToString(), logical, count.Logic)
|
||||
s.setContainerObjectsCount(contID.EncodeToString(), user, count.User)
|
||||
}
|
||||
s.cfg.metricsWriter.SetMode(s.info.Mode)
|
||||
}
|
||||
|
||||
// incObjectCounter increment both physical and logical object
|
||||
|
|
Loading…
Reference in New Issue