[
https://issues.apache.org/jira/browse/FLUME-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13634847#comment-13634847
]
Mike Percy commented on FLUME-2004:
-----------------------------------
[~venkyz]: you are right... I misread that part.
+1 on this patch. Let me know if you have time to add a unit test, otherwise
because this is metrics-related I think this is good to go.
> Need to capture metrics on the Flume exec source such as events received,
> rejected, etc.
> ----------------------------------------------------------------------------------------
>
> Key: FLUME-2004
> URL: https://issues.apache.org/jira/browse/FLUME-2004
> Project: Flume
> Issue Type: New Feature
> Components: Channel, Sinks+Sources
> Affects Versions: v1.3.0
> Reporter: Robert Justice
> Priority: Minor
> Attachments: FLUME-2004.patch
>
>
> To give you a background, we have configured our flume agents with "exec"
> source to tail some logs and stream it to a set of collectors. We have
> monitoring setup that polls "/metrics" on these agents and verifies a few
> metrics like channel size, event put count etc. The "/metrics" response
> returns data about the 'channel' and 'sink' (we have an avro sink)
> components, however there is no data returned about the "source" (exec)
> component. We are interested in monitoring the number of events received,
> rejected, etc.
> I couldn't find any documentation around this; I checked the flume source and
> saw the metrics are not getting captured in the code as well for 'exec'
> source.
> Please improve the metrics captured for the 'exec' source for flume.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira