Skip to content

Commit cb6cf64

Browse files
committed
updates
1 parent 7847808 commit cb6cf64

File tree

1 file changed

+25
-7
lines changed

1 file changed

+25
-7
lines changed

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

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -131,17 +131,22 @@ This step configures application logs required by the SRE Agent to diagnose and
131131
132132
![Click `Tools` and select `Convert to PNG`](./media/tutorial-azure-monitor/sample-monitor-app-tools-menu.png)
133133
134-
1. Select three images and click `convert`. This converts successfully.
134+
1. Select the first three images and click `convert`. This converts successfully.
135135
136136
![Select the first two images](./media/tutorial-azure-monitor/sample-monitor-app-convert-two-images.png)
137137
138138
## 3. Create a deployment slot
139139
140140
1. In the left menu, find the *Deployment* section and select **Deployment slots**.
141141
142-
1. Select **+ Add** to add a new deployment slot.
142+
1. Select **Add slot**.
143143
144-
1. In the *Add Slot* dialog window, enter **broken**.
144+
1. Enter the following values.
145+
146+
| Property | Value | Remarks |
147+
|---|---|---|
148+
| Name | Enter **broken**. | |
149+
| Clone settings from: | Select **my-sre-app**. | |
145150
146151
1. Scroll to the bottom of the dialog window and Select **Add**. The deployment slot takes a minute to complete.
147152
@@ -211,15 +216,28 @@ Now that you have an agent that sees your App Service app, you can create an opp
211216
212217
## 6. Break the app
213218
214-
1. Now that the agent has been created, browse to the app's URL.
219+
1. In your App Service app page, find **Deployment* section in the left menu and select **Deployment slots**.
220+
221+
1. Select **Swap**.
222+
223+
1. Enter the following values in the *Swap* dialog window.
224+
225+
| Property | Value | Remarks |
226+
|---|---|---|
227+
| Source | Select **my-sre-app-broken**. | |
228+
| Target | Select **my-sre-app**. | |
229+
230+
1. Scroll to the bottom of the dialog window and select **Start Swap**. The swap can take a minute to complete.
231+
232+
1. Now that the slot has been swapped, browse to the app's URL.
215233
216-
1. Try to convert all the images.
234+
1. Try to convert 5 images.
217235
218236
![Convert first five images](./media/tutorial-azure-monitor/sample-monitor-app-convert-five-images.png)
219237
220-
This action fails and produces an error that wasn't tested during development.
238+
1. This action fails and produces an error that wasn't tested during development.
221239
222-
![The convert will result in a HTTP 500 error](./media/tutorial-azure-monitor/sample-monitor-app-http-500.png)
240+
![The convert will result in a HTTP 500 error](./media/tutorial-azure-monitor/sample-monitor-app-http-500.png)
223241
224242
## 7. Fix the app
225243

0 commit comments

Comments
 (0)