OpenTelemetry is a revolution in observability data. Instead of running multiple uncoordinated pipelines, OpenTelemetry provides users with a single integrated stream of data, providing multiple sources of high-quality telemetry data: tracing, metrics, logs, RUM, eBPF, and more. This practical guide shows you how to set up, operate, and troubleshoot the OpenTelemetry observability system.
Authors Austin Parker, head of developer relations at Lightstep and OpenTelemetry Community Maintainer, and Ted Young, cofounder of the OpenTelemetry project, cover every OpenTelemetry component, as well as observability best practices for many popular cloud, platform, and data services such as Kubernetes and AWS Lambda. You'll learn how OpenTelemetry enables OSS libraries and services to provide their own native instrumentation—a first in the industry.
Ideal for application developers, OSS maintainers, operators and infrastructure teams, and managers and team leaders, this book guides you through:
- The principles of modern observability
- All OpenTelemetry components—and how they fit together
- A practical approach to instrumenting platforms and applications
- Methods for installing, operating, and troubleshooting an OpenTelemetry-based observability solution
- Ways to roll out and maintain end-to-end observability across a large organization
- How to write and maintain consistent, high-quality instrumentation without a lot of work
Table of contents
- 1. The State of Modern Observability: A Brief Overview
2. Why Use OpenTelemetry?
- Production Monitoring: The Status Quo
- What Do Developers and Operators Need?
- What Do Businesses and Organizations Need?
- OpenTelemetry: A Unifying Force
- 3. OpenTelemetry Overview
- 4. The OpenTelemetry Architecture
5. Instrumenting Applications: Setting Up the SDK and Instrumentation
- Configuration best practices
- Agents and automated setup
- Installing the SDK
- Attaching resources
- Installing instrumentation
- Instrumenting application code
- Browser and mobile clients
- The complete setup checklist
- Learning from the OpenTelemetry Demo project
- Packaging it all up
6. Instrumenting Libraries
- The importance of libraries
- Why provide native instrumentation?
- Why aren’t libraries already instrumented?
- How OpenTelemetry is designed to support libraries
- Best practices for shared libraries
- Best practices for shared services
- 7. Observing Infrastructure
- About the Authors
- Title: Learning OpenTelemetry
- Release date: February 2024
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781098147181
You might also like
Radar Trends to Watch: September 2023
Read about the latest developments on O'Reilly Media's Radar.
Software development today is embracing events and streaming data, which optimizes not only how technology interacts …
Technology Strategy Patterns
Technologists who want their ideas heard, understood, and funded are often told to speak the language …
The Software Architect Elevator
As the digital economy changes the rules of the game for enterprises, the role of software …