| <!DOCTYPE html> |
| <!-- |
| | Generated by Apache Maven Doxia at 2018-03-12 |
| | Rendered using Apache Maven Fluido Skin 1.3.0 |
| --> |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| <head> |
| <meta charset="UTF-8" /> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| <meta name="Date-Revision-yyyymmdd" content="20180312" /> |
| <meta http-equiv="Content-Language" content="en" /> |
| <title>Falcon - Entity SLA Alerting</title> |
| <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" /> |
| <link rel="stylesheet" href="./css/site.css" /> |
| <link rel="stylesheet" href="./css/print.css" media="print" /> |
| |
| |
| <script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script> |
| |
| |
| |
| <script type="text/javascript">$( document ).ready( function() { $( '.carousel' ).carousel( { interval: 3500 } ) } );</script> |
| |
| </head> |
| <body class="topBarDisabled"> |
| |
| |
| |
| |
| <div class="container"> |
| <div id="banner"> |
| <div class="pull-left"> |
| <div id="bannerLeft"> |
| <img src="images/falcon-logo.png" alt="Apache Falcon" width="200px" height="45px"/> |
| </div> |
| </div> |
| <div class="pull-right"> </div> |
| <div class="clear"><hr/></div> |
| </div> |
| |
| <div id="breadcrumbs"> |
| <ul class="breadcrumb"> |
| |
| |
| <li class=""> |
| <a href="index.html" title="Falcon"> |
| Falcon</a> |
| </li> |
| <li class="divider ">/</li> |
| <li class="">Entity SLA Alerting</li> |
| |
| |
| |
| <li id="publishDate" class="pull-right">Last Published: 2018-03-12</li> <li class="divider pull-right">|</li> |
| <li id="projectVersion" class="pull-right">Version: 0.11</li> |
| |
| </ul> |
| </div> |
| |
| |
| |
| <div id="bodyColumn" > |
| |
| <div class="section"> |
| <h3>Entity SLA Alerting<a name="Entity_SLA_Alerting"></a></h3> |
| <p>Falcon supports SLA in feed and process.</p> |
| <p>Types of SLA supported for feed:</p> |
| <p></p> |
| <ol style="list-style-type: decimal"> |
| <li>slaLow</li> |
| <li>slaHigh</li></ol> |
| <p>To know more about feedSla look at <a href="./EntitySpecification.html">Feed Specification</a></p> |
| <p>Types of SLA supported for process:</p> |
| <p></p> |
| <ol style="list-style-type: decimal"> |
| <li>shouldStartIn</li> |
| <li>shouldEndIn</li></ol> |
| <p>To know more about processSla look at <a href="./EntitySpecification.html">Process Specification</a></p> |
| <p>Falcon Entity Alerting service do the following things:</p> |
| <p></p> |
| <ol style="list-style-type: decimal"> |
| <li>Monitor instances of feed and process and send notifications to all the listeners attached to it.</li> |
| <li>In case of feed it notifies when an <b>slaHigh</b> miss happens. slaLow is not supported.</li> |
| <li>In case of process it notifies when an SLA miss for <b>shouldEndIn</b> happens. shouldStartIn is not supported.</li></ol> |
| <p>Entity SLA Alert service depends upon <a href="./EntitySLAMonitoring.html">Falcon Entity SLA Monitoring</a> to know which process and feed instances are to be monitored.</p> |
| <p><b>How to attach listeners:</b></p> |
| <p>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:</p> |
| <div class="source"> |
| <pre> |
| |
| *.entityAlert.listeners=org.apache.customPath.customListener |
| |
| |
| </pre></div> |
| <p>Currently Falcon natively supports <a href="./BacklogMetricEmitterService.html">Back Log Emitter Service</a> as a listener to EntitySLAAlert service</p></div> |
| <div class="section"> |
| <h3>Dependencies:<a name="Dependencies:"></a></h3> |
| <p><b>Other Services:</b></p> |
| <p>To enable Enity SLA Alerting service you need to enable <a href="./EntitySLAMonitoring.html">Falcon Entity SLA Monitoring</a></p> |
| <p>Following properties are needed in startup.properties:</p> |
| <div class="source"> |
| <pre> |
| |
| *.application.services=org.apache.falcon.service.EntitySLAAlertService |
| |
| *.entity.sla.statusCheck.frequency.seconds=600 |
| |
| </pre></div> |
| <p><b>Falcon Database:</b></p> |
| <p>Entity SLA Alerting service maintains its state in the database.It needs one table <b>ENTITY_SLA_ALERTS</b> please have a look at <a href="./FalconDatabase.html">FalconDatabase</a> to know how to create it.</p></div> |
| </div> |
| </div> |
| |
| <hr/> |
| |
| <footer> |
| <div class="container"> |
| <div class="row span12">Copyright © 2013-2018 |
| <a href="http://www.apache.org">Apache Software Foundation</a>. |
| All Rights Reserved. |
| |
| </div> |
| |
| |
| <p id="poweredBy" class="pull-right"> |
| <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> |
| <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /> |
| </a> |
| </p> |
| |
| </div> |
| </footer> |
| </body> |
| </html> |