I am using the latest ELK stack along with APM. My problem is I want to configure the APM java agent to my spring boot application. Currently I am running the spring boot as init.d service. Does anybody know how to pass
javaagent parameter in .conf file spring boot init.d service. When I pass using JAVA_OPTS variable in the .conf, it didn't detect, the application started normally without any trace of javaagent attaching to the spring application.
The java agent is working fine for me when I run my application jar file from command line