APM Configuration Help Needed

Hi All,

I have followed the step below for APM configuration,

  1. Download the APM Server Windows zip file from the Download page.
  2. Extract the contents of the zip file into C:\Program Files .
  3. Rename the apm-server-7.1.0-windows directory to APM-Server
  4. Run the ".\install-service-apm-server.ps1"
  5. Configured the credentials in the apm-server.yml config file
  6. Download the agent jar from Maven Central. Do not add the agent as a dependency to your application.
  7. then need to configured the below step:

java -javaagent:/path/to/elastic-apm-agent-.jar
-jar my-application.jar

So where do I add/configure this line for getting the APM feature in kibana console,


This line is an example to how to install an agent on a standalone Java app, assuming that it is packaged in a jar called my-application.jar and has a package called org.example.
If your Java app is running on a servlet container, look for the other setup required for that.
Once you get the -javaagent and other command line options get properly applied to the JVM startup script/command, the agent will automatically trace the stuff listed in the documentation.
Anything not listed there and needed to be traced, can be traced manually by using our APIs.
Good luck.

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.