Skip to content

Commit 3fea6d9

Browse files
authored
Merge pull request #186096 from YinglueZhang-MS/patch-1
Add How to Dump on The Portal
2 parents 8b910fe + 698869c commit 3fea6d9

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

articles/spring-cloud/how-to-capture-dumps.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,19 @@ az spring-cloud app deployment start-jfr \
7070

7171
The default value for `duration` is 60 seconds.
7272

73+
## Generate a dump using the Azure portal
74+
75+
Use the following steps to generate a heap or thread dump of your app in Azure Spring Cloud.
76+
77+
1. In the Azure portal, navigate to your target app, then select **Troubleshooting**.
78+
2. In the **Troubleshooting** pane, select the app instance and the type of dump you'd like to collect.
79+
3. In the **File path** field, specify the mount path of your persistent storage.
80+
4. Select **Collect**.
81+
7382
## Get your diagnostic files
7483

7584
Navigate to the target file path in your persistent storage and find your dump/JFR. From there, you can download them to your local machine. The name of the generated file will be similar to *`<app-instance>_heapdump_<time-stamp>.hprof`* for the heap dump, *`<app-instance>_threaddump_<time-stamp>.txt`* for the thread dump, and *`<app-instance>_JFR_<time-stamp>.jfr`* for the JFR file.
7685

7786
## Next steps
7887

79-
- [Use the diagnostic settings of JVM options for advanced troubleshooting in Azure Spring Cloud](how-to-dump-jvm-options.md)
88+
* [Use the diagnostic settings of JVM options for advanced troubleshooting in Azure Spring Cloud](how-to-dump-jvm-options.md)

0 commit comments

Comments
 (0)