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
**This article applies to:** ❌ Standard consumption and dedicated (Preview) ✔️ Basic/Standard ❌ Enterprise
19
+
**This article applies to:** <br>
20
+
❌ Standard consumption and dedicated (Preview) ✔️ Basic/Standard ❌ Enterprise
20
21
21
22
This article shows you how to observe your production applications deployed on Azure Spring Apps and diagnose and investigate production issues. Observability is the ability to collect insights, analytics, and actionable intelligence through the logs, metrics, traces, and alerts.
22
23
@@ -38,13 +39,13 @@ Log Analytics and Application Insights are deeply integrated with Azure Spring A
38
39
-[Overview of Log Analytics in Azure Monitor](../azure-monitor/logs/log-analytics-overview.md)
## 4. Query logs to diagnose an application problem
48
+
## Query logs to diagnose an application problem
48
49
49
50
If you encounter production issues, you need to do a root cause analysis. Finding logs is an important part of this analysis, especially for distributed applications with logs spread across multiple applications. The trace data collected by Application Insights can help you find the log information for all related links, including the exception stack information.
50
51
@@ -53,7 +54,7 @@ This section explains how to use Log Analytics to query the application logs and
This section explains how to query application logs from the `AppPlatformLogsforSpring` table hosted by Azure Spring Apps. You can use the [Kusto Query Language](/azure/data-explorer/kusto/query/) to customize your queries for application logs.
59
60
@@ -105,7 +106,7 @@ AppPlatformLogsforSpring
105
106
106
107
:::image type="content" source="media/application-observability/show-error-logs.png" alt-text="Screenshot of the Azure portal that shows the Logs page with the example query and root cause logs." lightbox="media/application-observability/show-error-logs.png":::
107
108
108
-
### 4.2. Investigate request failures
109
+
### Investigate request failures
109
110
110
111
Use the following steps to investigate request failures in the application cluster and to view the failed request list and specific examples of the failed requests:
111
112
@@ -123,7 +124,7 @@ Use the following steps to investigate request failures in the application clust
123
124
124
125
:::image type="content" source="media/application-observability/application-insights-e2e-exception.png" alt-text="Screenshot of the Azure portal that shows the End-to-end transaction details page with Application Insights failures." lightbox="media/application-observability/application-insights-e2e-exception.png":::
125
126
126
-
## 5. Improve the application performance using Application Insights
127
+
## Improve the application performance using Application Insights
127
128
128
129
If there's a performance issue, the trace data collected by Application Insights can help find the log information of all relevant links, including the execution time of each link, to help find the location of the performance bottleneck.
129
130
@@ -145,7 +146,7 @@ To use Application Insights to investigate the performance issues, use the follo
Copy file name to clipboardExpand all lines: articles/spring-apps/includes/application-observability/application-observability-with-basic-standard-plan.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
@@ -13,13 +13,13 @@ For clarity of structure, a separate markdown file is used to describe how to ob
13
13
14
14
-->
15
15
16
-
## 2. Monitor the application
16
+
## Monitor the application
17
17
18
18
Azure Spring Apps provides several metrics by default, including metrics on availability, performance, HTTP requests, database connections, and more. These metrics are important to clarify goals, find improvements, and formulate specific improvement measures. For more information, see [Metrics for Azure Spring Apps](../../concept-metrics.md).
19
19
20
20
This section shows you how to use metrics with your application and monitor the metrics in an Azure dashboard using the key metrics charts generated by Azure Spring Apps and Application Insights.
21
21
22
-
### 2.1. Add metrics to monitor resource utilization
22
+
### Add metrics to monitor resource utilization
23
23
24
24
This section explains how to use the default metrics defined by Spring Boot and custom metrics defined in the application code. These metrics are available for applications running on Azure Spring Apps.
25
25
@@ -55,7 +55,7 @@ You can define a `REST API access` chart with custom metrics and update the **Ag
55
55
56
56
:::image type="content" source="../../media/application-observability/custom-metrics.png" alt-text="Screenshot of the Azure portal that shows the Application Insights Metrics page with REST API access chart." lightbox="../../media/application-observability/custom-metrics.png":::
57
57
58
-
### 2.2. Monitor the availability of the application
58
+
### Monitor the availability of the application
59
59
60
60
The availability or liveness of an application is determined using the Spring Boot Actuator. To check the liveness for each app on Azure Spring Apps, use the following steps:
61
61
@@ -84,7 +84,7 @@ The availability or liveness of an application is determined using the Spring Bo
A dashboard is a cognitive awareness and communication tool designed to help you visually identify trends, patterns, and anomalies, reason about what you see, and make effective decisions. It can aggregate various metric charts, quick links, and other important information.
90
90
@@ -223,13 +223,13 @@ To view the dashboard, go to your private PetClinic dashboard page to edit the t
223
223
224
224
:::image type="content" source="../../media/application-observability/dashboard-page.png" alt-text="Screenshot of the Azure portal that shows the sample application's private dashboard page." lightbox="../../media/application-observability/dashboard-page.png":::
225
225
226
-
## 3. Manage alerts
226
+
## Manage alerts
227
227
228
228
Alerts help you detect and address issues before users notice them by proactively notifying you when the metrics or logs indicate there might be a problem with your infrastructure or application.
229
229
230
230
This section explains how to set up action groups and alert rules to monitor your production application. The alert rules bind metric patterns with the action groups on the target resource. When the metric pattern matches the condition, then the alert rule activates and executes the associated set of actions.
231
231
232
-
### 3.1. Set up an action group
232
+
### Set up an action group
233
233
234
234
To set up an action group, use the following steps:
235
235
@@ -251,7 +251,7 @@ To set up an action group, use the following steps:
251
251
252
252
1. Select **Review and Create** to review your selections. Select **Create** to create the action group.
253
253
254
-
### 3.2. Set up an alert rule
254
+
### Set up an alert rule
255
255
256
256
To set up an alert rule, use the following steps:
257
257
@@ -312,7 +312,7 @@ To set up an alert rule, use the following steps:
312
312
313
313
:::image type="content" source="../../media/application-observability/alert-rule-list.png" alt-text="Screenshot of the Azure portal that shows the Alert rules page." lightbox="../../media/application-observability/alert-rule-list.png":::
314
314
315
-
### 3.3. Pin alerts to the dashboard
315
+
### Pin alerts to the dashboard
316
316
317
317
To pin the quickstart chart to the dashboard, use the following steps:
You can delete the Azure resource group, which includes all the resources in the resource group. Use the following steps to delete the entire resource group, including the newly created service:
0 commit comments