Skip to content

Commit 4636225

Browse files
update text and add screenshots
1 parent bbda5a0 commit 4636225

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

articles/container-apps/java-metrics.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Java metrics and configuration Azure Container Apps.
44
services: container-apps
55
author: craigshoemaker
66
ms.service: container-apps
7-
ms.date: 04/30/2024
7+
ms.date: 05/10/2024
88
ms.author: cshoe
99
ms.topic: how-to
1010
zone_pivot_groups: container-apps-portal-or-cli
@@ -35,7 +35,15 @@ Java Virtual Machine (JVM) metrics are critical for monitoring the health and pe
3535

3636
::: zone pivot="azure-portal"
3737

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**.
3947

4048
::: zone-end
4149

@@ -92,7 +100,17 @@ az containerapp up \
92100

93101
## View Java Metrics
94102

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":::
96114

97115
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.
98116

36.4 KB
Loading
30.2 KB
Loading

0 commit comments

Comments
 (0)