Skip to Content
Java持续交付
book

Java持续交付

by Daniel Bryant, Abraham Marín-Pérez
November 2019
Beginner to intermediate
406 pages
9h 21m
Chinese
Publishing House of Electronics Industry
Content preview from Java持续交付
350
13
可观察性:监控、日志和跟踪
大多数人并不介意这一点,因为他们会为报表配置一个相当短的时间窗口,通常在
30
分钟到一天之内,我很少遇到有团队会检查前一天及之前发生的事情。但是我
喜欢观察较长的时间,因为这样可以让我了解长期的变化趋势,例如工作日的流量
通常比周末高多少?
夏季几个月的新用户相比全年有多少?访问量的下降是因为
正常的节假日,还是因为今年的市场环境不好?
像这样的问题让我困扰,但是大
多数的监控工具却无法回答。
确实,许多问题都是突然发生的,并且短期的监控报表足以发出提醒。但是对于长
期的监控,我建议自己维护一个指标列表,形式可以很简单(例如每日汇总的电子
表格),但是可以观察到长期的变化趋势。这听起来可能有点过分,尤其你已经花
费了大量精力去搭建一个
ELK
或者类似的工具,但是对我来说这样做依然有它的
价值。我曾经通过这种方式,发现了一个在两个月内缓慢增长的性能问题,虽然现
象很不明显,但是增长速度却是指数级的。我们当然希望能够在问题一开始的时候
就发现它,但是如果没有关注长期的趋势,很难想象它会造成的后果。
可视化
设计一个具有可观察性的系统,并收集适当的指标和日志数据,是了解应用程序和系统
的一个良好的开端。但是同样重要的是,你需要将这些数据转换为对系统和业务的洞察
能力,并且推动其不断改进。如何实现这一点取决于你的目标受众,是业务人员、运维
人员还是开发人员。由于本书篇幅所限,本节会介绍一些常见的实现方式,详细内容还
请阅读更多书籍和网络资料。
业务可视化
在创建业务所需的可视化时 ...
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

Python机器学习案例精解

Python机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu
Java性能优化实践:JVM调优策略、工具与技巧

Java性能优化实践:JVM调优策略、工具与技巧

Benjamin J. Evans, James Gough, Chris Newland
Python和NLTK实现自然语言处理

Python和NLTK实现自然语言处理

Posts & Telecom Press, Nitin Hardeniya
C++语言导学(原书第2版)

C++语言导学(原书第2版)

本贾尼 斯特劳斯特鲁普

Publisher Resources

ISBN: 9787121374425