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 可观测性工程
可观测性和监控之间的调试实践有何不同
|
31
客观性意味着工程师可以找到他们试图解决的具体问题的来源,而不是治疗过去类似问
题的症状。
通过转变为使用客观方法进行诊断,有助于提高整个团队诊断生产环境问题的信心。在
基于监控的系统中,人们需要从一个工具跳到另一个工具,并将它们之间的相关性联系
起来,因为数据是预先汇总的,不支持灵活的探索。如果他们想放大或提出新问题,在
从查看仪表盘转到查看日志时,他们必须在脑海中携带上下文。当从查看日志转到查看
链路时,他们必须再次这样做,然后再跳转回来。鉴于在处理多个数据和真相来源时遇
到的固有的不兼容性和不一致性,这种上下文切换很容易出错,令人筋疲力尽,而且往
往是不可能的。例如,如果你负责绘制应用程序遇到的
TCP/IP
数据包和
HTTP
错误等
单元之间的相关性,或者资源匮乏错误和高内存占用率之间的相关性,那么你的调查可
能存在高度的转换错误,因此随机猜测可能同样有效。
可观测性工具将遥测数据中的高基数、高维度上下文拉到一个位置,研究人员可以在该
位置轻松地进行分割和分解以放大、缩小或跟随“面包屑”来找到最终答案。工程师应
该能够稳定而自信地完成调查,而不受持续语境切换的干扰。此外,通过在一个工具中
保持这种上下文,通常结合经验和惯例知识的隐性理解反而成为关于系统的明确数据。
可观测性允许关键知识从最有经验的工程师的头脑中转移到共享事实中,任何工程师都
可以根据需要进行探索。在本书中,我们将探索可观测性工具的更详细功能,你将看到
如何发挥这些优势。
2.3 结论
基于监控的调试方法( ...
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