DevOps Classroomnotes 24/Dec/2022

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.
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Customized Social Media Icons from Acurax Digital Marketing Agency

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%