Application Insights alerts miss incomming exceptions

Vadim Slynko 6 Reputation points
2021-01-15T13:40:03.59+00:00

Hello.
Newly incoming exceptions are not picked up by alerts in Application Insights.
In Investigate -> Failures -> Exceptions I do see an exception registered on 15.01.2021 shortly before noon
57115-screenshot-2021-01-15-142744.png

Yet existing alert is not triggered, and creating new alert for exceptions does not see this exception. I would expect to see that one exception when creating an alert, but it's empty.
56839-screenshot-2021-01-15-142559.png

Thanks in advance

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,460 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. BhargaviAnnadevara-MSFT 5,466 Reputation points
    2021-01-19T12:49:49.163+00:00

    @Vadim Slynko Thanks for reaching out. Please help with the following details:

    • What is the resource type you are trying to monitor?
    • What is the (KQL) log query backing the alert?
    • Please also include a screenshot of the configured alert that isn't working as expected.

    Meanwhile, here is how I was able to create and configure a working log alert from the Azure Portal for one of my Web apps to alert me when a specific type of exception occurs:

    • Navigate to the Application insights resource on Azure Portal.
    • Select Logs under the Monitoring blade.
    • Construct your log query and check the results.
    • Click on + New alert rule.
    • Configure your alert as follows:

    58181-image.png

    The above alert fires whenever the count of results in Custom log search log query for the last 1 day is greater than 0, and is evaluated every 6 hours. You can customize the Period and frequency as needed.

    You can also run through this detailed guide for troubleshooting problems with Azure Monitor alerts. Please check if this helps.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.