Skip to Content
可观测性工程
book

可观测性工程

by Charity Majors, Liz Fong-Jones, George Miranda
July 2023
Beginner to intermediate
270 pages
4h 48m
Chinese
China Machine Press
Content preview from 可观测性工程
196
|
18
观测而需要做的工作量的组织来说是关键的。强大的遥测管理实践为统一的检测框架奠
定了基础,并创造了一致的开发体验,降低了复杂性和不稳定性,尤其是在从新软件引
入新遥测时。
Slack
,当设想一个理想的遥测系统时,我们通常会寻找这些特征:我们希望流水线
能够收集、路由和丰富来自应用程序和服务的数据流。我们还对作为流的一部分运行的
组件有自己的看法,并且我们提供了一组一致的端点或类库。最后,我们使用规定的通
用事件格式,应用程序可以快速利用该格式实现可观测性。
随着公司的发展,可观测性系统倾向于从应用程序和服务直接向对应的后端生成事件的
简单系统演变为更复杂的架构。如果你发现自己需要更高的安全性、工作负载隔离、保
留要求强制执行或对数据质量有更大程度的控制,那么通过流水线进行的遥测管理可以
帮助你满足这些需求。在更高层次上,流水线由应用程序和后端之间的组件组成,用于
处理和路由可观测性数据。
在本章结束时,你将了解如何及何时设计遥测流水线以及如何处理不断增长的可观测性
数据需求。
18.1 遥测流水线的属性
构建遥测流水线可以通过多种方式为你提供帮助。在本节中,你可以了解到遥测流水线
中常见的属性以及它们如何为你提供帮助。
18.1.1
路由
简单来说,遥测流水线的主要目的是将数据从产生的地方发送到不同的后端,同时集中
管理遥测设备的配置。在源端静态配置这些路由以直接将数据发送到数据存储区通常是
不可取的,因为你通常希望将数据路由到不同的后端,而无须更改应用程序,这在大型
系统中是一种负担。
例如,在遥测流水线中 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

可观察性工程

可观察性工程

Charity Majors, Liz Fong-Jones, George Miranda
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 9787111729099