forked from TrueCloudLab/frostfs-node
[#735] policer: Register metrics
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>dump-police
parent
3a997d1207
commit
d5c10612f4
|
@ -260,6 +260,7 @@ func addPolicer(c *cfg, keyStorage *util.KeyStorage, clientConstructor *cache.Cl
|
||||||
}),
|
}),
|
||||||
policer.WithMaxCapacity(c.cfgObject.pool.replicatorPoolSize),
|
policer.WithMaxCapacity(c.cfgObject.pool.replicatorPoolSize),
|
||||||
policer.WithPool(c.cfgObject.pool.replication),
|
policer.WithPool(c.cfgObject.pool.replication),
|
||||||
|
policer.WithMetrics(c.metricsCollector.PolicerMetrics()),
|
||||||
)
|
)
|
||||||
|
|
||||||
c.workers = append(c.workers, worker{
|
c.workers = append(c.workers, worker{
|
||||||
|
|
Loading…
Reference in New Issue