Skip to Content
Google SRE工作手册
book

Google SRE工作手册

by Betsy Beyer, Niall Richard Murphy, David K. Rensin, Kent Kawahara, Stephen Thorne
September 2020
Intermediate to advanced
526 pages
8h 23m
Chinese
China Electric Power Press Ltd.
Content preview from Google SRE工作手册
96
5
基于
SLO
的告警
作者:
Steven Thurgood
Jess Frame
,
Anthony Lenton
,
Carmela Quinito
,
Anton Tolchanov
Nejc Trdin
本章介绍如何根据
SLO
对那些重要的事件做出可操作性的告警。我们的第一本
SRE
书和本书都谈到了如何实施
SLO
。我们相信,一旦你拥有良好的、能衡量平台可靠
性的、能反映客户真实体验的
SLO
了,你就可以为
on-call
工程师的响应工作提供最
高质量的信息。在这里,我们提供了一些具体的指导原则,能帮助你将这些
SLO
换为告警规则,能使你在消耗过多的错误预算之前就及时地响应问题。
我们的案例展示了一系列循序渐进的实施告警指标和逻辑的方式;我们会讨论每种
方式的利弊。尽管我们在案例中使用的是简单的请求驱动(
request-driven
)服务和
Prometheus
语法,但你可以在其他任何告警框架中应用这些工作原理。
告警设定考量
为了基于服务质量指标(
SLI
)和错误预算产生告警事件,你需要一种能将这两个元
素组合成一条特定规则的方法。你的目标是对每一个消耗大量错误预算的事件发出
重大事件的告警通知。
你在评估一条告警策略时,应当考虑以下属性:
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

Python数据分析(第2版)

Python数据分析(第2版)

Posts & Telecom Press, Armando Fandango
Google系统架构解密: 构建安全可靠的系统

Google系统架构解密: 构建安全可靠的系统

Heather Adkins, Betsy Beyer, Paul Blankinship, Piotr Lewandowski, Ana Oprea, Adam Stubblefield
编写整洁的Python代码(第2版)

编写整洁的Python代码(第2版)

Posts & Telecom Press, Mariano Anaya

Publisher Resources

ISBN: 9787519845858