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 可观测性工程
121
13
处理和调试基于 SLO 的告警
上一章,我们介绍了
SLO
和一种基于
SLO
的监控方法,该方法可以更有效地发出告警。
本章将仔细研究如何通过应用可观测性数据让这些告警既可操作又可调试。使用传统监
控数据或指标的
SLO
所产生的告警是不可操作的,因为它们不能指导如何解决根本问
题。此外,使用
SLO
的可观测性数据使它们更精确且更易于调试。
虽然独立于可观测性,但使用
SLO
驱动告警可能是一种有效的方式,可以使告警的噪声
更小、更可操作。
SLI
可以定义为以直接符合业务目标的方式衡量服务的客户体验。错
误预算在业务利益相关者和工程团队之间设定了明确的期望。错误预算“燃烧”(消耗)
告警使团队能够确保客户满意度与业务目标保持高度一致,并启动对生产问题的适当响
应,而不会出现基于症状告警的世界中存在的那种杂音,在这种情况下,过度告警风暴
是常态。
在本章中,我们将研究错误预算所扮演的角色以及在使用
SLO
时可用于触发告警的机
制。我们将了解
SLO
错误预算是什么以及它是如何工作的,哪些计算方法可用于预测你
SLO
错误预算将用尽,以及为什么有必要使用基于事件的可观测性数据而不是基于时
间的指标来进行可靠的计算。
13.1 在错误预算消耗完之前发出告警
错误预算表示你的企业愿意容忍的最大系统不可用性。如果你的
SLO
是为了确保
99.9%
的请求成功,那么基于时间的计算表明你的系统在一个标准年内不可用的时间不超过
8
小时
45
57
秒(或
43
50
秒每月)。如上一章所示,基于事件的计算根据资格标准
研究每个单独的事件,并保持“好”事件与“坏” ...
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