forked from TrueCloudLab/frostfs-node
[#370] Add tree service metrics
Signed-off-by: Alejandro Lopez <a.lopez@yadro.com>
This commit is contained in:
parent
f2e5dead7e
commit
bc34fee6a7
9 changed files with 117 additions and 3 deletions
|
@ -46,6 +46,7 @@ func New(opts ...Option) *Service {
|
|||
s.replicatorChannelCapacity = defaultReplicatorCapacity
|
||||
s.replicatorWorkerCount = defaultReplicatorWorkerCount
|
||||
s.replicatorTimeout = defaultReplicatorSendTimeout
|
||||
s.metrics = defaultMetricsRegister{}
|
||||
|
||||
for i := range opts {
|
||||
opts[i](&s.cfg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue