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

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

by Mike Julian
November 2020
Intermediate to advanced
142 pages
3h 12m
Chinese
Posts & Telecom Press
Content preview from 监控运维实践:原则与策略
63
第 7 章
应用程序监控
我见过许多公司对服务器基础设施有健壮的监控、对安全有强大的监控、对网络也有非常
得力的监控策略,然而它们的应用程序仍是一个不可知的黑盒。这总让我感到奇怪,因为
大多数公司更改应用程序的频率比更改其他任何东西都高,这意味着这些应用程序性能的
可见性非常重要。
我想可能主要是因为许多团队认为应用程序监控太困难了,或者他们需要拥有一些高度专
业的技能。值得庆幸的是,真实情况并不这样,本章将帮助你获得应用程序的高可见性。
7.1
 用指标衡量应用程序
监控中你能做的最有效的一件事就是衡量自己的应用程序,同时这也是最容易被忽略的。
为什么要衡量它呢?原因就是应用程序有大量关于性能的重要信息,其中的许多信息允许
你在维护性能时从被动转变为主动。
我常听到的一个忧虑是,向应用程序添加指标很困难并且很消耗时间,但在这里我告诉你
这不是事实。和所有的事情一样,由浅入深是关键:记录数据库查询的耗时怎么样?一些
外部供应商
API
的响应时间有多长?全天登录的次数有多少?
一旦开始衡量应用程序,你就很容易上瘾。应用程序的指标对很多事情非常有用,因此你
会问自己为什么没有早点开始衡量它。
64
|
第
7
章
关于应用程序性能监控
(
APM
)
工具的题外话
市面上有很多工具打着
APM
工具的旗号,其思路是在应用程序中添加一个
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