Skip to Content
监控运维实践:原则与策略
book

监控运维实践:原则与策略

by Mike Julian
November 2020
Intermediate to advanced
142 pages
3h 12m
Chinese
Posts & Telecom Press
Content preview from 监控运维实践:原则与策略
应用程序监控
|
67
Etsy
在其开创性的博客文章“
Measure Anything
,
Measure Everything
”中推广了这一概念,
从而产生了许多不同的使其工作得更好的新想法和工具。现在,大多数现代衡量工具(包
括
SaaS
和本地工具)包含了一些实现此功能的方法(通常称为
事件
、
注解
,或最恰当地
说是
部署
)。
你可能想知道为什么这样会有用,所以下面来看看图
7-1
:叠加在
API
错误率上的部署事件。
用户查找服务——API的HTTP 200返回码的数量
已部署:v4.01版本
图 7-1:部署标记和 API 错误
图
7-1
清楚地显示了最近一次部署和显著降低的
API
成功率之间的关联。虽然关联不等同
于因果关系,但该图强有力地说明了部署在某处引发了问题。记录关于部署的时间线、构
建的数据以及部署者的信息会给我们排除故障带来更大的帮助。记录这些信息本身没有什
么帮助,但通过将它们与其他指标相结合,我们可以获取一个全新的视角并了解应用程序
和基础设施正在做的事情。
7.3
 
/health
端点模式
奇怪的是,这个概念已经提出很多年了,但是好像还没有人能为这个模式确定一个正式的
名称。我已习惯称其为
/health
端点模式
,但网上也有一些文章引用这个概念并将其称为
金丝雀端点
,有些人则直接叫它
状态端点
。
无论它的名称是什么,其概念都很直白:应用程序中的一个
HTTP
端点会显示该应用程序
的健康状态,有时候还会包含一些关于应用程序的基本信息(例如部署版本、依赖关系的
状态等)。端点的底层是用以拉取关于应用程序健康情况和状态信息的分散的代码。我们 ...
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

Java数据科学实战

Java数据科学实战

Michael R. Brzustowicz, PhD
可编程网络自动化

可编程网络自动化

Jason Edelman, Scott S. Lowe, Matt Oswalt
精通模块化JavaScript

精通模块化JavaScript

Nicolás Bevacqua

Publisher Resources

ISBN: 9787115550750