Book description
Leverage OpenTelemetry's API, libraries, tools and the collector to produce and collect telemetry along with using open-source tools to analyze distributed traces, check metrics and logs, and gain insights into application health
Key Features
- Get to grips with OpenTelemetry, an open-source cloud-native software observability standard
- Use vendor-neutral tools to instrument applications to produce better telemetry and improve observability
- Understand how telemetry data can be correlated and interpreted to understand distributed systems
Book Description
Cloud-Native Observability with OpenTelemetry is a guide to helping you look for answers to questions about your applications. This book teaches you how to produce telemetry from your applications using an open standard to retain control of data. OpenTelemetry provides the tools necessary for you to gain visibility into the performance of your services. It allows you to instrument your application code through vendor-neutral APIs, libraries and tools.
By reading Cloud-Native Observability with OpenTelemetry, you’ll learn about the concepts and signals of OpenTelemetry - traces, metrics, and logs. You’ll practice producing telemetry for these signals by configuring and instrumenting a distributed cloud-native application using the OpenTelemetry API. The book also guides you through deploying the collector, as well as telemetry backends necessary to help you understand what to do with the data once it's emitted. You’ll look at various examples of how to identify application performance issues through telemetry. By analyzing telemetry, you’ll also be able to better understand how an observable application can improve the software development life cycle.
By the end of this book, you’ll be well-versed with OpenTelemetry, be able to instrument services using the OpenTelemetry API to produce distributed traces, metrics and logs, and more.
What you will learn
- Understand the core concepts of OpenTelemetry
- Explore concepts in distributed tracing, metrics, and logging
- Discover the APIs and SDKs necessary to instrument an application using OpenTelemetry
- Explore what auto-instrumentation is and how it can help accelerate application instrumentation
- Configure and deploy the OpenTelemetry Collector
- Get to grips with how different open-source backends can be used to analyze telemetry data
- Understand how to correlate telemetry in common scenarios to get to the root cause of a problem
Who this book is for
This book is for software engineers, library authors, and systems operators looking to better understand their infrastructure, services and applications by leveraging telemetry data like never before. Working knowledge of Python programming is assumed for the example applications that you’ll be building and instrumenting using the OpenTelemetry API and SDK. Some familiarity with Go programming, Linux, and Docker is preferable to help you set up additional components in various examples throughout the book.
Table of contents
- Cloud-Native Observability with OpenTelemetry
- Foreword
- Contributors
- About the author
- About the reviewer
- Preface
- Section 1: The Basics
- Chapter 1: The History and Concepts of Observability
- Chapter 2: OpenTelemetry Signals – Traces, Metrics, and Logs
- Chapter 3: Auto-Instrumentation
- Section 2: Instrumenting an Application
- Chapter 4: Distributed Tracing – Tracing Code Execution
- Chapter 5: Metrics – Recording Measurements
- Chapter 6: Logging – Capturing Events
- Chapter 7: Instrumentation Libraries
- Section 3: Using Telemetry Data
- Chapter 8: OpenTelemetry Collector
- Chapter 9: Deploying the Collector
- Chapter 10: Configuring Backends
- Chapter 11: Diagnosing Problems
- Chapter 12: Sampling
- Other Books You May Enjoy
Product information
- Title: Cloud-Native Observability with OpenTelemetry
- Author(s):
- Release date: May 2022
- Publisher(s): Packt Publishing
- ISBN: 9781801077705
You might also like
book
Learning OpenTelemetry
OpenTelemetry is a revolution in observability data. Instead of running multiple uncoordinated pipelines, OpenTelemetry provides users …
book
Developing Apps with GPT-4 and ChatGPT
This minibook is a comprehensive guide for Python developers who want to learn how to build …
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
book
Grokking Algorithms
Grokking Algorithms is a fully illustrated, friendly guide that teaches you how to apply common algorithms …