Help with configuring APM elastic agent

Following the opbeans example, this worked for me. The problem with yours looks like accessing what comes after

-jar

Seems to be where the issue is

java -javaagent:elastic-apm-agent-1.26.0.jar -Delastic.apm.service_name=opbeans-java -Delastic.apm.server_urls=https://my-apm.server.com -
Delastic.apm.environment=Development -Delastic.apm.application_packages=co.elastic.apm.opbeans -jar /home/pi/opbeans-java/opbeans/target/opbeans-0.0.1-SNAPSHOT.jar```
1 Like