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

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

by Mike Julian
November 2020
Intermediate to advanced
142 pages
3h 12m
Chinese
Posts & Telecom Press
Content preview from 监控运维实践:原则与策略
52
|
第
5
章
•
新的指标都是关于故障率和延迟的。如果你愿意,可以跟踪成功率,但是失败率更能直
接适用于我们的目标。延迟是极好的跟踪对象,因为它可以很好地预示即将出现的问题。
这些新指标在比以前更细粒度的层面上回答了应用程序是否工作的问题。它们并不假设知
道问题是什么,只是暗示可能会出现问题。确切地说,我们想要的就是这类指标。
5.4
 应用程序没有提供这些指标
现在你可能会想,如果应用程序没有提供这些数据,那么该如何监控你所没有的东西呢?
很高兴你问了这个问题。
正如第
1
章和第
2
章中提到的,监控并不是可以事后再附加的东西。要了解应用程序和基
础设施的性能,必须事前就对其进行设计。
你能想象如果福特公司制造了一辆无法测量油箱有多少燃料或者无法知道车速的汽车会怎
样吗?这些问题显然不是在车辆制造完成后再去考虑的,而是在车辆设计时就要考虑到。
事实上,现代汽车与现代软件非常相似:
ECU
(发动机控制单元,又称作“计算机”)是
一套完整的软件,负责分析大量来自传感器的输入,并调整向汽车其他部件的输出。
ECU
的核心功能完全依赖于向它反馈测量数据的传感器,这允许
ECU
调整其对各种关键组件
的控制。从计算机时代开始,车辆在设计时就在其中安装了监控系统。
值得庆幸的是,我们并不是在制造汽车。我们可以在任何想改的时候进行改变,并且拥有
更快的反馈循环,比如售出的车辆出厂后,可以给它加一个油表。我们有能力修改应用程
序和基础设施以添加更好的监控,随着时间的推移,我们会不断对其进行改进。如果应用
程序没有公开所需要的指标,请亲自动手修改应用程序。 ...
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