There are three different ways to set up the Elastic APM Java Agent:
Manual setup with
Manually set up and configure the agent with the
Automatic setup with
Automatically set up the agent without needing to alter the configuration of your application server.
Programmatic API setup to self-attach
apm-agent-attachartifact and the
attachAPI to set up the agent.
Once you’ve set up the Agent, see the configuration guide on how to configure Elastic APM.
Please check supported technologies for details on if the Elastic APM agent supports auto-instrumentation of the technologies your application is using.