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
7b15921d6f
commit
70b33fc487
85 files changed
+217
-145
No files matched your search
@@ -8,12 +8,18 @@ The `arthas.properties` file is in the arthas directory.
|
||||
|
||||
## Supported configuration items
|
||||
|
||||
> Note that the configuration must be `camel case`, which is different from the `-` style of spring boot. Only the spring boot application supports both `camel case` and `-` style configuration.
|
||||
|
||||
```
|
||||
#arthas.config.overrideAll=true
|
||||
arthas.telnetPort=3658
|
||||
arthas.httpPort=8563
|
||||
arthas.ip=localhost
|
||||
arthas.ip=127.0.0.1
|
||||
|
||||
# seconds
|
||||
arthas.sessionTimeout=1800
|
||||
|
||||
#arthas.appName=demoapp
|
||||
#arthas.tunnelServer=ws://127.0.0.1:7777/ws
|
||||
#arthas.agentId=mmmmmmyiddddd
|
||||
```
|
||||
|
||||
@@ -75,4 +75,16 @@ public class ArthasAttachExample {
|
||||
}
|
||||
|
||||
}
|
||||
```
|
||||
```
|
||||
|
||||
|
||||
You can also configure properties:
|
||||
|
||||
```java
|
||||
HashMap<String, String> configMap = new HashMap<String, String>();
|
||||
configMap.put("arthas.appName", "demo");
|
||||
configMap.put("arthas.tunnelServer", "ws://127.0.0.1:7777/ws");
|
||||
ArthasAgent.attach(configMap);
|
||||
```
|
||||
|
||||
> Note that the configuration must be `camel case`, which is different from the `-` style of spring boot. Only the spring boot application supports both `camel case` and `-` style configuration.
|
||||
@@ -8,7 +8,9 @@ For example, in streaming computing, Java processes can be started on different
|
||||
|
||||
In this case, Arthas Tunnel Server/Client can be used.
|
||||
|
||||
Reference: [Web Console](web-console.md)
|
||||
Reference:
|
||||
* [Web Console](web-console.md)
|
||||
* [Arthas Spring Boot Starter](spring-boot-starter.md)
|
||||
|
||||
### Download and deploy arthas tunnel server
|
||||
|
||||
|
||||
Reference in new issue
Block a user