[
https://issues.apache.org/jira/browse/FLUME-2562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14221436#comment-14221436
]
Otis Gospodnetic commented on FLUME-2562:
-----------------------------------------
I didn't look at the MBeans structure, but I'd like to point out the work we
did for Kafka over in KAFKA-1481 where we had to completely rework MBeans
naming to make them programmatically parseable with tools like SPM
(http://sematext.com/spm/) . We also added Kafka version to MBeans, so tools
can programmatically see which version they are talking to, because MBeans
unfortunately tend to change between releases. I'm pointing this out here in
hopes of Flume avoiding these mistakes. :)
> Metrics for Flafka components
> -----------------------------
>
> Key: FLUME-2562
> URL: https://issues.apache.org/jira/browse/FLUME-2562
> Project: Flume
> Issue Type: Improvement
> Reporter: Gwen Shapira
> Assignee: Gwen Shapira
>
> Kafka source, sink and channel should have metrics. This will help us track
> down possible issues or performance problems.
> Here are the metrics I came up with:
> kafka.next.time - Time spent waiting for events from Kafka (source and
> channel)
> kafka.send.time - Time spent sending events (channel and sink)
> kafka.commit.time - Time spent committing (source and channel)
> events.sent - Number of events sent to Kafka (sink and channel)
> events.read - Number of events read from Kafka (channel and source)
> events.rollback - Number of event rolled back (channel) or number of rollback
> calls (sink)
> kafka.empty - Number of times backing off due to empty kafka topic (source)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)