Flume监控

本文介绍了如何使用Flume的JSON Reporting配合flume_exporter、Prometheus和Grafana进行监控。首先,详细讲述了部署flume_exporter的步骤,包括编译、配置和启动。接着,说明了如何将flume_exporter整合到Prometheus中,通过修改配置文件并重新加载实现监控指标的展示。最后,配置了Grafana仪表板和告警规则,确保告警生效并能在Prometheus和alertmanager中查看。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Flume提供了四种监控方式:JMX Reporting、Ganglia Reporting、JSON Reporting、Custom Reporting,选择最简单的JSON Reporting方式,监控方案是
JSON Reporting + flume_exporter + Prometheus + Grafana。

JSON Reporting请参考官方文档
http://flume.apache.org/releases/content/1.9.0/FlumeUserGuide.html#monitoring
flume_exporter github地址
https://github.com/woozhijun/flume_exporter
Prometheus + Grafana的使用可参考
https://www.ibm.com/developerworks/cn/cloud/library/cl-lo-prometheus-getting-started-and-practice/index.html
https://www.jianshu.com/p/e59cfd15612e

1.部署flume_exporter

1.1编译请参考https://github.com/woozhijun/flume_exporter,编译过程遇到的
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值