more metrics for grpc executor - fix

This commit is contained in:
a10zn8
2022-12-05 13:22:35 +04:00
parent 0f1383b7f0
commit 0cef32827f

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_"
)
)