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-cloud/diagnostic-services.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,19 +25,19 @@ Choose the log category and metric category you want to monitor.
25
25
26
26
|Log | Description |
27
27
|----|----|
28
-
|**ApplicationConsole**| Console log of all customer applications. |
28
+
|**ApplicationConsole**| Console log of all customer applications. |
29
29
|**SystemLogs**| Currently, only [Spring Cloud Config Server](https://cloud.spring.io/spring-cloud-config/reference/html/#_spring_cloud_config_server) logs in this category. |
30
30
31
31
## Metrics
32
32
33
33
For a complete list of metrics, see [Spring Cloud Metrics](https://docs.microsoft.com/azure/spring-cloud/spring-cloud-concept-metrics#user-metrics-options).
34
34
35
-
To get started, enable one of these services to receive the data. To learn about configuring Log Analytics, see [Get started with Log Analytics in Azure Monitor](../azure-monitor/log-query/get-started-portal.md).
35
+
To get started, enable one of these services to receive the data. To learn about configuring Log Analytics, see [Get started with Log Analytics in Azure Monitor](../azure-monitor/log-query/get-started-portal.md).
36
36
37
37
## Configure diagnostics settings
38
38
39
39
1. In the Azure portal, go to your Azure Spring Cloud instance.
40
-
1. Select the **Diagnostics settings** option, and then select **Add Diagnostics setting**.
40
+
1. Select **diagnostics settings** option, and then select **Add diagnostics setting**.
41
41
1. Enter a name for the setting, and then choose where you want to send the logs. You can select any combination of the following three options:
42
42
***Archive to a storage account**
43
43
***Stream to an event hub**
@@ -47,16 +47,17 @@ To get started, enable one of these services to receive the data. To learn about
47
47
1. Select **Save**.
48
48
49
49
> [!NOTE]
50
-
> There might be a gap of up to 15 minutes between when logs or metrics are emitted and when they appear in your storage account, your event hub, or Log Analytics.
50
+
> 1. There might be a gap of up to 15 minutes between when logs or metrics are emitted and when they appear in your storage account, your event hub, or Log Analytics.
51
+
> 1. If the Azure Spring Cloud instance is deleted or moved, the operation will not cascade to the **diagnostics settings** resources. The **diagnostics settings** resources have to be deleted manually before the operation against its parent, i.e. the Azure Spring Cloud instance. Otherwise, if a new Azure Spring Cloud instance is provisioned with the same resource ID as the deleted one, or if the Azure Spring Cloud instance is moved back, the previous **diagnostics settings** resources continue extending it.
51
52
52
53
## View the logs and metrics
53
54
There are various methods to view logs and metrics as described under the following headings.
54
55
55
-
### Use Logs blade
56
+
### Use the Logs blade
56
57
57
58
1. In the Azure portal, go to your Azure Spring Cloud instance.
58
59
1. To open the **Log Search** pane, select **Logs**.
59
-
1. In the **Log** search box
60
+
1. In the **Tables** search box
60
61
* To view logs, enter a simple query such as:
61
62
62
63
```sql
@@ -76,7 +77,7 @@ There are various methods to view logs and metrics as described under the follow
76
77
1. In the Azure portal, in the left pane, select**Log Analytics**.
77
78
1. Select the Log Analytics workspace that you chose when you added your diagnostics settings.
78
79
1. To open the **Log Search** pane, select**Logs**.
79
-
1. In the **Log** search box,
80
+
1. In the **Tables** search box,
80
81
* to view logs, enter a simple query such as:
81
82
82
83
```sql
@@ -98,15 +99,14 @@ There are various methods to view logs and metrics as described under the follow
98
99
| where ServiceName == "YourServiceName" and AppName == "YourAppName" and InstanceName == "YourInstanceName"
99
100
| limit 50
100
101
```
101
-
> [!NOTE]
102
+
> [!NOTE]
102
103
>`==` is case sensitive, but `=~` is not.
103
104
104
105
To learn more about the query language that's used in Log Analytics, see [Azure Monitor log queries](../azure-monitor/log-query/query-language.md).
105
106
106
-
### Use your storage account
107
-
108
-
1. In the Azure portal, in the left pane, select **Storage accounts**.
107
+
### Use your storage account
109
108
109
+
1. In the Azure portal, find **Storage accounts** in left navigation panel or search box.
110
110
1. Select the storage account that you chose when you added your diagnostics settings.
111
111
1. To open the **Blob Container** pane, select **Blobs**.
112
112
1. To review application logs, search for a container called **insights-logs-applicationconsole**.
@@ -116,7 +116,7 @@ To learn more about sending diagnostics information to a storage account, see [S
116
116
117
117
### Use your event hub
118
118
119
-
1. In the Azure portal, in the left pane, select **Event Hubs**.
119
+
1. In the Azure portal, find **Event Hubs** in left navigation panel or search box.
120
120
121
121
1. Search for and select the event hub that you chose when you added your diagnostics settings.
122
122
1. To open the **Event Hub List** pane, select **Event Hubs**.
@@ -151,7 +151,7 @@ AppPlatformLogsforSpring
151
151
| where Log contains "error" or Log contains "exception"
152
152
```
153
153
154
-
Use this query to find errors, or modify the query terms to find specific error codes or exceptions.
154
+
Use this query to find errors, or modify the query terms to find specific error codes or exceptions.
155
155
156
156
### Show the number of errors and exceptions reported by your application over the last hour
Copy file name to clipboardExpand all lines: articles/spring-cloud/spring-cloud-faq.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.author: brendm
11
11
12
12
# Azure Spring Cloud FAQ
13
13
14
-
This article answers frequently asked questions about Azure Spring Cloud.
14
+
This article answers frequently asked questions about Azure Spring Cloud.
15
15
16
16
## General
17
17
@@ -89,6 +89,10 @@ Three services are currently supported: Azure Cosmos DB, Azure Database for MySQ
89
89
90
90
Yes.
91
91
92
+
### When I delete/move an Azure Spring Cloud service instance, will its extension resources be deleted/moved as well?
93
+
94
+
It depends on the logics of resource providers where the extension resources belong to. The extension resources of a `Microsoft.AppPlatform` instance do not belong to the same namespace, so the behaviors vary according to different resource providers. For example, the delete/move operation will not cascade to the **diagnostics settings** resources. If a new Azure Spring Cloud instance is provisioned with the same resource ID as the deleted one, or if the previous Azure Spring Cloud instance is moved back, the previous **diagnostics settings** resources continue extending it.
95
+
92
96
## Deployment
93
97
94
98
### Does Azure Spring Cloud support blue-green deployment?
0 commit comments