From 1644a683a09930a9ae5e1b5e583e3f576e30d2e3 Mon Sep 17 00:00:00 2001 From: Simon Robb Date: Thu, 5 Dec 2019 12:19:38 -0500 Subject: [PATCH] Added sub scope --- src/dbnode/client/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dbnode/client/config.go b/src/dbnode/client/config.go index 896929f558..ea14f0e639 100644 --- a/src/dbnode/client/config.go +++ b/src/dbnode/client/config.go @@ -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)