Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
The Basic, Standard, and Enterprise plans will be deprecated starting from mid-March, 2025, with a 3 year retirement period. We recommend transitioning to Azure Container Apps. For more information, see the Azure Spring Apps retirement announcement.
The Standard consumption and dedicated plan will be deprecated starting September 30, 2024, with a complete shutdown after six months. We recommend transitioning to Azure Container Apps. For more information, see Migrate Azure Spring Apps Standard consumption and dedicated plan to Azure Container Apps.
This article applies to: ✅ Java ✅ C#
This article applies to: ✅ Basic/Standard ✅ Enterprise
This article describes how to monitor Spring app resources using alerts and action groups in Azure Spring Apps.
Azure Spring Apps alerts support monitoring resources based on conditions such as available storage, rate of requests, and data usage. An alert sends a notification when rates or conditions meet the defined specifications.
There are two steps to set up an alert pipeline:
Set up an action group.
Action groups define actions to be taken when an alert is triggered, such as with an email, SMS, Runbook, or Webhook. You can use and reuse action groups among different alerts.
Set up alert rules.
Rules bind metrics with action groups based on the target resource, condition, time aggregation, and other factors.
In the Azure portal, use the following steps:
Go to your Azure Spring Apps instance.
Select Alerts in the navigation pane, and then select Action groups.
On the Action groups page, select Create.
On the Create action group page on the Basics tab, make any needed changes in Project details. In Instance details, specify settings for Action group name and Display name.
Select the Notifications tab and then select a Notification type from the dropdown menu. This action opens a pane to define the action that is taken upon activation. This example shows an email and messaging type. Complete the form and select OK.
Set Name to name the action group.
Select Review + create to finish creating the action group.
Use the following steps configure an alert:
Select Alerts in the navigation pane, and then select Alert rules.
Select Create.
On the Create an alert rule page on the Condition tab, you must select a signal to trigger the alert rule. Select See all signals. On the Select a signal pane, select CPU Usage and then select Apply.
The signal selection determines the alert logic settings to configure. Set Threshold value to 75.
For details of the conditions available to monitor, see the User metrics options section of Metrics for Azure Spring Apps.
Select the Actions tab and then select Select action group. On the Select action groups pane, select the action group that should be triggered by the rule such as the action group you defined previously.
Select Select.
Select the Details tab and set Severity and make any other needed changes.
Tip
Select the Scope tab to change the resource for the scope of the rule. By default the scope is current Azure Spring Apps instance.
Select Review + create to finish creating the alert rule.
On the Alert rules page, verify that the new alert rule is enabled.
In this article, you learned how to set up alerts and action groups for an application in Azure Spring Apps. To learn more about action groups, see:
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowTraining
Module
Configure alerts and responses - Training
In this module, you learn how Azure Monitoring alerts proactively notifies you when Azure Monitor data indicates there might be a problem with your infrastructure or applications before the problem becomes one for your users.
Certification
Microsoft Certified: Azure for SAP Workloads Specialty - Certifications
Demonstrate planning, migration, and operation of an SAP solution on Microsoft Azure while you leverage Azure resources.