[ 
https://issues.apache.org/jira/browse/FLUME-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13655831#comment-13655831
 ] 

Venkatesh Sivasubramanian commented on FLUME-1619:
--------------------------------------------------

Cool! 

Hey [~hshreedharan]: I wanted to find out what you had in mind for this ticket?

I am thinking, we could add another Counter for Interceptor and Serializer, 
along the lines of Source, Sink and Channel Counters. The interceptor counter 
will hold the number of events received and passed through. And the Serializer 
Counter will hold:

1. number of events received
2. number of times headers were written
3. number of events serialized
4. number of times events were flushed to underlying stream

But in general, it would be nice to provide a way to expose the metrics 
capability to users who wants to add their own metrics in their custom 
component (source, interceptor, sink, etc) too. I am wondering is the generally 
accepted way is to extend the MonitoredCounterGroup? 

Thanks!

                
> Add metrics support to Interceptors, serializers etc.
> -----------------------------------------------------
>
>                 Key: FLUME-1619
>                 URL: https://issues.apache.org/jira/browse/FLUME-1619
>             Project: Flume
>          Issue Type: New Feature
>            Reporter: Hari Shreedharan
>            Assignee: Venkatesh Sivasubramanian
>


--
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

Reply via email to