Skip to content

Commit

Permalink
Added sub scope
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrobb committed Dec 5, 2019
1 parent c9a6a56 commit 1644a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dbnode/client/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ func (c Configuration) NewAdminClient(
size = *c.AsyncWriteWorkerPoolSize
}

workerPoolInstrumentOpts := iopts.SetMetricsScope(writeRequestScope)
workerPoolInstrumentOpts := iopts.SetMetricsScope(writeRequestScope.SubScope("workerpool"))
workerPoolOpts := xsync.NewPooledWorkerPoolOptions().
SetGrowOnDemand(true).
SetInstrumentOptions(workerPoolInstrumentOpts)
Expand Down

0 comments on commit 1644a68

Please sign in to comment.