br>
</div>
<ol>
<li>This section associates a behaviour for every message that the function expects to be invoked with.</li>
<li>The <code>metricsHistory</code> buffer is our sliding window of the last 15 minutes worth of <code>ServerMetricReports</code>. Note that this buffer is configured to expire entries 15 minutes after they were written.</li>
<li><code>serverHealthState</code> represents the current physical server state, open incidents and so on.</li>
</ol>
<p>Let&rsquo;s take a look at what happens 