1 Star 0 Fork 0

zangxueyuan / Cloud-Native-Observability

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Cloud-Native Observability with OpenTelemetry

Cloud-Native Observability with OpenTelemetry

This is the code repository for Cloud-Native Observability with OpenTelemetry, published by Packt.

Learn to gain visibility into systems by combining tracing, metrics, and logging with OpenTelemetry

What is this book about?

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.

This book covers the following exciting features:

  • 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

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

from opentelemetry._metrics import set_meter_provider
from opentelemetry.sdk._metrics import MeterProvider
from opentelemetry.sdk.resources import Resource

def configure_meter_provider():
  provider = MeterProvider(resource=Resource.create())
  set_meter_provider(provider)

if __name__ == "__main__":
  configure_meter_provider()

Following is what you need for this book: 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.

With the following software and hardware list you can run all code files present in the book (Chapter 1-12).

Software and Hardware List

Chapter Software required OS required
1-12 OpenTelemetry for Python 1.9.0+ Windows, Mac OS X, and Linux (Any)
1-12 OpenTelemetry Collector v0.42.0+ Windows, Mac OS X, and Linux (Any)

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Errata

  • Page 29 (Figure 2.1): The port for the legacy-inventory should say 5001
  • Page 55 (Figure 2.5): The bubble between inventory API and inventory store should be labeled 4 instead of 3.

Related products

Get to Know the Author

Alex Boten is a senior staff software engineer at Lightstep and has spent the last 10 years helping organizations adapt to a cloud-native landscape. From building core network infrastructure to mobile client applications and everything in between, Alex has first-hand knowledge of how complex troubleshooting distributed applications is. This led him to the domain of observability and contributing to open source projects in the space. A contributor, approver, and maintainer in several aspects of OpenTelemetry, Alex has helped evolve the project from its early days in 2019 into the massive community effort that it is today. More than anything, Alex loves making sense of the technology around us and sharing his learnings with others.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781801077705

MIT License Copyright (c) 2021 Packt Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Opentelemetry 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/alldevops/Cloud-Native-Observability.git
git@gitee.com:alldevops/Cloud-Native-Observability.git
alldevops
Cloud-Native-Observability
Cloud-Native-Observability
main

搜索帮助