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工作手册
94
4
二进制
文件
监控
基础设施
告警管理器
告警 工单
4
-
1
:监控测试环境层次
1.
二进制报告
:检查它导出的度量指标变量的值,在特定条件下是否按预期产生了
变化。
2.
监控配置
:确保规则评估产生了预期的结果,并在特定条件下产生预期的告警。
3.
告警配置
:根据告警标签的值测试,看它所生成的告警是否到达了预期。
如果你无法通过仿真的方式测试监控,或者你所处的阶段就是无法进行监控测试,
请考虑另外搭建一套运行的系统,暴露(导出)那些预先设定的指标,如请求数和
错误数。你可以使用此系统来验证仿真的时间序列和告警。在配置之后,你的告警
规则很可能数月或数年都不会触发,因而你需要确信当指标超过某个阈值时,工程
师会收到正确的有意义的告警通知。
小结
由于
SRE
这一角色负责着生产系统的可靠性,因此
SRE
通常需要非常熟悉服务的监
控系统,以及服务的各种功能。如果没有这方面的知识,
SRE
可能不知道该看哪里,
如何识别异常行为,或者如何在紧急情况下找到所需的信息。
我们希望通过指出监控系统里有用的功能及其原因,帮助你评估你的监控策略与需
求的匹配程度、探索你能利用到的一些其他功能、思考那些你可能想要做出的变化。
你可能会发现,将一些指标源和监控策略记录在一起的方式将会很有帮助。这种准
确的融合是需要高度依赖于上下文的。确保采集的指标都服务于特定的目的。这样
做是为了更好地进行容量规划,协助排错(
debugging
)或直接给你发送相关问题的
通知。
监控
95
你的监控一旦投入了使用,它就需要是可视化且有用的。为此,我们还建议你测试 ...
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