private void sendLatencyReport() {
    sendMessage(
        webSocket,
        new EthStatsRequest(
            LATENCY,
            ImmutableLatencyReport.of(
                enodeURL.getNodeId().toHexString(),
                String.valueOf(System.currentTimeMillis() - pingTimestamp))));
  }
Sends a latency report to the ethstats server
ethereum/ethstats/src/main/java/org/hyperledger/besu/ethstats/EthStatsService.java