This project has retired. For details please refer to its Attic page.
Falcon - Entity SLA Alerting

Entity SLA Alerting

Falcon supports SLA in feed and process.

Types of SLA supported for feed:

  1. slaLow
  2. slaHigh

To know more about feedSla look at Feed Specification

Types of SLA supported for process:

  1. shouldStartIn
  2. shouldEndIn

To know more about processSla look at Process Specification

Falcon Entity Alerting service do the following things:

  1. Monitor instances of feed and process and send notifications to all the listeners attached to it.
  2. In case of feed it notifies when an slaHigh miss happens. slaLow is not supported.
  3. In case of process it notifies when an SLA miss for shouldEndIn happens. shouldStartIn is not supported.

Entity SLA Alert service depends upon Falcon Entity SLA Monitoring to know which process and feed instances are to be monitored.

How to attach listeners:

You can write custom listeners to do some action whenever a process or feed instance misses its SLA. To attach listeners please add below property in startup.properties:


*.entityAlert.listeners=org.apache.customPath.customListener


Currently Falcon natively supports Back Log Emitter Service as a listener to EntitySLAAlert service

Dependencies:

Other Services:

To enable Enity SLA Alerting service you need to enable Falcon Entity SLA Monitoring

Following properties are needed in startup.properties:


*.application.services=org.apache.falcon.service.EntitySLAAlertService

*.entity.sla.statusCheck.frequency.seconds=600

Falcon Database:

Entity SLA Alerting service maintains its state in the database.It needs one table ENTITY_SLA_ALERTS please have a look at FalconDatabase to know how to create it.