You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/app-service/tutorial-sre-agent.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@ To simulate an app failure scenario, add a secondary deployment slot.
133
133
134
134
1. Select **Save** to apply the deployment settings.
135
135
136
-
##5. Add an app setting to enable error simulation
136
+
###Add an app setting to enable error simulation
137
137
138
138
To control error simulation, configure an app setting your app checks at runtime.
139
139
@@ -152,7 +152,7 @@ To control error simulation, configure an app setting your app checks at runtime
152
152
1. At the bottom of the *Environment variables* page, select **Apply** to apply the changes.
153
153
1. When prompted, select **Confirm** to confirm and restart the app in the selected slot.
154
154
155
-
## 6. Create an Azure SRE Agent
155
+
## 5. Create an Azure SRE Agent
156
156
157
157
Now, create an Azure SRE Agent to monitor your App Service app.
158
158
@@ -178,7 +178,7 @@ Now, create an Azure SRE Agent to monitor your App Service app.
178
178
179
179
1. Back in the *Create agent* window, select **Create**. The agent creation process takes a few minutes to complete.
180
180
181
-
## 7. Chat with your agent
181
+
## 6. Chat with your agent
182
182
183
183
Once your SRE Agent is deployed and connected to your resource group, you can interact with it using natural language to monitor and troubleshoot your app.
184
184
@@ -198,7 +198,7 @@ Once your SRE Agent is deployed and connected to your resource group, you can in
198
198
199
199
Now that the agent can see your app, you’re ready to simulate a failure and let the agent help you resolve it.
200
200
201
-
## 8. Break the app
201
+
## 7. Break the app
202
202
203
203
Now simulate a failure scenario by swapping to the broken deployment slot.
204
204
@@ -225,7 +225,7 @@ Now simulate a failure scenario by swapping to the broken deployment slot.
225
225
226
226
1. Refresh the page (by pressing Command-R or F5) several times to generate additional HTTP 500 errors, which help the SRE Agent detect and diagnose the issue.
227
227
228
-
## 9. Fix the app
228
+
## 8. Fix the app
229
229
230
230
Now that the app is experiencing failures, use the SRE Agent to diagnose and resolve the issue.
231
231
@@ -258,12 +258,12 @@ Now that the app is experiencing failures, use the SRE Agent to diagnose and res
258
258
259
259
> *The slot swap for my-sre-app has been completed successfully (timestamp). The production slot has been restored. I will now continue with post-mitigation steps:*
260
260
>
261
-
> *I will ask you for the correct GitHub repo URL to raise an issue for the swap-related downtime.*
262
-
> *I will monitor the app and provide an availability update in 5 minutes.*
261
+
> *I will ask you for the correct GitHub repo URL to raise an issue for the swap-related downtime.*
262
+
> *I will monitor the app and provide an availability update in 5 minutes.*
263
263
>
264
264
> *Please provide the GitHub repository URL where you want the issue to be raised.*
265
265
266
-
## 10. Verify the fix
266
+
## 9. Verify the fix
267
267
268
268
After the SRE Agent rolls back the slot swap, confirm that your app is functioning correctly.
0 commit comments