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
@@ -35,7 +35,15 @@ Java Virtual Machine (JVM) metrics are critical for monitoring the health and pe
35
35
36
36
::: zone pivot="azure-portal"
37
37
38
-
TODO: screenshots here
38
+
To make the collection of Java metrics available to your app, you have to create your container app with some specific settings.
39
+
40
+
In the *Create* window, if you select for *Deployment source* the **Container image** option, then you have access to stack-specific features.
41
+
42
+
Under the *Development stack-specific features* and for the *Development stack*, select **Java**.
43
+
44
+
:::image type="content" source="media/java-metrics/azure-container-apps-java-metrics-development-stack.png" alt-text="Screenshot of the Azure portal where you can select Java-specific features for your container app." lightbox="media/java-metrics/azure-container-apps-java-metrics-development-stack.png":::
45
+
46
+
Once you select the Java development stack, the *Customize Java features for your app* window appears. Next to the *Java features* label, select **JVM core metrics**.
39
47
40
48
::: zone-end
41
49
@@ -92,7 +100,17 @@ az containerapp up \
92
100
93
101
## View Java Metrics
94
102
95
-
TODO: some sample screenshots for java metrics
103
+
Use the following steps to view metrics visualizations for your container app.
104
+
105
+
1. Go to the Azure portal.
106
+
107
+
1. Go to your container app.
108
+
109
+
1. Under the *Monitoring* section, select **Metrics**.
110
+
111
+
From there, you're presented with a chart that plots the metrics you're tracking in your application.
112
+
113
+
:::image type="content" source="media/java-metrics/azure-container-apps-java-metrics-visualization.png" alt-text="Screenshot of Java metrics visualization." lightbox="media/java-metrics/azure-container-apps-java-metrics-visualization.png":::
96
114
97
115
You can see Java metric names on Azure Monitor, but the data sets report as empty unless you use the `--enable-java-metrics` parameter to enable Java metrics.
0 commit comments