0% found this document useful (0 votes)
95 views11 pages

Azure Monitoring

Uploaded by

Magesh Crave
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
95 views11 pages

Azure Monitoring

Uploaded by

Magesh Crave
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Hi-Tech Learning Academy Ph: 7092 90 91 92 | 82 20 21 7640

Hi-Tech Learning Academy Ph: 7092 90 91 92 | 82 20 21 7640


Hi-Tech Learning Academy Ph: 7092 90 91 92 | 82 20 21 7640

Hi-Tech Learning Academy Ph: 7092 90 91 92 | 82 20 21 7640


Hi-Tech Learning Academy Ph: 7092 90 91 92 | 82 20 21 7640

Monitoring Azure applications and resources

Azure Monitor has a landing page that helps users:

 Understand the monitoring capabilities offered by Azure.


 Discover, configure, and on-board Azure’s platform and premium monitoring capabilities.

When you open the page, you can select among the subscriptions you have read access to. For a
selected subscription, you can see:

Triggered alerts and alert sources - This table shows summary counts, alert sources, and how
many times alerts fired for the selected time duration. It applies to both older and newer alerts

Activity Log Errors - If any of your Azure resources log events with error-level severity, you can
view a high-level count and click through to the activity log page to investigate each event.

Azure Service Health - You can see a count of Service Health service issues, planned maintenance
events, and health advisories. Azure Service Health provides personalized information when
problems in the Azure infrastructure impact your services.

Application Insights - See KPIs for each App Insights resource in the current subscription. The
KPIs are optimized for server-side application monitoring across ASP.NET web apps, Java, Node,
and General application types. The KPIs include metrics for request rate, response duration, failure
rate, and availability %.

What are metrics?

Azure Monitor enables you to consume telemetry to gain visibility into the performance and health of
your workloads on Azure. The most important type of Azure telemetry data is the metrics (also called
performance counters) emitted by most Azure resources. Azure Monitor provides several ways to
configure and consume these metrics for monitoring and troubleshooting.

Hi-Tech Learning Academy Ph: 7092 90 91 92 | 82 20 21 7640


Hi-Tech Learning Academy Ph: 7092 90 91 92 | 82 20 21 7640

What are the characteristics of metrics?

Metrics have the following characteristics:

 All metrics have one-minute frequency (unless specified otherwise in a metric's definition).
You receive a metric value every minute from your resource, giving you near real-time
visibility into the state and health of your resource.
 Metrics are available immediately. You don't need to opt in or set up additional diagnostics.
 You can access 93 days of history for each metric. You can quickly look at the recent and
monthly trends in the performance or health of your resource.
 Some metrics can have name-value pair attributes called dimensions. These enable you to
further segment and explore a metric in a more meaningful way.

What can you do with metrics?

Metrics enable you to do the following tasks:

Configure a metric alert rule that sends a notification or takes automated action when the metric
crosses the threshold that you have set. Actions are controlled through action groups. Example
actions include email, phone, and SMS notifications, calling a webhook, starting a runbook, and
more. Autoscale is a special automated action that enables you to scale your a resource up and down
to handle load yet keep costs lower when not under load. You can configure an autoscale setting rule
to scale in or out based on a metric crossing a threshold.

Route all metrics to Application Insights or Log Analytics to enable instant analytics, search, and
custom alerting on metrics data from your resources. You can also stream metrics to an Event Hub,
enabling you to then route them to Azure Stream Analytics or to custom apps for near-real time
analysis. You set up Event Hub streaming using diagnostic settings.

Archive the performance or health history of your resource for compliance, auditing, or offline
reporting purposes. You can route your metrics to Azure Blob storage when you configure diagnostic
settings for your resource.

Use the Azure portal to discover, access, and view all metrics when you select a resource and plot
the metrics on a chart. You can track the performance of your resource (such as a VM, website, or
logic app) by pinning that chart to your dashboard.

Perform advanced analytics or reporting on performance or usage trends of your resource.

Query metrics by using the PowerShell cmdlets or the Cross-Platform REST API.

Consume the metrics via the new Azure Monitor REST APIs.

Hi-Tech Learning Academy Ph: 7092 90 91 92 | 82 20 21 7640


Hi-Tech Learning Academy Ph: 7092 90 91 92 | 82 20 21 7640

Hi-Tech Learning Academy Ph: 7092 90 91 92 | 82 20 21 7640


Hi-Tech Learning Academy Ph: 7092 90 91 92 | 82 20 21 7640

Access metrics via the portal

Following is a quick walkthrough of how to create a metric chart by using the Azure portal.

To view metrics after creating a resource

1. Open the Azure portal.


2. Create an Azure App Service website.
3. After you create a website, go to the Overview blade of the website.
4. You can view new metrics as a Monitoring tile. You can then edit the tile and select more
metrics.

Hi-Tech Learning Academy Ph: 7092 90 91 92 | 82 20 21 7640


Hi-Tech Learning Academy Ph: 7092 90 91 92 | 82 20 21 7640

To access all metrics in a single place

1. Open the Azure portal.


2. Navigate to the new Monitor tab, and then and select the Metrics option underneath it.
3. Select your subscription, resource group, and the name of the resource from the drop-down
list.
4. View the available metrics list. Then select the metric you are interested in and plot it.
5. You can pin it to the dashboard by clicking the pin on the upper-right corner.

Alert rules

The unified alerts experience uses the following concepts to separate alert rules from alerts while
unifying the authoring experience across different alert types.

Item Definition

Alert rule Definition of the condition to create an alert.


Composed of a target resource, signal, criteria,
and logic. An alert rule is only active if it's in
an enabled state.
Target Resource Defines the specific resources and signals
available for alerting. A target can be any
Azure resource. Examples: virtual machine,
storage account, virtual machine scale set, Log
Analytics workspace, Application Insights
resource
Signal Source of data emitted by the Target resource.
Supported signal types are Metric, Activity log,
Application Insights, and Log.

Hi-Tech Learning Academy Ph: 7092 90 91 92 | 82 20 21 7640


Hi-Tech Learning Academy Ph: 7092 90 91 92 | 82 20 21 7640

Item Definition

Criteria Combination of signal and logic applied on a


target resource. Examples: Percentage CPU >
70%, Server Response Time > 4 ms, Result
count of a log query > 100 etc.
Logic User-defined logic to check if the signal is
within expected range/values.
Action Action to perform when the alert is fired.
Multiple actions may occur when an alert fires.
These alerts support action groups. Examples:
emailing an email address, calling a webhook
URL.
Monitor Condition Indicates whether the condition that created a
metric alert has subsequently been resolved.
Metric alert rules sample a particular metric at
regular intervals. If the criteria in the alert rule
is met, then a new alert is created with a
condition of Fired. When the metric is sampled
again, if the criteria is still met then nothing
happens. If the criteria is not met though, then
the condition of the alert is changed to
Resolved. The next time that the criteria is met,
then a another alert is created with a condition
of Fired.

Hi-Tech Learning Academy Ph: 7092 90 91 92 | 82 20 21 7640


Hi-Tech Learning Academy Ph: 7092 90 91 92 | 82 20 21 7640

Alert rules management


Rules is a single page to manage all alert rules across your Azure subscriptions. It lists all alert rules
and can be sorted based on target resources, resource groups, rule name, or status. Alert rules can
also be edited nd enabled or disabled from this page.

Creating an alert rule


Alerts can be authored in a consistent manner regardless of the monitoring service or signal type. All
fired alerts and related details are available in single page.

You create a new alert rule with the following three steps:
1. Pick the target for the alert.
2. Select the signal from the available signals for the target.
3. Specify the logic to be applied to data from the signal.

This simplified authoring process no longer requires the user to know the monitoring source or
signals supported before selecting an Azure resource. The list of available signals are automatically
filtered based on target resource selected and guides you through defining the logic of the alert rule

Activity log :

Hi-Tech Learning Academy Ph: 7092 90 91 92 | 82 20 21 7640


Hi-Tech Learning Academy Ph: 7092 90 91 92 | 82 20 21 7640

Hi-Tech Learning Academy Ph: 7092 90 91 92 | 82 20 21 7640


Hi-Tech Learning Academy Ph: 7092 90 91 92 | 82 20 21 7640

Hi-Tech Learning Academy Ph: 7092 90 91 92 | 82 20 21 7640

You might also like