Set up the Agentedit
There are three different ways to set up the Elastic APM Java Agent:
-
Manual setup with
-javaagent
flag
Manually set up and configure the agent with the-javaagent
JVM flag. -
Automatic setup with
apm-agent-attach-cli.jar
Automatically set up the agent without needing to alter the configuration of your application server. -
Programmatic API setup to self-attach
Use theapm-agent-attach
artifact and theattach
API to set up the agent.
Configurationedit
Once you’ve set up the Agent, see the configuration guide on how to configure Elastic APM.
SSL/TLS communication with APM Serveredit
If SSL/TLS communication is enabled on the APM Server, make sure to check out the SSL setup guide.
Monitoring AWS Lambda Functions (Experimental)edit
Learn how to set up AWS Lambda functions tracing in our Lambda setup guide.
Supported technologiesedit
Please check supported technologies for details on if the Elastic APM agent supports auto-instrumentation of the technologies your application is using.