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 可观测性工程
108
|
11
如果你在用户请求中获取到了更有效的探针细节,你就可以系统性地从任何角度来开始
排查,每次都可以按照自己的方式去寻找你想要的结果,而无须凭借自己的直觉或者以
前的经验猜来猜去。这就是可观测性对于监控系统的一个革命性的进步,它让运维工程
重新回到了科学的领域,而不是通过个人的经验和运气来发挥作用。
11.6 可观测性左移
测试驱动开发(
TDD
)需要确保开发的软件遵守独立的规范,而可观测性驱动开发则需
要确保软件在混乱的生产环境中工作。现阶段,软件散落在复杂的基础设施中,在任何
特定的时间点,都会经历波动的工作负载,某些用户会做出一些不可预测的事情。
在软件开发生命周期的早期就引入探针,会使工程师更容易看到一个小的更改在生产环
境中能够产生的影响。而只专注于单一的规范,团队就会无意中筑起一面墙,这面墙阻
碍了他们对混乱生产环境的可见性,在生产环境中,软件会遇到各种不可预测的问题以
及人为因素。正如你在前几章所看到的,传统的监控方法仅用来显示一些触发告警的已
知问题和相关事件的聚合视图。传统工具几乎不能准确推断现代复杂系统中到底发生了
什么。
由于无法准确推断出生产系统运行的情况,团队往往会将生产环境看成一座玻璃城
随着时间的推移,大家集体设计了一座美丽的纪念碑,但是他们害怕变化,因为
任何未曾见过的事件都可能摧毁整个纪念碑的结构。通过持续迭代,通过部署和使用良
好的遥测和可观测性来理解生产环境中的行为,可以让团队日益加强对生产环境的掌控
度。因此,他们才有能力越来越融入软件开发的周期中,开始考虑检查和观测可能在这 ...
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