You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/java-standalone-profiler.md
+16-15Lines changed: 16 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,15 +34,16 @@ When a threshold is reached, a profile of the configured type and duration is ga
34
34
> and processes running on the system.
35
35
36
36
The flags that have been disabled are:
37
-
>
38
-
> - jdk.JVMInformation
39
-
> - jdk.InitialSystemProperty
40
-
> - jdk.OSInformation
41
-
> - jdk.InitialEnvironmentVariable
42
-
> - jdk.SystemProcess
43
-
>
44
-
> However, you should review all enabled flags to ensure that profiles do not contain sensitive data.
45
-
> See [Configuring Profile Contents](#configuring-profile-contents) on setting a custom profiler configuration.
37
+
38
+
- jdk.JVMInformation
39
+
- jdk.InitialSystemProperty
40
+
- jdk.OSInformation
41
+
- jdk.InitialEnvironmentVariable
42
+
- jdk.SystemProcess
43
+
44
+
However, you should review all enabled flags to ensure that profiles don't contain sensitive data.
45
+
46
+
See [Configuring Profile Contents](#configuring-profile-contents) on setting a custom profiler configuration.
46
47
47
48
## Prerequisites
48
49
@@ -94,13 +95,13 @@ configuring resource limits that will trigger a profile if breached.
94
95
1. Configure the resource thresholds that will cause a profile to be collected:
95
96
96
97
1. Browse to the Performance -> Profiler section of the Application Insights instance.
97
-
:::image type="content" source="./media/java-standalone-profiling/performance-blade-inline.png" alt-text="Screenshot of the link to open performance blade." lightbox="media/java-standalone-profiling/performance-blade.png":::
98
-
:::image type="content" source="./media/java-standalone-profiling/profiler-button-inline.png" alt-text="Screenshot of the Profiler button from the Performance blade." lightbox="media/java-standalone-profiling/profiler-button.png":::
98
+
:::image type="content" source="./media/java-standalone-profiler/performance-blade.png" alt-text="Screenshot of the link to open performance blade." lightbox="media/java-standalone-profiler/performance-blade.png":::
99
+
:::image type="content" source="./media/java-standalone-profiler/profiler-button.png" alt-text="Screenshot of the Profiler button from the Performance blade." lightbox="media/java-standalone-profiler/profiler-button.png":::
99
100
100
101
2. Select "Triggers"
101
102
102
103
3. Configure the required CPU and Memory thresholds and select Apply.
103
-
:::image type="content" source="./media/java-standalone-profiling/cpu-memory-trigger-settings.png" alt-text="Screenshot of trigger settings pane for C P U and Memory triggers.":::
104
+
:::image type="content" source="./media/java-standalone-profiler/cpu-memory-trigger-settings.png" alt-text="Screenshot of trigger settings pane for CPU and Memory triggers.":::
104
105
105
106
1. Inside the `applicationinsights.json` configuration of your process, enable profiler with the `preview.profiler.enabled` setting:
106
107
```json
@@ -127,7 +128,7 @@ Application Insights instance within the Performance -> Profiler section. From t
127
128
profile can be downloaded, once download the JFR recording file can be opened and analyzed within a
128
129
tool of your choosing, for example JDK Mission Control (JMC).
129
130
130
-
:::image type="content" source="./media/java-standalone-profiling/configure-blade-inline.png" alt-text="Screenshot of profiler page features and settings." lightbox="media/java-standalone-profiling/configure-blade.png":::
131
+
:::image type="content" source="./media/java-standalone-profiler/configure-blade-inline.png" alt-text="Screenshot of profiler page features and settings." lightbox="media/java-standalone-profiler/configure-blade-inline.png":::
131
132
132
133
### Configuration
133
134
@@ -206,10 +207,10 @@ Java Profiling enablement is a free feature with Application Insights. [Azure Mo
206
207
Profiling data collected by the JFR includes: method and execution profiling data, garbage collection data, and lock profiles.
207
208
208
209
### How can I use App Insights Java Profiling and visualize the data?
209
-
Check out Microsoft documentation on "[How to configure the Azure Monitor Application Insights for Java Profiler](https://azure-docs/blob/add-java-profiler-doc/articles/azure-monitor/app/java-standalone-profiling.md#installation)." JFR recording can be viewed and analyzed with your preferred tool, for example [Java Mission Control (JMC)](https://jdk.java.net/jmc/8/).
210
+
JFR recording can be viewed and analyzed with your preferred tool, for example [Java Mission Control (JMC)](https://jdk.java.net/jmc/8/).
210
211
211
212
### Are performance diagnosis and fix recommendations provided with App Insights Java Profiling?
212
-
'Performance diagnostics and recommendations' is a new feature that will be available as Application Insights Java Diagnostics. You may sign up to preview this feature at https://aka.ms/JavaO11y. JFR recording can be viewed with Java Mission Control (JMC).
213
+
'Performance diagnostics and recommendations' is a new feature that will be available as Application Insights Java Diagnostics. You may [sign up](https://aka.ms/JavaO11y) to preview this feature. JFR recording can be viewed with Java Mission Control (JMC).
213
214
214
215
### What's the difference between on-demand and automatic Java Profiling in App Insights?
0 commit comments