Introduction

In this article, I want to showcase how one can get an email notification as an alert when “Something went wrong” using Log Analytics query to evaluate resources and Logs every set frequency (fire an alert based on the results). This article covers the basic features of Application Insight Log Alert.

Alerts in Microsoft Azure

Alerts proactively notify you when issues found with your infrastructure or application using your monitoring data in Azure Monitor. They allow you to identify and address issues before the users of your system notice them.

Application Insight Monitors Followings

1. Request rates, response times, and failure rates: Find out which pages are most popular, at what times of day, and where your users are. See which pages perform best. If your response times and failure rates go high when there are more requests, then perhaps you have a resourcing problem.

2. Dependency rates, response times, and failure rates: Find out whether external services are slowing you down.

3. Exceptions: Analyze the aggregated statistics, or pick specific instances and drill into the stack trace and related requests. Both server and browser exceptions are reported.

4. Page views and load performance: Reported by your users’ browsers. AJAX calls from web pages - rates, response times, and failure rates. User and session count.

5. Performance counters from your Windows or Linux server machines, such as CPU, memory, and network usage. Host diagnostics from Docker or Azure.

6. Diagnostic trace logs from your app: so that you can correlate trace events with requests.

7. Custom events and metrics that you write yourself in the client or server code, to track business events such as items sold or games won.

It sends all logs and telemetry data to central database.

Overview

We are not monitoring the monitors all the time that is why we can configure Application Insights to send us alerts whenever something went wrong like ‘404 Errors’, ‘500 Errors’, ‘’ etc.

#azure #azure monitor #log alert

Monitor Applications Via Application Insights Using Log Alerts
1.60 GEEK