mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
tunnel client report arthas version. #1556
This commit is contained in:
@@ -9,6 +9,12 @@ import java.util.concurrent.CopyOnWriteArrayList;
|
||||
|
||||
/**
|
||||
*
|
||||
* <pre>
|
||||
* * 统一管理 ClassFileTransformer
|
||||
* * 每个增强命令对应一个 Enhancer ,也统一在这里管理
|
||||
* </pre>
|
||||
*
|
||||
* @see com.taobao.arthas.core.advisor.Enhancer
|
||||
* @author hengyunabc 2020-05-18
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -301,6 +301,7 @@ public class ArthasBootstrap {
|
||||
tunnelClient = new TunnelClient();
|
||||
tunnelClient.setId(configure.getAgentId());
|
||||
tunnelClient.setTunnelServerUrl(configure.getTunnelServer());
|
||||
tunnelClient.setVersion(ArthasBanner.version());
|
||||
ChannelFuture channelFuture = tunnelClient.start();
|
||||
channelFuture.await(10, TimeUnit.SECONDS);
|
||||
if(channelFuture.isSuccess()) {
|
||||
|
||||
Reference in New Issue
Block a user