mirror of
https://github.com/alibaba/arthas.git
synced 2026-11-21 15:07:19 +00:00
update doc
This commit is contained in:
1 parent
f599c74408
commit
7d17fd3baf
128 files changed
+269
-251
No files matched your search
@@ -17,8 +17,8 @@ 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 的工程:[点击](http://start.aliyun.com/bootstrap.html/#!dependencies=arthas)
|
||||
|
||||
### 配置属性
|
||||
|
||||
|
||||
@@ -34,9 +34,9 @@ java -jar arthas-tunnel-server.jar
|
||||
|
||||
默认情况下,arthas tunnel server的web端口是`8080`,arthas agent连接的端口是`7777`。
|
||||
|
||||
启动之后,可以访问 [http://localhost:8080/](http://localhost:8080/) ,再通过`agentId`连接到已注册的arthas agent上。
|
||||
启动之后,可以访问 [http://127.0.0.1:8080/](http://127.0.0.1:8080/) ,再通过`agentId`连接到已注册的arthas agent上。
|
||||
|
||||
通过Spring Boot的Endpoint,可以查看到具体的连接信息: [http://localhost:8080/actuator/arthas](http://localhost:8080/actuator/arthas) ,登陆用户名是`arthas`,密码在arthas tunnel server的日志里可以找到,比如:
|
||||
通过Spring Boot的Endpoint,可以查看到具体的连接信息: [http://127.0.0.1:8080/actuator/arthas](http://127.0.0.1:8080/actuator/arthas) ,登陆用户名是`arthas`,密码在arthas tunnel server的日志里可以找到,比如:
|
||||
|
||||
```
|
||||
32851 [main] INFO o.s.b.a.s.s.UserDetailsServiceAutoConfiguration
|
||||
@@ -48,6 +48,12 @@ Using generated security password: f1dca050-3777-48f4-a577-6367e55a78a2
|
||||
|
||||
在启动arthas,可以传递`--tunnel-server`参数,比如:
|
||||
|
||||
```bash
|
||||
as.sh --tunnel-server 'ws://127.0.0.1:7777/ws'
|
||||
```
|
||||
|
||||
也可以使用下面的测试地址(不保证一直可用):
|
||||
|
||||
```bash
|
||||
as.sh --tunnel-server 'ws://47.75.156.201:7777/ws'
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user