From 379479fcc4d4590ed9ae59f1c3222b687971c747 Mon Sep 17 00:00:00 2001 From: Maxksim Fomenkov Date: Wed, 7 Sep 2022 21:23:02 +0300 Subject: [PATCH] fix metric name --- src/main/kotlin/io/emeraldpay/dshackle/rpc/BlockchainRpc.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/io/emeraldpay/dshackle/rpc/BlockchainRpc.kt b/src/main/kotlin/io/emeraldpay/dshackle/rpc/BlockchainRpc.kt index ff8ca66a..10e7f108 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/rpc/BlockchainRpc.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/rpc/BlockchainRpc.kt @@ -283,7 +283,7 @@ class BlockchainRpc( .tag("method", method) .publishPercentileHistogram() .register(Metrics.globalRegistry) - val nativeItemResponseErr = Counter.builder("request.grpc.native.request") + val nativeItemResponseErr = Counter.builder("request.grpc.native.request.err") .tag("chain", chain.chainCode) .tag("method", method) .register(Metrics.globalRegistry)