diff --git a/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/peertask/PeerTaskExecutor.java b/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/peertask/PeerTaskExecutor.java index 2653fd6f35..0671791436 100644 --- a/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/peertask/PeerTaskExecutor.java +++ b/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/peertask/PeerTaskExecutor.java @@ -56,39 +56,39 @@ public class PeerTaskExecutor { requestTimer = metricsSystem.createLabelledTimer( BesuMetricCategory.PEERS, - "PeerTaskExecutor:RequestTime", + "request_time", "Time taken to send a request and receive a response", - "className"); + "taskName"); partialSuccessCounter = metricsSystem.createLabelledCounter( BesuMetricCategory.PEERS, - "PeerTaskExecutor:PartialSuccessCounter", + "partial_success_total", "Counter of the number of partial success occurred", - "className"); + "taskName"); timeoutCounter = metricsSystem.createLabelledCounter( BesuMetricCategory.PEERS, - "PeerTaskExecutor:TimeoutCounter", + "timeout_total", "Counter of the number of timeouts occurred", - "className"); + "taskName"); invalidResponseCounter = metricsSystem.createLabelledCounter( BesuMetricCategory.PEERS, - "PeerTaskExecutor:InvalidResponseCounter", + "invalid_response_total", "Counter of the number of invalid responses received", - "className"); + "taskName"); internalExceptionCounter = metricsSystem.createLabelledCounter( BesuMetricCategory.PEERS, - "PeerTaskExecutor:InternalExceptionCounter", + "internal_exception_total", "Counter of the number of internal exceptions occurred", - "className"); + "taskName"); inflightRequestGauge = metricsSystem.createLabelledGauge( BesuMetricCategory.PEERS, - "PeerTaskExecutor:InflightRequestGauge", + "inflight_request_gauge", "Gauge of the number of inflight requests", - "className"); + "taskName"); inflightRequestCountByClassName = new ConcurrentHashMap<>(); }