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/container-apps/java-application-performance-management-config.md
+27-26Lines changed: 27 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,42 +8,43 @@ ms.custom: devx-track-azurecli
8
8
ms.topic: tutorial
9
9
ms.date: 11/4/2024
10
10
ms.author: kuzhong
11
+
author: karler
11
12
---
12
13
13
14
# Tutorial: Configure Application Performance Management (APM) Java agent with init-container in Azure Container Apps
14
15
15
-
Apply Java agent and init containers in Azure Container Apps to inject Application Performance Management (APM) solutions without modifying your app image. While you can package the APM plugin in the same image or Dockerfile with your app, it binds the management efforts together, like release and Common Vulnerabilities and Exposures (CVE) mitigation.
16
+
Apply Java agent and init containers in Azure Container Apps to inject Application Performance Management (APM) solutions without modifying your app image. While you can package the APM plugin in the same image or Dockerfile with your app, this binds together management efforts like release and Common Vulnerabilities and Exposures (CVE) mitigation.
16
17
17
18
In this tutorial, you learn how to:
18
19
19
20
> [!div class="checklist"]
20
-
> * Prepare an image to set up Java agent and push to Azure Container Registry
21
-
> * Create a Container Apps environment and a container app as the target Java app
22
-
> * Configure init containers and volume mounts to set up Application Insights integration
21
+
> * Prepare an image to set up Java agent and push to Azure Container Registry.
22
+
> * Create a Container Apps environment and a container app as the target Java app.
23
+
> * Configure init containers and volume mounts to set up Application Insights integration.
23
24
24
25
## Prerequisites
25
26
26
-
-Have an instance of [Application Insights](/azure/azure-monitor/app/app-insights-overview)
27
-
-Have an instance of Azure Container Registry or other container image registries
28
-
-Install [Docker](https://www.docker.com/) to build image
29
-
-Install the latest version of the [Azure CLI](/cli/azure/install-azure-cli)
27
+
-An instance of [Application Insights](/azure/azure-monitor/app/app-insights-overview).
28
+
-An instance of Azure Container Registry or another container image registry.
29
+
-[Docker](https://www.docker.com/), to build an image.
30
+
-The latest version of the [Azure CLI](/cli/azure/install-azure-cli).
30
31
31
32
## Set up the environment
32
33
33
-
The following commands help you define variables and ensure your Container Apps extension is up to date.
34
+
The following steps define environment variables and ensure your Container Apps extension is up to date:
34
35
35
-
1.Set up environment variables used in following commands.
36
+
1.To define environment variables, use the following commands:
36
37
37
38
# [Bash](#tab/bash)
38
39
39
40
```bash
40
-
SUBSCRIPTION_ID="<SUBSCRIPTION_ID>"# Replace with your own Azure subscription ID
1. Push the image to Azure Container Registry or other container image registries.
160
+
1. Push the image to Azure Container Registry or another container image registry by using the following command:
160
161
161
162
# [Bash](#tab/bash)
162
163
@@ -173,7 +174,7 @@ The following commands help you define variables and ensure your Container Apps
173
174
```
174
175
175
176
> [!TIP]
176
-
> You can find related code inthis step from [Azure-Samples/azure-container-apps-java-samples](https://github.com/Azure-Samples/azure-container-apps-java-samples).
177
+
> You can find code relevant to this step in the [Azure Contaier Apps Java Samples](https://github.com/Azure-Samples/azure-container-apps-java-samples) GitHub repo.
177
178
178
179
## Create a Container Apps environment and a Container App as the target Java app
0 commit comments