7311: Fix MetricsAcceptanceTest

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
pull/7638/head
Matilda Clerke 2 months ago
parent 5c3a61ae77
commit 84488980f5
  1. 2
      ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/peertask/PeerTaskExecutor.java

@ -49,7 +49,7 @@ public class PeerTaskExecutor {
this.protocolSpecSupplier = protocolSpecSupplier;
requestTimer =
metricsSystem.createLabelledTimer(
BesuMetricCategory.PEERS, "Peer Task Executor Request Time", "", "Task Class Name");
BesuMetricCategory.PEERS, "PeerTaskExecutor:RequestTime", "Time taken to send a request", "className");
}
public <T> PeerTaskExecutorResult<T> execute(final PeerTask<T> peerTask) {

Loading…
Cancel
Save