0
点赞
收藏
分享

微信扫一扫

【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=r1

OpenConnectionCount

目前与客户端或sink保持连接的总数量

org.apache.flume.source:type=r1

AppendBatchAcceptedCount

成功提交到channel的批次的总数量

org.apache.flume.source:type=r1

AppendBatchReceivedCount

接收到事件批次的总数量

org.apache.flume.source:type=r1

AppendAcceptedCount

逐条录入的次数

org.apache.flume.source:type=r1

AppendReceivedCount

每批只有一个事件的事件总数量

org.apache.flume.source:type=r1

EventAcceptedCount

成功写出到channel的事件总数量

org.apache.flume.source:type=r1

EventReceivedCount

目前为止source已经接收到的事件总数量

org.apache.flume.source:type=r1

StartTime

source启动时的毫秒值时间

org.apache.flume.source:type=r1

StopTime

source停止时的毫秒值时间,为0表示一直在运行

重点关注:EventReceivedCount

2.2 channel监控项

objectName

(根据用户配置不同而不同)

指标项

说明

org.apache.flume.channel:type=c1

EventPutAttemptCount

Source尝试写入Channe的事件总次数

org.apache.flume.channel:type=c1

EventPutSuccessCount

成功写入channel且提交的事件总次数

org.apache.flume.channel:type=c1

EventTakeAttemptCount

sink尝试从channel拉取事件的总次数。

org.apache.flume.channel:type=c1

EventTakeSuccessCount

sink成功从channel读取事件的总数量

org.apache.flume.channel:type=c1

ChannelSize

目前channel中事件的总数量

org.apache.flume.channel:type=c1

ChannelCapacity

channel的容量

org.apache.flume.channel:type=c1

ChannelFillPercentage

channel已填入的百分比

org.apache.flume.channel:type=c1

StartTime

channel启动时的毫秒值时间

org.apache.flume.channel:type=c1

StopTime

channel停止时的毫秒值时间,为0表示一直在运行

重点关注:EventPutSuccessCount

2.3 sink监控项

objectName

(根据用户配置不同而不同)

指标项

说明

org.apache.flume.sink:type=k1

ConnectionCreatedCount

创建的连接数量

org.apache.flume.sink:type=k1

ConnectionClosedCount

关闭的连接数量

org.apache.flume.sink:type=k1

ConnectionFailedCount

由于错误关闭的连接数量

org.apache.flume.sink:type=k1

BatchEmptyCount

批量处理event的个数为0的数量-表示source写入数据的速度比sink处理数据的速度慢

org.apache.flume.sink:type=k1

BatchUnderflowCount

批量处理event的个数小于批处理大小的数量

org.apache.flume.sink:type=k1

BatchCompleteCount

批量处理event的个数等于批处理大小的数量

org.apache.flume.sink:type=k1

EventDrainAttemptCount

sink尝试写出到存储的事件总数量

org.apache.flume.sink:type=k1

EventDrainSuccessCount

sink成功写出到存储的事件总数量

org.apache.flume.sink:type=k1

StartTime

channel启动时的毫秒值时间

org.apache.flume.sink:type=k1

StopTime

channel停止时的毫秒值时间,为0表示一直在运行

重点关注:EventDrainSuccessCount

举报

相关推荐

0 条评论