diff --git a/k8s/overlays/cloud/deployment_patch.yaml.template b/k8s/overlays/cloud/deployment_patch.yaml.template index 1f84ad1f..e2e0e0d0 100644 --- a/k8s/overlays/cloud/deployment_patch.yaml.template +++ b/k8s/overlays/cloud/deployment_patch.yaml.template @@ -16,7 +16,7 @@ spec: env: - name: JAVA_TOOL_OPTIONS value: "-javaagent:\"/opt/app/elastic-apm-agent.jar\" - -Delastic.apm.enabled=${COLLECT_LOGS} + -Delastic.apm.enabled=${COLLECT_APM} -Delastic.apm.application_packages=${ELASTIC_APP_PACKAGES} -Delastic.apm.server_urls=${ELASTIC_APM_SERVERS} -Delastic.apm.service_name=${APP_NAME}