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
    Preview
  • Lets enable tracing/apm for java application Refer Here
  • How to trace
    Preview
  • 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.
    Preview

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Wordpress Development Company

Discover more from Direct DevOps from Quality Thought

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

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube