Skip to Content
Graphite监控
book

Graphite监控

by Jason Dixon
October 2020
Intermediate to advanced
261 pages
5h 32m
Chinese
Publishing House of Electronics Industry
Content preview from Graphite监控
Carbon
31
致显著的性能问题。
Carbon
聚合器(
carbon-aggregator
)能够解决上述两种情况中的问题。这个守护进程
允许你定义规则,这些规则包括一个或多个源指标(使用通配符),一种聚合方法(
sum
average
),一个在发布聚合结果前缓冲数据的时间窗口(单位是秒),以及一个新指标
名称。聚合器从
aggregation-rules.conf
文件加载规则。请注意,
carbon-aggregator
监视该文件,并在文件的修改时间发生变化时自动重新加载规则。
我们将在第
4
章讨论配置的细节,这里先通过示例
3-1
简要进行介绍。
示例3-1:简单的
carbon-aggregator
规则
<env>.applications.<app>.all.requests
60
= sum <env>.applications.<app>.*.requests
<env>.applications.<app>.all.latency
60
= avg <env>.applications.<app>.*.latency
一般来讲,这个守护进程通常会夹在中继器和缓存之间,但这不是一个严格的要求。事
实上,
carbon-aggregator
carbon-relay
共享许多代码,这意味着它也被设计为将
指标传递给后端的一个或多个缓存。但是,它不像中继器一样有不同的路由方法。聚合
器只支持到下游目的地的一致性哈希路由。因此,如果你需要采用基于规则的路由,则
要在聚合器和缓存之间插入一个或多个中继器。 ...
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, Ganesh Sanjiv Naik
弱监督学习实用指南

弱监督学习实用指南

Wee Hyong Tok, Amit Bahree, Senja Filipi
精通機器學習

精通機器學習

Aurélien Géron

Publisher Resources

ISBN: 9787121395154