Since I have added follow option to my jave app to gather and send info to APM , I cannot kill the app with PID and it automatically start again with new pid . Does it relalates to my follow option ? What should I do now ?
JAVA_OPTS="$JAVA_OPTS -javaagent:/usr/agent/elastic-apm-agent.jar -Delastic.apm.service_name=TEST-Delastic.apm.server_url=http://IPAddress:8200 -Delastic.apm.transaction_sample_rate=0.2 -Delastic.apm.metrics_interval=30s -Delastic.apm.capture_body=off -Delastic.apm.capture_headers=false"