[
https://issues.apache.org/jira/browse/FLUME-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Venkatesh Sivasubramanian updated FLUME-2004:
---------------------------------------------
Attachment: FLUME-2004.patch
Cool, thanks [~mpercy]! Yes, I have added a Unit Test for this in
TestExecSource. I have attached the updated Patch here. Pls. take a look and
let me know if there are any feedbacks/suggestions.
I tried to submit the same to the review board, having some difficulties with
the tool. Pls. feel free to let me know if you would like me to still add to
the same, I will do it in the morning (after going through the documentation).
> 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, 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