@@ -93,7 +93,7 @@ Before proceeding, you'll need your Elastic APM server connectivity information
93
93
az spring-cloud app deploy \
94
94
--name <your-app-name> \
95
95
--artifact-path <unique-path-to-your-app-jar-on-custom-storage> \
96
- --jvm-options='-javaagent:<agent-location>' \
96
+ --jvm-options='-javaagent:<elastic- agent-location>' \
97
97
--env ELASTIC_APM_SERVICE_NAME=<your-app-name> \
98
98
ELASTIC_APM_APPLICATION_PACKAGES='<your-app-package-name>' \
99
99
ELASTIC_APM_SERVER_URL='<your-Elastic-APM-server-URL>' \
@@ -111,7 +111,7 @@ To configure the environment variables in a Terraform template, add the followin
111
111
``` terraform
112
112
resource "azurerm_spring_cloud_java_deployment" "example" {
113
113
...
114
- jvm_options = "-javaagent:<unique-path-to-your-app-jar-on-custom-storage >"
114
+ jvm_options = "-javaagent:<elastic-agent-location >"
115
115
...
116
116
environment_variables = {
117
117
"ELASTIC_APM_SERVICE_NAME"="<your-app-name>",
@@ -134,7 +134,7 @@ To configure the environment variables in an ARM template, add the following cod
134
134
"ELASTIC_APM_SERVER_URL"="<your-Elastic-APM-server-URL>",
135
135
"ELASTIC_APM_SECRET_TOKEN"="<your-Elastic-APM-secret-token>"
136
136
},
137
- "jvmOptions": "-javaagent:<unique-path-to-your-app-jar-on-custom-storage >",
137
+ "jvmOptions": "-javaagent:<elastic-agent-location >",
138
138
...
139
139
}
140
140
```
0 commit comments