[SUPPORT] shard: Update metric mode_info
on Init
#1175
1 changed files with 1 additions and 0 deletions
|
@ -469,6 +469,7 @@ func (s *Shard) updateMetrics(ctx context.Context) {
|
||||||
s.setContainerObjectsCount(contID.EncodeToString(), logical, count.Logic)
|
s.setContainerObjectsCount(contID.EncodeToString(), logical, count.Logic)
|
||||||
s.setContainerObjectsCount(contID.EncodeToString(), user, count.User)
|
s.setContainerObjectsCount(contID.EncodeToString(), user, count.User)
|
||||||
}
|
}
|
||||||
|
s.cfg.metricsWriter.SetMode(s.info.Mode)
|
||||||
}
|
}
|
||||||
|
|
||||||
// incObjectCounter increment both physical and logical object
|
// incObjectCounter increment both physical and logical object
|
||||||
|
|
Loading…
Reference in a new issue