Skip to Content
Kafka权威指南
book

Kafka权威指南

by Neha Narkhede, Gwen Shapira, Todd Palino
January 2018
Beginner to intermediate
234 pages
7h 8m
Chinese
Posts & Telecom Press
Content preview from Kafka权威指南
162
10
指标定义告警的时候。太多难以确定严重程度的告警很容易让人们陷入“告警疲劳”,我
们难以为每一个度量指标定义恰当的阈值并保持更新,告警的可信度也会因此而下降。
一些大覆盖面的告警用处更大。也就是说,这类告警会告诉我们某处出现了问题,然后我
们去收集更多的信息,以便确定问题的细节。想象一下汽车的“检查引擎”告警灯,如果
仪表盘上有
100
个不同的指示器,比如空气过滤器、油箱、排气管等,那么就会让人感到
很困惑。相反,如果用一个指示器就能告诉我们汽车出现了问题,然后我们再去找出问题
的其他细节,事情就会变得简单很多。这一章将介绍具有大覆盖面的度量指标,它们可以
让告警变得更简单。
10.2
 
broker
的度量指标
broker
提供了很多度量指标,它们大部分都是底层的度量,由
Kafka
开发者出于诊断或调
试的目的而增加,也有为预测将来需要的信息而添加,另外还有由
Kafka
用户请求添加,
以供日常操作所需。这些度量指标提供的信息几乎涵盖了
broker
的每一项功能。它们很容
易造成信息过载,不过也有一些度量指标为
Kafka
的日常运行提供了必要的信息。
示例
谁来看着
watcher
很多组织使用
Kafka
收集应用程序和系统的度量指标与日志,然后供中心
监控系统使用,这样可以很好地解耦应用程序和监控系统。不过,对于
Kafka
本身来说却存在一个问题,如果使用这个监控系统来监控
Kafka
,那
么当
Kafka
崩溃时,我们很可能无法感知到,因为监控系统的数据流也随
着消失了。
有一些办法可以解决这个问题。一种方法是使用一个单独的监控系统来监 ...
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

精通機器學習

精通機器學習

Aurélien Géron
精通特征工程

精通特征工程

Alice Zheng, Amanda Casari
高效能PYTHON程式設計

高效能PYTHON程式設計

Micha Gorelick, Ian Ozsvald

Publisher Resources

ISBN: 9787115473271