Merge pull request #63 from p2p-org/fix-metric-name

more metrics for grpc executor - fix
This commit is contained in:
Vyacheslav Shebanov
2022-12-05 11:30:57 +02:00
committed by GitHub

View File

@@ -71,7 +71,8 @@ open class GrpcServer(
ExecutorServiceMetrics.monitor(
Metrics.globalRegistry,
Executors.newFixedThreadPool(20, ThreadFactoryBuilder().setNameFormat("fixed-grpc-%d").build()),
"fixed-grpc-executor"
"fixed-grpc-executor",
"grpc_"
)
)