Adopting observability best practices across an organization is challenging. This book begins with a discussion of how operational monitoring processes widely followed for decades fall short at providing the insights needed for debugging cloud-native, distributed systems in production. The book goes on to show how the Cloud Native Computing Founda
Table of ContentsPart I. The Need for Observability with OpenTelemetry1. The Need for Observability
a. Why Observability Matters
b. Context and Correlation
2. How OpenTelemetry Enables Observability
a. OpenTelemetry’s Mission
b. The Power of Open Standards
c. The Shift In Vendor Added Value
Part II. OpenTelemetry Components and Best Practices
3. OpenTelemetry Fundamentals
a. OpenTelemetry Specification
b. Semantic Conventions
4. Auto-Instrumentation
a. Resource SDK
b. Instrumentation Libraries
5. Context, Baggage, and Propagators
a. Telemetry Context and the Context API
b. Baggage API
c. Cross-Service Context and the Propagators API
6. Tracing
a. What is a Distributed Trace?
b. Tracing API
c. Tracing SDK
d. Trace Context Propagation
7. Metrics
a. Measurements, Metrics and Time Series
b. Metrics API
c. Metrics SDK
8. Logging
a. The Purpose of Logs for Observability
b. Logging API
c. Logging SDK
d. Integrations with Logging Frameworks
9. Protocol and Collector
a. Protocol
b. Collector
10. Sampling and Common Deployment Models
a. Common Deployment Models
b. Trace Sampling
Part III. Rolling out OpenTelemetry Across Your Organisation
11. Maximizing Adoption by Minimizing Friction
a. Investing in Telemetry Enablement
b. Adopting OpenTelemetry
12. Adopting Observability
a. Shifting Debugging Workflows
b. Expanding Context
c. Keeping Telemetry Valuable