Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Cloud-Native Observability with OpenTelemetry
Cloud-Native Observability with OpenTelemetry

Cloud-Native Observability with OpenTelemetry: Learn to gain visibility into systems by combining tracing, metrics, and logging with OpenTelemetry

Arrow left icon
Profile Icon Boten
Arrow right icon
Can$37.99 Can$42.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.8 (8 Ratings)
eBook May 2022 386 pages 1st Edition
eBook
Can$37.99 Can$42.99
Paperback
Can$53.99
Subscription
Free Trial
Arrow left icon
Profile Icon Boten
Arrow right icon
Can$37.99 Can$42.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.8 (8 Ratings)
eBook May 2022 386 pages 1st Edition
eBook
Can$37.99 Can$42.99
Paperback
Can$53.99
Subscription
Free Trial
eBook
Can$37.99 Can$42.99
Paperback
Can$53.99
Subscription
Free Trial

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Cloud-Native Observability with OpenTelemetry

Chapter 1: The History and Concepts of Observability

The term observability has only been around in the software industry for a short time, but the concepts and goals it represents have been around for much longer. Indeed, ever since the earliest days of computing, programmers have been trying to answer the question: is the system doing what I think it should be?

For some, observability consists of buying a one-size-fits-all solution that includes logs, metrics, and traces, then configuring some off-the-shelf integrations and calling it a day. These tools can be used to increase visibility into a piece of software's behavior by providing mechanisms to produce and collect telemetry. The following are some examples of telemetry that can be added to a system:

  • Keeping a count of the number of requests received
  • Adding a log entry when an event occurs
  • Recording a value for current memory consumption on a machine
  • Tracing a request from a client all the way to a backend service

However, producing high-quality telemetry is only one part of the observability challenge. The other part is ensuring that events occurring across the different types of telemetry can be correlated in meaningful ways during analysis. The goal of observability is to answer questions that you may have about the system:

  • If a problem occurred in production, what evidence would you have to be able to identify it?
  • Why is this service suddenly overwhelmed when it was fine just a minute ago?
  • If a specific condition from a client triggers an anomaly in some underlying service, would you know it without customers or support calling you?

These are some of the questions that the domain of observability can help answer. Observability is about empowering the people who build and operate distributed applications to understand their code's behavior while running in production. In this chapter, we will explore the following:

  • Understanding cloud-native applications
  • Looking at the shift to DevOps
  • Reviewing the history of observability
  • Understanding the history of OpenTelemetry
  • Understanding the concepts of OpenTelemetry

Before we begin looking at the history of observability, it's important to understand the changes in the software industry that have led to the need for observability in the first place. Let's start with the shift to the cloud.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • 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

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.

Who is this book 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.

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

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : May 04, 2022
Length: 386 pages
Edition : 1st
Language : English
ISBN-13 : 9781801071901

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : May 04, 2022
Length: 386 pages
Edition : 1st
Language : English
ISBN-13 : 9781801071901

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just Can$6 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just Can$6 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total Can$ 233.97
Managing Kubernetes Resources Using Helm
Can$65.99
Cloud-Native Observability with OpenTelemetry
Can$53.99
Solutions Architect's Handbook
Can$113.99
Total Can$ 233.97 Stars icon

Table of Contents

16 Chapters
Section 1: The Basics Chevron down icon Chevron up icon
Chapter 1: The History and Concepts of Observability Chevron down icon Chevron up icon
Chapter 2: OpenTelemetry Signals – Traces, Metrics, and Logs Chevron down icon Chevron up icon
Chapter 3: Auto-Instrumentation Chevron down icon Chevron up icon
Section 2: Instrumenting an Application Chevron down icon Chevron up icon
Chapter 4: Distributed Tracing – Tracing Code Execution Chevron down icon Chevron up icon
Chapter 5: Metrics – Recording Measurements Chevron down icon Chevron up icon
Chapter 6: Logging – Capturing Events Chevron down icon Chevron up icon
Chapter 7: Instrumentation Libraries Chevron down icon Chevron up icon
Section 3: Using Telemetry Data Chevron down icon Chevron up icon
Chapter 8: OpenTelemetry Collector Chevron down icon Chevron up icon
Chapter 9: Deploying the Collector Chevron down icon Chevron up icon
Chapter 10: Configuring Backends Chevron down icon Chevron up icon
Chapter 11: Diagnosing Problems Chevron down icon Chevron up icon
Chapter 12: Sampling Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.8
(8 Ratings)
5 star 75%
4 star 25%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Sean Spencer Jun 13, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Before reading this book, I had tried to get involved in the OpenTelemetry project, both as a user and as a contributor, but I never really had a picture or mental model for what all the manifold pieces were really doing or what they were there for.This book brings that mental model to the fore, moreso than any other documentation or resource I've found so far. Truly indispensable.
Amazon Verified review Amazon
Phillip Carter May 31, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I really enjoyed the book overall. If you're new to OpenTelemetry and you're trying to use it to get Observability into your systems, get this book right now!The book covers all of the essentials: the main concepts, how to set up tracing/metrics/logs with the SDK, best practices for generating data, setting up and using different features of the OpenTelemetry Collector, strategies for deploying the collector in production, and an overview of Sampling strategies. In time, the OpenTelemetry documentation may be comprehensive enough to obviate the contents of this book. But until then, get this book! It might take a while before that happens.The highlights for me were:* The succinct yet complete overview of the OpenTelemetry collector* Best practices around generating telemetry data (in particular, how to set up Resources and what kinds of stuff you'd like to capture)* Really all of Section 2* Overview of the different major concepts (tracing/metrics/logs signals, semantic conventions, etc.)The areas I felt could improve:* Spending time on history of the project felt unnecessary to me, even though I can see why it would be added. As someone who came into OpenTelemetry and Observability in Summer of 2021, I feel like the only thing I need to know is that there's some legacy stuff called OpenTracing and OpenCensus and if I run into it, OpenTelemetry lets me interoperate with it. But otherwise, I'd rather not spend time learning about these older projects when I'm looking to learn OpenTelemetry instead* Second 2 had several chapters showing manual instrumentation, and had a sort of coup de grace with the autoinstrumentation. I can understand why that particular decision was made, but I feel like it could have also been inverted: lead with autoinstrumentation and how powerful it is, then enrich what's generated on my behalf. This is perhaps more of a philosophical point than anything else.I've been working in and around OpenTelemetry since Fall 2021, and it's been difficult to comprehend due to its vastness and lack of documentation. This book was very helpful, and I learned a lot from it, even though I've been contributing to OpenTelemetry for a few months.I'll reiterate my first point: if you are new to OpenTelemetry and you're trying to use it, get this book now! You won't find a better, more comprehensive guide.
Amazon Verified review Amazon
Ocelotl May 23, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Great book! Clearly written, will help anyone who is interested in OpenTelemetry get up and running. Experienced users will also enjoy the detailed explanations on how the standard works at a higher level.
Amazon Verified review Amazon
Matt W May 10, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
OpenTelemetry is becoming the go-to standard for open source, vendor neutral observability. The vast ecosystem of tools is both powerful and flexible once you can get past the learning curve. This is the most up to date and comprehensive book on the topic and it will prepare you with all the knowledge you need to put OpenTelemetry to use in your organization.
Amazon Verified review Amazon
Peter May 10, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book has a good primer on how the industry has reached the point it has with telemetry and tracing. Then dives into the specifics of open telemetry. If you're just getting started, I think this is a good place to start.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.