update doc

This commit is contained in:
hengyunabc committed 2020-11-27 11:10:13 +08:00
1 parent 7b15921d6f
commit 70b33fc487
85 files changed
+217 -145

No files matched your search

+7 -1
View File
@@ -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
```
+13 -1
View File
@@ -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.
+3 -1
View File
@@ -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