【Flume】-- flume metrics 指标说明

目录

1.flume_exporter 的下载地址

2.指标说明

2.1 source监控项

2.2 channel监控项

2.3 sink监控项


1.flume_exporter 的下载地址

GitHub - woozhijun/flume_exporter: Prometheus exporter for flume2

2.指标说明

2.1 source监控项

objectName
(根据用户配置不同而不同)
指标项说明
org.apache.flume.source:type=r1OpenConnectionCount目前与客户端或sink保持连接的总数量
org.apache.flume.source:type=r1AppendBatchAcceptedCount成功提交到channel的批次的总数量
org.apache.flume.source:type=r1AppendBatchReceivedCount接收到事件批次的总数量
org.apache.flume.source:type=r1AppendAcceptedCount逐条录入的次数
org.apache.flume.source:type=r1AppendReceivedCount每批只有一个事件的事件总数量
org.apache.flume.source:type=r1EventAcceptedCount成功写出到channel的事件总数量
org.apache.flume.source:type=r1EventReceivedCount目前为止source已经接收到的事件总数量
org.apache.flume.source:type=r1StartTimesource启动时的毫秒值时间
org.apache.flume.source:type=r1StopTimesource停止时的毫秒值时间,为0表示一直在运行

重点关注:EventReceivedCount

2.2 channel监控项

objectName
(根据用户配置不同而不同)
指标项说明
org.apache.flume.channel:type=c1EventPutAttemptCountSource尝试写入Channe的事件总次数
org.apache.flume.channel:type=c1EventPutSuccessCount成功写入channel且提交的事件总次数
org.apache.flume.channel:type=c1EventTakeAttemptCountsink尝试从channel拉取事件的总次数。
org.apache.flume.channel:type=c1EventTakeSuccessCountsink成功从channel读取事件的总数量
org.apache.flume.channel:type=c1ChannelSize目前channel中事件的总数量
org.apache.flume.channel:type=c1ChannelCapacitychannel的容量
org.apache.flume.channel:type=c1ChannelFillPercentagechannel已填入的百分比
org.apache.flume.channel:type=c1StartTimechannel启动时的毫秒值时间
org.apache.flume.channel:type=c1StopTimechannel停止时的毫秒值时间,为0表示一直在运行

重点关注:EventPutSuccessCount

2.3 sink监控项

objectName
(根据用户配置不同而不同)
指标项说明
org.apache.flume.sink:type=k1ConnectionCreatedCount创建的连接数量
org.apache.flume.sink:type=k1ConnectionClosedCount关闭的连接数量
org.apache.flume.sink:type=k1ConnectionFailedCount由于错误关闭的连接数量
org.apache.flume.sink:type=k1BatchEmptyCount批量处理event的个数为0的数量-表示source写入数据的速度比sink处理数据的速度慢
org.apache.flume.sink:type=k1BatchUnderflowCount批量处理event的个数小于批处理大小的数量
org.apache.flume.sink:type=k1BatchCompleteCount批量处理event的个数等于批处理大小的数量
org.apache.flume.sink:type=k1EventDrainAttemptCountsink尝试写出到存储的事件总数量
org.apache.flume.sink:type=k1EventDrainSuccessCountsink成功写出到存储的事件总数量
org.apache.flume.sink:type=k1StartTimechannel启动时的毫秒值时间
org.apache.flume.sink:type=k1StopTimechannel停止时的毫秒值时间,为0表示一直在运行

重点关注:EventDrainSuccessCount

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

oo寻梦in记

你的鼓励将是我创作的最大动力!

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值