There are three different ways to set up the Elastic APM Java Agent:
- Manual setup with
-javaagentflag - Manually set up and configure the agent with the
- Automatic setup with
apm-agent-attach-standalone.jar- Automatically set up the agent without needing to alter the configuration of your application server.
- Programmatic API setup to self-attach - Use the
apm-agent-attachartifact and the
attachAPI to set up the agent.