@@ -71,7 +71,8 @@ To activate an application through the Azure CLI, use the following steps.
71
71
--env APPDYNAMICS_AGENT_APPLICATION_NAME=<your-app-name> \
72
72
APPDYNAMICS_AGENT_ACCOUNT_ACCESS_KEY=<your-agent-access-key> \
73
73
APPDYNAMICS_AGENT_ACCOUNT_NAME=<your-agent-account-name> \
74
- APPDYNAMICS_AGENT_NODE_NAME=<your-agent-node-name> \
74
+ APPDYNAMICS_JAVA_AGENT_REUSE_NODE_NAME=true \
75
+ APPDYNAMICS_JAVA_AGENT_REUSE_NODE_NAME_PREFIX=<your-agent-node-name> \
75
76
APPDYNAMICS_AGENT_TIER_NAME=<your-agent-tier-name> \
76
77
APPDYNAMICS_CONTROLLER_HOST_NAME=<your-AppDynamics-controller-host-name> \
77
78
APPDYNAMICS_CONTROLLER_SSL_ENABLED=true \
@@ -96,7 +97,7 @@ To activate an application through the Azure portal, use the following steps.
96
97
97
98
1. Select **Configuration** in the left navigation pane to add, update, or delete the environment variables of the application.
98
99
99
- :::image type="content" source="media/how-to-appdynamics-java-agent-monitor/azure-spring-cloud-app-configuration-env .png" alt-text="Azure portal screenshot showing the 'Environment variables' section of the app's Configuration page " lightbox="media/how-to-appdynamics-java-agent-monitor/azure-spring-cloud-app-configuration-env .png":::
100
+ :::image type="content" source="https://user-images.githubusercontent.com/86866/156226614-93603786-7055-42bf-9da6-30c4ade8632c .png" alt-text="Azure portal screenshot showing the 'Environment variables' section of the app's Configuration page " lightbox="https://user-images.githubusercontent.com/86866/156226614-93603786-7055-42bf-9da6-30c4ade8632c .png":::
100
101
101
102
1. Select **General settings** to add, update, or delete the JVM options of the application.
102
103
@@ -119,7 +120,8 @@ resource "azurerm_spring_cloud_java_deployment" "example" {
119
120
"APPDYNAMICS_AGENT_APPLICATION_NAME" : "<your-app-name>",
120
121
"APPDYNAMICS_AGENT_ACCOUNT_ACCESS_KEY" : "<your-agent-access-key>",
121
122
"APPDYNAMICS_AGENT_ACCOUNT_NAME" : "<your-agent-account-name>",
122
- "APPDYNAMICS_AGENT_NODE_NAME" : "<your-agent-node-name>",
123
+ "APPDYNAMICS_JAVA_AGENT_REUSE_NODE_NAME" : "true",
124
+ "APPDYNAMICS_JAVA_AGENT_REUSE_NODE_NAME_PREFIX" : "<your-agent-node-name>",
123
125
"APPDYNAMICS_AGENT_TIER_NAME" : "<your-agent-tier-name>",
124
126
"APPDYNAMICS_CONTROLLER_HOST_NAME" : "<your-AppDynamics-controller-host-name>",
125
127
"APPDYNAMICS_CONTROLLER_SSL_ENABLED" : "true",
@@ -138,7 +140,8 @@ To configure the environment variables in an ARM template, add the following cod
138
140
"APPDYNAMICS_AGENT_APPLICATION_NAME" : "<your-app-name>",
139
141
"APPDYNAMICS_AGENT_ACCOUNT_ACCESS_KEY" : "<your-agent-access-key>",
140
142
"APPDYNAMICS_AGENT_ACCOUNT_NAME" : "<your-agent-account-name>",
141
- "APPDYNAMICS_AGENT_NODE_NAME" : "<your-agent-node-name>",
143
+ "APPDYNAMICS_JAVA_AGENT_REUSE_NODE_NAME" : "true",
144
+ "APPDYNAMICS_JAVA_AGENT_REUSE_NODE_NAME_PREFIX" : "<your-agent-node-name>",
142
145
"APPDYNAMICS_AGENT_TIER_NAME" : "<your-agent-tier-name>",
143
146
"APPDYNAMICS_CONTROLLER_HOST_NAME" : "<your-AppDynamics-controller-host-name>",
144
147
"APPDYNAMICS_CONTROLLER_SSL_ENABLED" : "true",
0 commit comments