le="line-height:60%;">
    <br>
</div>
<center>
<img src="/img/blog/2020-08-18-statefun/2.png" width="600px" alt=""/>
</center>
<div style="line-height:60%;">
    <br>
</div>
<p>To summarize our plan:</p>
<ul>
<li>
<p>Leaf functions ingest raw metric data (<span style="color:blue">blue</span> lines), and apply localized logic to trigger an alert.</p>
</li>
<li>
<p>Intermediate functions operate on already summarized events (<span style="color:orange">orange</span> lines) and correlate them into high-level e