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 可观测性工程
通过事件分析实现可观测性
|
79
这不仅是因为你现在正在收集的事件数据使你能够调试未知条件。这是你处理探测和调
试行为的方式。
Honeycomb
,我们花了很长时间才弄清楚这一点,即使我们已经构建了自己的可
观测性工具。作为工程师,自然倾向于凭借对系统了解的直觉与经验去处理问题。在
Honeycomb
早期阶段,在我们学会如何摆脱从已知条件调试之前,可观测性帮助我们做
的只是跳到要问的正确的高基数问题上。
如果我们刚发布了一个新的前端功能并且担心性能,我们会问:“它对我们的
CSS
JS
资产大小有多大影响?”刚刚自己编写了工具,我们知道通过计算最大
css_asset_size
js_asset_size
来解决这个问题,然后通过
build_id
分解性能。如果我们担心开始
使用我们服务的新客户,那么我们会问:“他们的查询速度快吗?”然后我们就知道按
team_id
过滤并计算
p95
响应时间。
但是,当你不知道哪里出了问题或从哪里开始查找,并且对可能发生的事情一无所
知时,会发生什么?当你完全不知道调试条件时,你必须改为从第一性原理(
first
principle
)进行调试。
8.2 从第一性原理调试
如前两章所述,第一步是收集遥测数据作为事件。实现可观测性还需要你通过以强大而
客观的方式分析数据来解锁对系统的新理解。可观测性使你能够从第一性原理调试你的
应用程序。
第一性原理是关于系统的基本假设,它不是从另一个假设推导出来的。在哲学中,第一
性原理被定义为认识事物的第一基础。从第一性原理进行调试基本上是为了科学地理解 ...
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