Metric Collection currently allows to collect the following metrics at process level:
To send data to Graphite
Falcon need to intialize metricNotificationService in startup.properties:
*.application.services= org.apache.falcon.metrics.MetricNotificationService,
Add following properties for graphiteNotificationPlugin :
Graphite properties
* *.falcon.graphite.hostname=localhost * *.falcon.graphite.port=2003 * *.falcon.graphite.frequency=1 * *.falcon.graphite.prefix=falcon
The falcon.graphite.frequency is in seconds and all the time that is being sent to graphite is in seconds.
To send data to Falcon DB
Falcon needs to ProcessInstanceInfo table in the database have a look at FalconDatabase to know how to create it.
Add the following properties in the startup.properties:
#*.monitoring.plugins=org.apache.falcon.plugin.ProcessExecutionStatsPlugin