Skip to content

Commit d2f6965

Browse files
committed
edits
1 parent f7c555a commit d2f6965

File tree

4 files changed

+10
-16
lines changed

4 files changed

+10
-16
lines changed

articles/spring-apps/enterprise/concept-manage-monitor-app-spring-boot-actuator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ In the Enterprise plan, there are two ways to secure the access:
7070

7171
- You can disable the public endpoint of apps and configure a routing rule in VMware Spring Cloud Gateway to disable actuator access from the public. For more information, see [Configure VMware Spring Cloud Gateway](./how-to-configure-enterprise-spring-cloud-gateway.md).
7272

73-
- You can configure the actuator to listen on a different HTTP port from the main application. In a standalone application, the actuator HTTP port defaults to the same as the main HTTP port. For the application to listen on a different port, set the property `management.server.port`. The Application Live View is unable to automatically detect this port change, you also need to configure the property on an Azure Spring Apps deployment. This way, you're unable to access the actuator from the public, but the Application Live View can read from the actuator endpoint via another port. For more information, see [Use Application Live View with the Azure Spring Apps Enterprise plan](./how-to-use-application-live-view.md).
73+
- You can configure the actuator to listen on a different HTTP port from the main application. In a standalone application, the actuator HTTP port defaults to the same as the main HTTP port. For the application to listen on a different port, set the `management.server.port` property. The Application Live View is unable to automatically detect this port change, so you also need to configure the property on an Azure Spring Apps deployment. Then, the actuator isn't publically accessible, but the Application Live View can read from the actuator endpoint via another port. For more information, see [Use Application Live View with the Azure Spring Apps Enterprise plan](./how-to-use-application-live-view.md).
7474

7575
## Next steps
7676

articles/spring-apps/enterprise/how-to-use-application-live-view.md

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ You can view the state of Application Live View in the Azure portal on the **Ove
122122

123123
### [Azure CLI](#tab/Azure-CLI)
124124

125-
Use the following command to view Application Live View in the Azure CLI:
125+
Use the following command to view Application Live View:
126126

127127
```azurecli
128128
az spring application-live-view show \
@@ -200,7 +200,7 @@ Use the following steps to deploy an app and monitor it in Application Live View
200200

201201
1. After the app is successfully deployed, you can monitor it using the Application Live View dashboard on Dev Tools Portal. For more information, see [Monitor apps by Application Live View](./monitor-apps-by-application-live-view.md).
202202

203-
If you enabled Dev Tools Portal and exposed a public endpoint, use the following command to get the Dev Tools Portal dashboard URL. Add the suffix `/app-live-view` to compose the endpoint to access Application Live View.
203+
If you already enabled Dev Tools Portal and exposed a public endpoint, use the following command to get the Dev Tools Portal dashboard URL. Add the suffix `/app-live-view` to compose the endpoint to access Application Live View.
204204

205205
```azurecli
206206
az spring dev-tool show --service <Azure-Spring-Apps-service-instance-name> \
@@ -221,7 +221,7 @@ If you enabled Dev Tools Portal and exposed a public endpoint, use <kbd>Ctrl</kb
221221

222222
Use the following steps to manage Application Live View using the Azure portal:
223223

224-
1. Navigate to your service resource, and then select **Developer Tools**.
224+
1. Navigate to your Azure Spring Apps service instance, and then select **Developer Tools**.
225225
1. Select **Manage tools**.
226226

227227
:::image type="content" source="media/how-to-use-application-live-view/manage.png" alt-text="Screenshot of the Azure portal that shows the Developer Tools page." lightbox="media/how-to-use-application-live-view/manage.png":::
@@ -255,23 +255,17 @@ az spring dev-tool create \
255255

256256
## Configure customized Spring Boot actuator
257257

258-
Application Live View can automatically connect and monitor Spring boot apps with default actuator settings. The default HTTP port of the actuator endpoints are same as the HTTP port of the application and all actuator endpoints are accessible by the default context path of the application that has the `/actuator` suffix.
258+
Application Live View can automatically connect and monitor Spring boot apps with default actuator settings. The default HTTP port of the actuator endpoints are same as the HTTP port of the application and all actuator endpoints are accessible by the default context path of the application, which has the `/actuator` suffix.
259259

260-
If the port (`management.server.port=`) or the context path (`management.endpoints.web.base-path=/`) is customized for an app, Application Live View stops connecting and monitoring the app and reports 404 for the app. To allow Application Live View to continue monitoring such apps, use the following steps to configure app deployment and customize actuator endpoints.
260+
If the port (`management.server.port=`) or the context path (`management.endpoints.web.base-path=/`) are customized for an app, Application Live View stops connecting and monitoring the app and reports 404 for the app. To enable Application Live View to continue monitoring such apps, use the following steps to configure the app deployment to customize the actuator endpoints.
261261

262262
### [Azure portal](#tab/Portal)
263263

264264
Use the following steps to configure the deployment using the Azure portal:
265265

266-
1. Navigate to your service resource, and then go to the **Apps** page.
267-
268-
:::image type="content" source="media/how-to-use-application-live-view/application-list.png" alt-text="Screenshot of the Azure portal that shows the Apps page for a service instance." lightbox="media/how-to-use-application-live-view/application-list.png":::
269-
270-
1. Select an application to configure the custom actuator settings.
271-
272-
:::image type="content" source="media/how-to-use-application-live-view/application-configuration.png" alt-text="Screenshot of the Azure portal that shows the Configuration page with Spring Boot actuator port and Spring Boot actuator path highlighted." lightbox="media/how-to-use-application-live-view/application-configuration.png":::
273-
274-
1. Select **Save** to apply the configuration changes.
266+
1. Navigate to your Azure Spring Apps service instance, then go to the **Apps** page and select an application.
267+
1. Select **Configuration** in the navigation pane.
268+
1. On the **General settings** tab, update the **Spring Boot actuator port** and **Spring Boot actuator path** values, then select **Save**.
275269

276270
:::image type="content" source="media/how-to-use-application-live-view/application-configuration-save.png" alt-text="Screenshot of the Azure portal that shows the Configuration page with Save option highlighted." lightbox="media/how-to-use-application-live-view/application-configuration-save.png":::
277271

@@ -292,7 +286,7 @@ az spring app deploy \
292286
---
293287

294288
> [!NOTE]
295-
> This configuration can be set to an app or a deployment. When you configure the app, it takes effect on the current active deployment. To prevent the configuration to apply on the deployment automatically, create another deployment.
289+
> You can set this configuration on an app or a deployment. When you configure an app, it actually takes effect on the current active deployment, but doesn't automatically affect new deployments.
296290
297291
## Use Application Live View in VS Code
298292

0 commit comments

Comments
 (0)