title: Azure Function monitor alert where execution count < 1 never triggered
body: <p>I have an Azure Function App with Azure Functions that I individually want to monitor with the following rule: If an Azure Function didn't execute for N amount of minutes, send out an email/notification. </p>
  
  <p>I am wondering if this is possible with the Application Insights Alerts, which <i>does</i> provide signal logic for the <b>count</b> on an individual Azure Function basis. But this count is never 0, in the graphs it appears that any count &lt; 0 is not seen as a number. It displays as <b>--</b>, as you can see in the graph for my test function below:</p>
  
  <p><a href="https://i.imgur.com/7unFaZx.png" rel="nofollow noreferrer">testfunction chart</a> (don't have enough reputation to post images)</p>
  
  <p>The peak on the chart is seen as a 3, but if I use the condition "<b>Whenever the testfunction Count is Less than 1</b>" then the alert is never triggered. </p>
  
  <p>Changing the aggregation granularity doesn't really do much, since the signal logic doesn't ever seem to record a count of 0, or any count smaller than 1.</p>
  
  <p>There are lots of (slightly) more inconvenient ways to do this type of monitoring, but it seemed very possible with the nice built-in Azure Application Insights Alerts and I'd like to use that if at all possible. </p>
  
  <p>Am I trying to misuse Application Insights Alerts or is there something obvious that I'm not getting? I would think it should be possible to have monitoring rules based on a lack of executions.</p>