From 0cef32827fd10de3cabc158b133c248a29c54ab0 Mon Sep 17 00:00:00 2001 From: a10zn8 Date: Mon, 5 Dec 2022 13:22:35 +0400 Subject: [PATCH] more metrics for grpc executor - fix --- src/main/kotlin/io/emeraldpay/dshackle/GrpcServer.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/io/emeraldpay/dshackle/GrpcServer.kt b/src/main/kotlin/io/emeraldpay/dshackle/GrpcServer.kt index 65406c21..d7cdfc4a 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/GrpcServer.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/GrpcServer.kt @@ -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_" ) )