Observability First Steps for Java Developers
Published by O'Reilly Media, Inc.
Monitor, analyze, and diagnose application performance with the Java OpenTelemetry API
As applications move to containers and migrate to the cloud, they become ever more complex, and it's increasingly important to monitor, analyze, and diagnose their behavior. Observability is a new way of thinking about monitoring and understanding your applications. It’s supported by a growing range of open source tools and standards—part of the new wave of technologies that modern developers need to go fully cloud native.
Join expert Ben Evans to get a rundown of the general theory behind observability, including the basics of monitoring, metrics, and tracing, and then delve deeper into how to achieve observability in Java using the OpenTelemetry API. You’ll also review other important open source tools for observability, such as Micrometer and Jaeger.
What you’ll learn and how you can apply it
By the end of this live online course, you’ll understand:
- The pillars of observability
- Key concepts in cloud native monitoring and observability
- The existing tools landscape for observability
- The current state and road map of OpenTelemetry
And you’ll be able to:
- Add OpenTelemetry tracing to your own apps
- Deploy automatic instrumentation in your apps
- Set up simple Docker pipelines (e.g., Jaeger) for distributed traces
- Integrate with third-party SaaS tools for observability
This live event is for you because...
- You’re a Java developer deploying apps in containers.
- You work in DevOps with monitoring tools and metrics.
- You want to become a fully cloud native Java developer.
Prerequisites
- Java 8+ dev experience (11+ highly recommended)
- Familiarity with Docker
- Basic understanding of monitoring and metrics concepts
- Experience with distributed tracing (useful but not required)
- Familiarity with Kubernetes (useful but not required)
Recommended preparation:
- Read The Future of Observability with OpenTelemetry (report available November 2021)
- Read Distributed Systems Observability (report)
- Explore Dockerfiles and related materials in the course Github repo (materials available soon; attendees will pull the Dockerfiles and run them at the start of the session)
Recommended follow-up:
- Read Distributed Tracing in Practice (book)
- Read Observability Engineering (book)
Schedule
The time frames are only estimates and may vary according to how the class is progressing.
Introducing Java observability (65 minutes)
- Presentation: Pull and run course Dockerfiles; the history of application performance monitoring; pillars of observability
- Group discussion: Monitoring tools in use today; manual and automatic instrumentation
- Q&A
- Break
Java Instrumentation case study: Micrometer (75 minutes)
- Hands-on exercise: Explore Micrometer for instrumentation
- Presentation: Micrometer data architecture (types, exporters, registry, statistics)
- Group discussion: Statistics and the “why” of data aggregation
- Q&A
- Break
Introduction to OpenTelemetry (60 minutes)
- Presentation: Overview of OpenTelemetry; the Java OpenTelemetry API;
- Group discussion: Comparing the OpenTelemetry API to Micrometer
- Q&A
- Break
OpenTelemetry first steps (50 minutes)
- Presentation: The Collector pipeline; sending OpenTelemetry to SaaS
- Hands-on exercise: Set up a Collector pipeline
The future (20 minutes)
- Presentation: The OpenTelemetry road map
- Q&A
Your Instructor
Benjamin J. Evans
Ben Evans is a Java Champion and Senior Principal Software Engineer at Red Hat. Previously he was Lead Architect for Instrumentation at New Relic, and co-founded jClarity, a performance tools startup acquired by Microsoft. He has also worked as Chief Architect for Listed Derivatives at Deutsche Bank and as Senior Technical Instructor for Morgan Stanley. He served for 6 years on the Java Community Process Executive Committee, helping define new Java standards. Ben is the author of six books, including "Optimizing Java", the new editions of “Java in a Nutshell” and the recently-updated “The Well-Grounded Java Developer” and writes regularly for Oracle's Java Magazine and other industry publications.