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

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

by Mike Julian
November 2020
Intermediate to advanced
142 pages
3h 12m
Chinese
Posts & Telecom Press
Content preview from 监控运维实践:原则与策略
116
|
第
11
章
• CDN
:命中率
/
未命中率、到起点的延迟
• haproxy
负载均衡:每秒请求数、健康
/
不健康的后端、前端和后端的
HTTP
响应码
• Apache
:每秒请求数、
HTTP
响应码
•
标准操作系统指标:
CPU
使用率、内存使用率、网络吞吐率、磁盘
IOPS
以及磁盘空间
日志:
•
用户登录:用户
ID
、上下文(成功?失败?失败原因?)
• Django
:异常
/
异常追踪
•
我们使用的所有服务端守护进程的服务日志:
Apache
、
PostgreSQL
、
Redis
日志以及
haproxy
任何合成网站监控工具都可以为我们提供另一个重要的信息:
SSL
证书过期。
11.4
 安全监控
因为
Tater.ly
不用遵从任何合规性或监管要求,所以安全监控很简单。
• SSH
:登录尝试和登录失败
• syslog
日志
• auditd
日志
11.5
 告警
最后,我们需要一些告警。第
3
章告诉我们,不需要很多告警来提高效率。查看我们已经
确定的指标和日志,我觉得下面这些告警是适当的。
•
页面加载时间增加。
• Redis
、
Apache
以及
haproxy
上错误率以及延迟的增加。
•
特定应用程序操作的错误率或延迟的增加:搜索、提交评论、用户登录。
• PostgreSQL
查询延迟的增加。
确保为这个应用程序编写一两个运行手册,其中包含所有这些新发现的信息,这样你的同
事就可以从这些知识和可见性中获益。
11.6
 小结
就是这样!恭喜,你完成了你的首次监控评估!也没那么难,是不是?当然了,这只是你
监控旅途的起点。监控永远不会结束,因为业务 ...
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