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/spring-apps/enterprise/concept-manage-monitor-app-spring-boot-actuator.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ In the Enterprise plan, there are two ways to secure the access:
70
70
71
71
- 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).
72
72
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).
Copy file name to clipboardExpand all lines: articles/spring-apps/enterprise/how-to-use-application-live-view.md
+9-15Lines changed: 9 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,7 @@ You can view the state of Application Live View in the Azure portal on the **Ove
122
122
123
123
### [Azure CLI](#tab/Azure-CLI)
124
124
125
-
Use the following command to view Application Live View in the Azure CLI:
125
+
Use the following command to view Application Live View:
126
126
127
127
```azurecli
128
128
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
200
200
201
201
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).
202
202
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.
204
204
205
205
```azurecli
206
206
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
221
221
222
222
Use the following steps to manage Application Live View using the Azure portal:
223
223
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**.
225
225
1. Select **Manage tools**.
226
226
227
227
:::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 \
255
255
256
256
## Configure customized Spring Boot actuator
257
257
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.
259
259
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.
261
261
262
262
### [Azure portal](#tab/Portal)
263
263
264
264
Use the following steps to configure the deployment using the Azure portal:
265
265
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**.
275
269
276
270
:::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":::
277
271
@@ -292,7 +286,7 @@ az spring app deploy \
292
286
---
293
287
294
288
> [!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.
0 commit comments