Skip to content

Commit eddf7e0

Browse files
committed
updates
1 parent d382056 commit eddf7e0

File tree

1 file changed

+17
-23
lines changed

1 file changed

+17
-23
lines changed

articles/app-service/tutorial-sre-agent.md

Lines changed: 17 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
---
22
title: 'Tutorial: Troubleshoot an App using Azure SRE Agent (preview) in Azure App Service'
3-
description: Learn how to use SRE Agent and Azure App Service to identify and fix app issues with AI-assisted troubleshooting.
3+
description: Learn how to use Azure SRE Agent and Azure App Service to identify and fix app issues with AI-assisted troubleshooting.
44
author: msangapu-msft
55
ms.author: msangapu
66
ms.topic: tutorial
77
ms.date: 05/15/2025
88
---
99

10-
# Troubleshoot an App Service app using SRE Agent (preview)
10+
# Troubleshoot an App Service app using Azure SRE Agent (preview)
1111

1212
> [!NOTE]
1313
> Site Reliability Engineering (SRE) Agent is in preview.
1414
15-
The Azure SRE (Site Reliability Engineering) Agent helps you manage and monitor Azure resources by using AI-enabled capabilities. Agents guide you in solving problems and aid in building resilient, self-healing systems on your behalf. The sample app includes code meant to exhaust memory and cause HTTP 500 errors, so you can diagnose and fix the problem using SRE Agent.
15+
The Azure SRE (Site Reliability Engineering) Agent helps you manage and monitor Azure resources by using AI-enabled capabilities. Agents guide you in solving problems and aid in building resilient, self-healing systems on your behalf. The sample app includes code meant to exhaust memory and cause HTTP 500 errors, so you can diagnose and fix the problem using Azure SRE Agent.
1616

1717
In this tutorial, you will:
1818

@@ -31,7 +31,7 @@ In this tutorial, you will:
3131

3232
To complete this tutorial, you need:
3333
- An [Azure subscription](https://azure.microsoft.com/free/).
34-
- To create the SRE Agent, your account needs Microsoft.Authorization/roleAssignments/write permissions using either Role Based Access Control Administrator or User Access Administrator.
34+
- To create the Azure SRE Agent, your account needs Microsoft.Authorization/roleAssignments/write permissions using either Role Based Access Control Administrator or User Access Administrator.
3535

3636
## 1. Create an App Service app
3737

@@ -143,9 +143,7 @@ After deployment and configuration, verify that the sample app is running correc
143143

144144
![Select Tools and select Convert to PNG](./media/tutorial-azure-monitor/sample-monitor-app-tools-menu.png)
145145

146-
1. Select the first three images and select **Convert**.
147-
148-
- The conversion should complete successfully.
146+
1. Select the first three images and select **Convert**. The conversion should complete successfully.
149147

150148
![Select the first two images](./media/tutorial-azure-monitor/sample-monitor-app-convert-two-images.png)
151149

@@ -184,11 +182,11 @@ In the *Settings* tab, configure the following:
184182

185183
1. Select **Save** to apply the deployment settings.
186184

187-
## 6. Create an SRE Agent
185+
## 6. Create an Azure SRE Agent
188186

189187
Now, create an Azure SRE Agent to monitor your App Service app.
190188

191-
1. In the Azure portal, search for and select **SRE Agent**.
189+
1. In the Azure portal, search for and select **Azure SRE Agent**.
192190

193191
1. Select **+ Create**.
194192

@@ -197,8 +195,8 @@ Now, create an Azure SRE Agent to monitor your App Service app.
197195
| Property | Value | Remarks |
198196
|------------------|---------------------------|-------------------------------------------------------------------------|
199197
| Subscription | Your Azure subscription | |
200-
| Resource group | `my-sre-agent-group` | New group for the SRE Agent |
201-
| Name | `my-app-service-sre-agent`| |
198+
| Resource group | `my-sre-agent-group` | New group for the Azure SRE Agent |
199+
| Name | `my-sre-agent`| |
202200
| Region | **Sweden Central** | Required during preview; can monitor resources in any Azure region |
203201
| Choose role | **Contributor** | Grants the agent permission to take action on your behalf |
204202

@@ -252,12 +250,12 @@ Now simulate a failure scenario by swapping to the broken deployment slot.
252250
1. Once the swap is complete, browse to the app’s URL.
253251

254252
1. Attempt to convert five images using the app interface:
255-
256-
    ![Select the first five images](./media/tutorial-azure-monitor/sample-monitor-app-working.png)
253+
254+
![Select the first five images](./media/tutorial-azure-monitor/sample-monitor-app-working.png)
257255

258256
1. The conversion should fail and return an HTTP 500 error:
259-
260-
    ![HTTP 500](./media/tutorial-azure-monitor/sample-monitor-app-http-500.png)
257+
258+
![HTTP 500](./media/tutorial-azure-monitor/sample-monitor-app-http-500.png)
261259

262260
1. Repeat the conversion step a few more times to generate additional HTTP 500 errors. These errors help the SRE Agent detect and diagnose the issue.
263261

@@ -309,9 +307,7 @@ After the SRE Agent rolls back the slot swap, confirm that your app is functioni
309307
310308
    ![Select Tools and select Convert to PNG](./media/tutorial-azure-monitor/sample-monitor-app-tools-menu.png)
311309
312-
1. Select the first five images and select **Convert**.
313-
314-
    - The conversion should now complete successfully without HTTP 500 errors.
310+
1. Select all the images and select **Convert**. The conversion should now complete successfully without HTTP 500 errors.
315311
316312
    ![Select the first five images](./media/tutorial-azure-monitor/sample-monitor-app-working.png)
317313
@@ -321,8 +317,8 @@ If you no longer need the app and agent created in this tutorial, you can delete
321317
322318
Repeat the following steps for both of these resource groups:
323319
324-
- `my-app-service-group`
325-
- `my-sre-agent-group`
320+
- `my-app-service-group` (App Service resource group)
321+
- `my-sre-agent-group` (Azure SRE Agent resource group)
326322
327323
1. In the Azure portal, navigate to **Resource groups**.
328324
@@ -332,9 +328,7 @@ Repeat the following steps for both of these resource groups:
332328
333329
1. In the confirmation dialog, enter the name of the resource group.
334330
335-
1. Select **Delete**.
336-
337-
    > Deletion takes a few minutes to complete.
331+
1. Select **Delete**. Deletion takes a few minutes to complete.
338332
339333
## Next steps
340334

0 commit comments

Comments
 (0)