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/basic-standard/how-to-appdynamics-java-agent-monitor.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -220,7 +220,7 @@ You can define more metrics for the JVM, as shown in this screenshot of the **Me
220
220
221
221
## View AppDynamics Agent logs
222
222
223
-
By default, Azure Spring Apps will print the *info* level logs of the AppDynamics Agent to `STDOUT`. The logs will be mixed with the application logs. You can find the explicit agent version from the application logs.
223
+
By default, Azure Spring Apps prints the *info* level logs of the AppDynamics Agent to `STDOUT`. The logs are mixed with the application logs. You can find the explicit agent version from the application logs.
224
224
225
225
You can also get the logs of the AppDynamics Agent from the following locations:
226
226
@@ -230,10 +230,10 @@ You can also get the logs of the AppDynamics Agent from the following locations:
230
230
231
231
## Learn about AppDynamics Agent upgrade
232
232
233
-
The AppDynamics Agent will be upgraded regularly with JDK (quarterly). Agent upgrade may affect the following scenarios:
233
+
The AppDynamics Agent is upgraded regularly with JDK (quarterly). Agent upgrade might affect the following scenarios:
234
234
235
-
* Existing applications using AppDynamics Agent before upgrade will be unchanged, but will require restart or redeploy to engage the new version of AppDynamics Agent.
236
-
* Applications created after upgrade will use the new version of AppDynamics Agent.
235
+
- Existing applications using AppDynamics Agent before upgrade are unchanged, but require restart or redeploy to engage the new version of AppDynamics Agent.
236
+
- Applications created after upgrade use the new version of AppDynamics Agent.
| Creating | The resource is creating and isn't ready. |
53
-
| Updating | The resource is updating and the functionality may be different from the deployment definition until the update is complete. |
53
+
| Updating | The resource is updating and the functionality might be different from the deployment definition until the update is complete. |
54
54
| Succeeded | Successfully supplied resources and deploys the binary. The deployment's functionality is the same as the definition and all app instances are working. |
55
55
| Failed | Failed to achieve the *Succeeded* goal. |
56
56
| Deleting | The resource is being deleted which prevents operation, and the resource isn't available in this status. |
57
57
58
58
### Registration status
59
59
60
-
The app registration status shows the state in service discovery. Azure Spring Apps in Basic/Standard plan uses Eureka for service discovery. For more information on how the Eureka client calculates the state, see [Eureka's health checks](https://cloud.spring.io/spring-cloud-static/Greenwich.RELEASE/multi/multi__service_discovery_eureka_clients.html#_eureka_s_health_checks).
61
-
62
-
The Enterprise pricing plan uses [Tanzu Service Registry](how-to-enterprise-service-registry.md) for service discovery.
60
+
The app registration status shows the state in service discovery. The Basic/Standard plan uses Eureka for service discovery. For more information on how the Eureka client calculates the state, see [Eureka's health checks](https://cloud.spring.io/spring-cloud-static/Greenwich.RELEASE/multi/multi__service_discovery_eureka_clients.html#_eureka_s_health_checks). The Enterprise pricing plan uses [Tanzu Service Registry](how-to-enterprise-service-registry.md) for service discovery.
63
61
64
62
## App instances status
65
63
@@ -76,10 +74,10 @@ The instance status is reported as one of the following values:
76
74
77
75
| Value | Definition |
78
76
|-------------|------------|
79
-
| Starting | The binary is successfully deployed to the given instance. The instance booting the jar file may fail because the jar can't run properly. Azure Spring Apps will restart the app instance in 60 seconds if it detects that the app instance is still in the *Starting* state. |
77
+
| Starting | The binary is successfully deployed to the given instance. The instance booting the jar file might fail because the jar can't run properly. Azure Spring Apps restarts the app instance in 60 seconds if it detects that the app instance is still in the *Starting* state. |
80
78
| Running | The instance works. The instance can serve requests from inside Azure Spring Apps. |
81
-
| Failed | The app instance failed to start the user's binary after several retries. The app instance may be in one of the following states:<br/>- The app may stay in the *Starting* status and never be ready for serving requests.<br/>- The app may boot up but crashed in a few seconds. |
82
-
| Terminating | The app instance is shutting down. The app may not serve requests and the app instance will be removed. |
79
+
| Failed | The app instance failed to start the user's binary after several retries. The app instance might be in one of the following states:<br/>- The app might stay in the *Starting* status and never be ready for serving requests.<br/>- The app might boot up but crashed in a few seconds. |
80
+
| Terminating | The app instance is shutting down. The app might not serve requests and the app instance is removed. |
Spring Boot Actuator brings production-ready features to your apps. You can effortlessly monitor your app, collect metrics, and understand the status or database activity with this tool. Most importantly, you can gain access to professional-grade tools without needing to build them from scratch.
21
+
Spring Boot Actuator brings production-ready features to your apps. You can effortlessly monitor your app, collect metrics, and understand the status or database activity with this tool. You gain access to professional-grade tools without needing to build them from scratch.
22
22
23
-
The actuator exposes vital operational data about your running application, like health status, metrics, information, and more by using the HTTP endpoints or Java Management Extensions (JMX), making it easy to interact with. Once integrated, it provides several default endpoints, and like other Spring modules, it's easily configurable and extendable.
23
+
The actuator exposes vital operational data about your running application, like health status, metrics, information, and more. The actuator uses HTTP endpoints or Java Management Extensions (JMX), making it easy to interact with. After you integrate it, it provides several default endpoints, and like other Spring modules, it's easily configurable and extendable.
24
24
25
-
In Azure Spring Apps service instance, actuator is used for enriching metrics by using JMX. It can also work with Application Live View in Enterprise plan to help you get and interact with the data from apps.
25
+
Azure Spring Apps uses the actuator for enriching metrics through JMX. It can also work with Application Live View in the Enterprise plan to help you get and interact with the data from apps.
26
26
27
27
:::image type="content" source="media/concept-manage-monitor-app-spring-boot-actuator/data-flow.png" alt-text="Diagram that shows the data flow using Spring Boot Actuator." lightbox="media/concept-manage-monitor-app-spring-boot-actuator/data-flow.png":::
28
28
29
29
## Configure Spring Boot Actuator
30
30
31
+
The following sections describe how to configure the actuator.
32
+
31
33
### Add actuator dependency
32
34
33
-
To add the actuator to a Maven-based project, add the `Starter` dependency:
35
+
To add the actuator to a Maven-based project, add the following dependency:
34
36
35
37
```xml
36
38
<dependencies>
@@ -41,13 +43,11 @@ To add the actuator to a Maven-based project, add the `Starter` dependency:
41
43
</dependencies>
42
44
```
43
45
44
-
This configuration holds true for any Spring Boot version as versions are outlined in the Spring Boot Bill of Materials (BOM).
46
+
This configuration works any Spring Boot version because versions are covered in the Spring Boot Bill of Materials (BOM).
45
47
46
48
### Configure actuator endpoint
47
49
48
-
By default, Spring Boot application exposes the `health` endpoint only.
49
-
50
-
To observe the configuration and configurable environment, you need to enable `env` and `configprops` endpoints as well.
50
+
By default, a Spring Boot application exposes the `health` endpoint only. To observe the configuration and configurable environment, use the following steps to enable the `env` and `configprops` endpoints as well:
51
51
52
52
1. Go to app **Overview** pane, select **Configuration** in the setting menu, and then go to the **Environment variables** configuration page.
53
53
1. Add the following properties as in the "key:value" form. This environment opens the following Spring Actuator endpoints: `health`, `env`, and `configprops`.
@@ -64,9 +64,9 @@ To view all the endpoints built-in and related configurations, see the [Exposing
64
64
65
65
## Secure actuator endpoint
66
66
67
-
When you open the app to public, these actuator endpoints are exposed to public as well. To hide all endpoints, set `management.endpoints.web.exposure.exclude=*`, because `exclude` property takes precedence over the `include` property. This action might block Application Live View in Enterprise plan, or other apps or tools relying on the actuator HTTP endpoint.
67
+
When you open the app to the public, these actuator endpoints are exposed to the public as well. We recommend that you hide all endpoints by setting `management.endpoints.web.exposure.exclude=*`, because the `exclude` property takes precedence over the `include` property. Be aware that this action blocks Application Live View in the Enterprise plan and other apps or tools that rely on the actuator HTTP endpoint.
68
68
69
-
In the Enterprise plan, you can disable public endpoint of apps and configure VMware Spring Cloud Gateway to disable actuator access from public. For more information, see [Configure VMware Spring Cloud Gateway](./how-to-configure-enterprise-spring-cloud-gateway.md)
69
+
In the Enterprise plan, 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).
Copy file name to clipboardExpand all lines: articles/spring-apps/enterprise/how-to-start-stop-delete.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,9 +28,9 @@ This guide explains how to change an application's state in Azure Spring Apps by
28
28
29
29
## Application state
30
30
31
-
Your applications running in Azure Spring Apps may not need to run continuously. For example, an application may not always need to run if it's used only during business hours.
31
+
Your applications running in Azure Spring Apps might not need to run continuously. For example, an application might not always need to run if it's used only during business hours.
32
32
33
-
There may be times where you wish to stop or start an application. You can also restart an application as part of general troubleshooting steps or delete an application you no longer require.
33
+
There might be times where you wish to stop or start an application. You can also restart an application as part of general troubleshooting steps or delete an application you no longer require.
Copy file name to clipboardExpand all lines: articles/spring-apps/enterprise/troubleshoot.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ This article provides instructions for troubleshooting Azure Spring Apps develop
22
22
23
23
### My application can't start
24
24
25
-
When your application can't start, you may find that its endpoint can't be connected or it returns a 502 after a few retries.
25
+
When your application can't start, you might find that its endpoint can't be connected or it returns a 502 after a few retries.
26
26
27
27
For troubleshooting, export the logs to Azure Log Analytics. The table for Spring application logs is named *AppPlatformLogsforSpring*. To learn more, see [Analyze logs and metrics with diagnostics settings](diagnostic-services.md).
28
28
@@ -270,7 +270,7 @@ Creating an Azure Spring Apps Enterprise plan instance fails with error code "11
270
270
271
271
### No plans are available for market '\<Location>'
272
272
273
-
When you visit the SaaS offer [Azure Spring Apps Enterprise](https://aka.ms/ascmpoffer) in the Azure Marketplace, it may say "No plans are available for market '\<Location>'" as in the following image.
273
+
When you visit the SaaS offer [Azure Spring Apps Enterprise](https://aka.ms/ascmpoffer) in the Azure Marketplace, it might say "No plans are available for market '\<Location>'" as in the following image.
274
274
275
275
:::image type="content" source="./media/troubleshoot/no-enterprise-plans-available.png" alt-text="Screenshot of the Azure portal that shows the No plans are available for market error message." lightbox="./media/troubleshoot/no-enterprise-plans-available.png":::
0 commit comments