This is an automated email from the ASF dual-hosted git repository.

albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new b8e953d342a update dump features (#1610)
b8e953d342a is described below

commit b8e953d342a93e592a8d2175089327ee3ad00993
Author: huazhongming <[email protected]>
AuthorDate: Tue Nov 22 16:22:13 2022 +0800

    update dump features (#1610)
    
    Signed-off-by: crazyhzm <[email protected]>
    
    Signed-off-by: crazyhzm <[email protected]>
---
 .../performance/dump.md                            | 36 +++++++++++++++++++---
 1 file changed, 31 insertions(+), 5 deletions(-)

diff --git 
a/content/zh/docs3-v2/java-sdk/advanced-features-and-usage/performance/dump.md 
b/content/zh/docs3-v2/java-sdk/advanced-features-and-usage/performance/dump.md
index 57cbb267674..67ec08a6930 100644
--- 
a/content/zh/docs3-v2/java-sdk/advanced-features-and-usage/performance/dump.md
+++ 
b/content/zh/docs3-v2/java-sdk/advanced-features-and-usage/performance/dump.md
@@ -10,21 +10,47 @@ dubbo 通过 Jstack 自动导出线程堆栈来保留现场,方便排查问题
 
 默认策略
 
-* 导出路径,user.home标识的用户主目录
-* 导出间隔,最短间隔允许每隔10分钟导出一次
+* 导出路径: user.home标识的用户主目录
+* 导出间隔: 最短间隔允许每隔10分钟导出一次
+* 导出开关: 默认打开
 
 ## 使用场景
 当业务线程池满时,我们需要知道线程都在等待哪些资源、条件,以找到系统的瓶颈点或异常点。
 
 ## 使用方式
+### 导出开关控制
+```properties
+# dubbo.properties
+dubbo.application.dump.enable=true
+```
+```xml
+<dubbo:application name="demo-provider" dump-enable="false"/>
+```
+
+```yaml
+dubbo:
+  application:
+    name: dubbo-springboot-demo-provider
+    dump-enable: false
+```
+
+
+
 ### 指定导出路径
+
 ```properties
 # dubbo.properties
 dubbo.application.dump.directory=/tmp
 ```
 
 ```xml
-<dubbo:application ...>
-    <dubbo:parameter key="dump.directory" value="/tmp" />
-</dubbo:application>
+<dubbo:application name="demo-provider" dump-directory="/tmp"/>
 ```
+
+```yaml
+dubbo:
+  application:
+    name: dubbo-springboot-demo-provider
+    dump-directory: /tmp
+```
+

Reply via email to