update doc

gh-pages
hengyunabc
parent 7d17fd3baf
commit a12f090ab7

@ -17,7 +17,7 @@ Arthas Spring Boot Starter
应用启动后spring会启动arthas并且attach自身进程。
> 一键创建包含 Arthas Spring Boot Starter 的工程:<a href="http://start.aliyun.com/bootstrap.html/#!dependencies=arthas" target="_blank">点击</a>
> 一键创建包含 Arthas Spring Boot Starter 的工程:<a href="https://start.aliyun.com/bootstrap.html/#!dependencies=arthas" target="_blank">点击</a>
### 配置属性

@ -55,7 +55,7 @@ as.sh --tunnel-server 'ws://127.0.0.1:7777/ws'
也可以使用下面的测试地址(不保证一直可用):
```bash
as.sh --tunnel-server 'ws://47.75.156.201:7777/ws'
as.sh --tunnel-server 'ws://47.75.156.201:80/ws'
```
* 如果有特殊需求,可以通过`--agent-id`参数里指定agentId。默认情况下会生成随机ID。
@ -87,11 +87,11 @@ id URJZ5L48RPBR2ALI5K4V
JAVA_PID 86183
SESSION_ID f7273eb5-e7b0-4a00-bc5b-3fe55d741882
AGENT_ID URJZ5L48RPBR2ALI5K4V
TUNNEL_SERVER ws://47.75.156.201:7777/ws
TUNNEL_SERVER ws://47.75.156.201:80/ws
```
以上面的为例,在浏览器里访问 [http://47.75.156.201:8080/](http://47.75.156.201:8080/) ,输入 `agentId`就可以连接到本机上的arthas了。
以上面的为例,在浏览器里访问 [http://47.75.156.201/arthas/?port=80](http://47.75.156.201/arthas/?port=80) ,输入 `agentId`就可以连接到本机上的arthas了。
![](_static/arthas-tunnel-server.png)

@ -51,7 +51,7 @@ as.sh --tunnel-server 'ws://127.0.0.1:7777/ws'
You can also use the following test address (not guaranteed to be available all the time):
```bash
as.sh --tunnel-server 'ws://47.75.156.201:7777/ws'
as.sh --tunnel-server 'ws://47.75.156.201:80/ws'
```
* You can specify the agentId by the `--agent-id` parameter. By default, a random ID is generated.
@ -83,11 +83,11 @@ If the connection is not connected to the tunnel server at startup, you can also
JAVA_PID 86183
SESSION_ID f7273eb5-e7b0-4a00-bc5b-3fe55d741882
AGENT_ID URJZ5L48RPBR2ALI5K4V
TUNNEL_SERVER ws://47.75.156.201:7777/ws
TUNNEL_SERVER ws://47.75.156.201:80/ws
```
For the above example, go to [http://47.75.156.201:8080/](http://47.75.156.201:8080/) in the browser and input the `agentId` to connect to arthas on remote machine.
For the above example, go to [http://47.75.156.201/arthas/?port=80](http://47.75.156.201/arthas/?port=80) in the browser and input the `agentId` to connect to arthas on remote machine.
![](_static/arthas-tunnel-server.png)

@ -228,7 +228,7 @@ Using generated security password: f1dca050-3777-48f4-a577-6367e55a78a2</pre>
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">as.sh --tunnel-server &#x27;ws://127.0.0.1:7777/ws&#x27;</pre></div>
</div>
<p>You can also use the following test address (not guaranteed to be available all the time):</p>
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">as.sh --tunnel-server &#x27;ws://47.75.156.201:7777/ws&#x27;</pre></div>
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">as.sh --tunnel-server &#x27;ws://47.75.156.201:80/ws&#x27;</pre></div>
</div>
<ul class="simple">
<li><p>You can specify the agentId by the <code class="docutils literal notranslate"><span class="pre">--agent-id</span></code> parameter. By default, a random ID is generated.</p></li>
@ -254,9 +254,9 @@ id URJZ5L48RPBR2ALI5K4V</pre></div>
JAVA_PID 86183
SESSION_ID f7273eb5-e7b0-4a00-bc5b-3fe55d741882
AGENT_ID URJZ5L48RPBR2ALI5K4V
TUNNEL_SERVER ws://47.75.156.201:7777/ws</pre></div>
TUNNEL_SERVER ws://47.75.156.201:80/ws</pre></div>
</div>
<p>For the above example, go to <a class="reference external" href="http://47.75.156.201:8080/">http://47.75.156.201:8080/</a> in the browser and input the <code class="docutils literal notranslate"><span class="pre">agentId</span></code> to connect to arthas on remote machine.</p>
<p>For the above example, go to <a class="reference external" href="http://47.75.156.201/arthas/?port=80">http://47.75.156.201/arthas/?port=80</a> in the browser and input the <code class="docutils literal notranslate"><span class="pre">agentId</span></code> to connect to arthas on remote machine.</p>
<p><img alt="_images/arthas-tunnel-server.png" src="_images/arthas-tunnel-server.png" /></p>
</div>
<div class="section" id="how-arthas-tunnel-server-works">

File diff suppressed because one or more lines are too long

@ -205,7 +205,7 @@
</div>
<p>应用启动后spring会启动arthas并且attach自身进程。</p>
<blockquote>
<div><p>一键创建包含 Arthas Spring Boot Starter 的工程:<a href="http://start.aliyun.com/bootstrap.html/#!dependencies=arthas" target="_blank">点击</a></p>
<div><p>一键创建包含 Arthas Spring Boot Starter 的工程:<a href="https://start.aliyun.com/bootstrap.html/#!dependencies=arthas" target="_blank">点击</a></p>
</div></blockquote>
<div class="section" id="id1">
<h2>配置属性<a class="headerlink" href="#id1" title="永久链接至标题"></a></h2>

@ -232,7 +232,7 @@ Using generated security password: f1dca050-3777-48f4-a577-6367e55a78a2</pre>
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">as.sh --tunnel-server &#x27;ws://127.0.0.1:7777/ws&#x27;</pre></div>
</div>
<p>也可以使用下面的测试地址(不保证一直可用):</p>
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">as.sh --tunnel-server &#x27;ws://47.75.156.201:7777/ws&#x27;</pre></div>
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">as.sh --tunnel-server &#x27;ws://47.75.156.201:80/ws&#x27;</pre></div>
</div>
<ul class="simple">
<li><p>如果有特殊需求,可以通过<code class="docutils literal notranslate"><span class="pre">--agent-id</span></code>参数里指定agentId。默认情况下会生成随机ID。</p></li>
@ -258,9 +258,9 @@ id URJZ5L48RPBR2ALI5K4V</pre></div>
JAVA_PID 86183
SESSION_ID f7273eb5-e7b0-4a00-bc5b-3fe55d741882
AGENT_ID URJZ5L48RPBR2ALI5K4V
TUNNEL_SERVER ws://47.75.156.201:7777/ws</pre></div>
TUNNEL_SERVER ws://47.75.156.201:80/ws</pre></div>
</div>
<p>以上面的为例,在浏览器里访问 <a class="reference external" href="http://47.75.156.201:8080/">http://47.75.156.201:8080/</a> ,输入 <code class="docutils literal notranslate"><span class="pre">agentId</span></code>就可以连接到本机上的arthas了。</p>
<p>以上面的为例,在浏览器里访问 <a class="reference external" href="http://47.75.156.201/arthas/?port=80">http://47.75.156.201/arthas/?port=80</a> ,输入 <code class="docutils literal notranslate"><span class="pre">agentId</span></code>就可以连接到本机上的arthas了。</p>
<p><img alt="_images/arthas-tunnel-server.png" src="_images/arthas-tunnel-server.png" /></p>
</div>
<div class="section" id="id1">

Loading…
Cancel
Save