DemandCube/FlumeBeat — pull request #1 by alexeyryzhikov (2013-10-10 12:42:23+00:00)
Title: JMX Statistics source

Statistics source that uses the same datasource as JSON or Gangila endpoints.

It is worth taking a look at:

org.apache.flume.instrumentation.MonitoredCounterGroup

Base class for MBeans that provide stats.

org.apache.flume.instrumentation.util.JMXPollUtil

Gathers data from all MBeans

org.apache.flume.instrumentation.http.HTTPMetricsServer

JSON endpoint

org.apache.flume.instrumentation.GangliaServer

Gangila endpoint