Tracing (APM) using Elastic Cloud
- Tracing (APM) traces the code executions when the application is in use.
-
Navigate to elastic cloud and open APM
- Lets enable tracing/apm for java application Refer Here
- How to trace

- The command is
java -javaagent:./elastic-apm-agent-1.35.0.jar \
-Delastic.apm.service_name=my-application \
-Delastic.apm.server_urls=https://ff7e60b3213f44b4ae11fa6ceb924fa4.apm.us-central1.gcp.cloud.es.io:443 \
-Delastic.apm.secret_token=Sr3LnxGhNFjY0k3zJh \
-Delastic.apm.environment=production \
-Delastic.apm.application_packages=org.spring \
-jar spring-petclinic-2.4.2.jar
- Tracing in other languages might need some code chagnes.

