Is there a way to get notified by Azure ApplicationInsights when a new exception appears?

dough_boat 11 Reputation points
2022-03-03T07:33:37.007+00:00

We are using Application Insights by Azure. At the moment I have to manually check the exceptions after each deployment to see if a new one appeared. Has anyone figured out a way to get notified (via Azure alert) once a new exception appears? For example, other error trackers like Sentry support this.

Example:

  • We did a deployment at 15:15
  • A previously unknown exception appears at 15:17
  • An email is sent to me with content "New exception X appeared in project Y"

Here is a screenshot demonstrating this a bit more clearly:

179409-image.png

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,635 questions
{count} vote

3 answers

Sort by: Most helpful
  1. Carlos Solís Salazar 18,191 Reputation points MVP Volunteer Moderator
    2022-03-03T15:53:14.113+00:00

    Yo can create an alert for each condition, if you see the blade on your screenshot, you can see the "Alerts" under Monitoring, go there and set your alert.

    This is a tutorial to create an alert https://learn.microsoft.com/en-us/azure/azure-monitor/app/tutorial-alert

    Hope this helps,
    Carlos Solís Salazar

    ----------

    Please "Accept as Answer" and Upvote if any of the above helped so that, it can help others in the community looking for remediation for similar issues.


  2. dough_boat 11 Reputation points
    2022-03-10T12:39:43.637+00:00

    After much research, I have concluded that this is currently not possible.


  3. Philipp Durrer 20 Reputation points
    2023-09-19T11:56:30.4733333+00:00

    1.5 years have passed. Is there a way now to detect new exceptions and have alerts firing for such?

    0 comments No comments

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.