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

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

by Mike Julian
November 2020
Intermediate to advanced
142 pages
3h 12m
Chinese
Posts & Telecom Press
Content preview from 监控运维实践:原则与策略
118
|
附录
A
A.5
 内部依赖关系
PostgreSQL
数据库,运行在位于
rds-123.foo.com
的一个
RDS
实例上。
A.6
 技术栈
• Rails 4.
x
• PostgreSQL (AWS RDS)
A.7
 指标和日志
该应用程序发出以下指标:
•
用户登录(计数)
•
用户登出(计数)
•
文章创建(计数)
•
文章删除(计数)
•
评论创建(计数)
•
评论删除(计数)
•
文章创建时间(计时)
•
文章删除时间(计时)
•
用户注册时间(计时)
•
用户登录时间
(计时)
•
用户登出时间(计时)
该应用程序发出以下日志:
•
用户通过用户
ID
登录、状态(成功
/
失败),以及
IP
地址
•
通过用户
ID
创建帖子、状态(成功
/
失败),以及
IP
地址
•
通过用户
ID
创建评论、状态(成功
/
失败),以及
IP
地址
A.8
 告警
用户登录失败率
当用户登录失败率在
5
分钟内超过
5%
时,将触发此告警。潜在的原因是错误的部署
(检查最近的部署)或暴力攻击(检查用户登录日志以查看攻击的迹象)。
运行手册示例:一个演示应用程序
|
119
用户登录时间过长
当用户登录所需时间超过
1
秒时,将触发此告警。检查最近的错误部署或
Postgres
性能
问题。
文章创建时间过长
当用户创建一篇文章的时间超过
1
秒时,将触发此告警。检查最近的错误部署或
Postgres ...
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