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
@@ -22,19 +22,19 @@ Choose the log category and metric category you want to monitor.
22
22
23
23
|Log | Description |
24
24
|----|----|
25
-
|**ApplicationConsole**| Console log of all customer applications. |
25
+
|**ApplicationConsole**| Console log of all customer applications. |
26
26
|**SystemLogs**| Currently, only [Spring Cloud Config Server](https://cloud.spring.io/spring-cloud-config/reference/html/#_spring_cloud_config_server) logs in this category. |
27
27
28
28
## Metrics
29
29
30
30
For a complete list of metrics, see [Spring Cloud Metrics](https://docs.microsoft.com/azure/spring-cloud/spring-cloud-concept-metrics#user-metrics-options).
31
31
32
-
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).
32
+
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).
33
33
34
34
## Configure diagnostics settings
35
35
36
36
1. In the Azure portal, go to your Azure Spring Cloud instance.
37
-
1. Select the **Diagnostics settings** option, and then select **Add Diagnostics setting**.
37
+
1. Select **diagnostics settings** option, and then select **Add diagnostics setting**.
38
38
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:
39
39
***Archive to a storage account**
40
40
***Stream to an event hub**
@@ -44,16 +44,17 @@ To get started, enable one of these services to receive the data. To learn about
44
44
1. Select **Save**.
45
45
46
46
> [!NOTE]
47
-
> 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.
47
+
> 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.
48
+
> 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.
48
49
49
50
## View the logs and metrics
50
51
There are various methods to view logs and metrics as described under the following headings.
51
52
52
-
### Use Logs blade
53
+
### Use the Logs blade
53
54
54
55
1. In the Azure portal, go to your Azure Spring Cloud instance.
55
56
1. To open the **Log Search** pane, select **Logs**.
56
-
1. In the **Log** search box
57
+
1. In the **Tables** search box
57
58
* To view logs, enter a simple query such as:
58
59
59
60
```sql
@@ -73,7 +74,7 @@ There are various methods to view logs and metrics as described under the follow
73
74
1. In the Azure portal, in the left pane, select**Log Analytics**.
74
75
1. Select the Log Analytics workspace that you chose when you added your diagnostics settings.
75
76
1. To open the **Log Search** pane, select**Logs**.
76
-
1. In the **Log** search box,
77
+
1. In the **Tables** search box,
77
78
* to view logs, enter a simple query such as:
78
79
79
80
```sql
@@ -95,15 +96,14 @@ There are various methods to view logs and metrics as described under the follow
95
96
| where ServiceName == "YourServiceName" and AppName == "YourAppName" and InstanceName == "YourInstanceName"
96
97
| limit 50
97
98
```
98
-
> [!NOTE]
99
+
> [!NOTE]
99
100
>`==` is case sensitive, but `=~` is not.
100
101
101
102
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).
102
103
103
-
### Use your storage account
104
-
105
-
1. In the Azure portal, in the left pane, select **Storage accounts**.
104
+
### Use your storage account
106
105
106
+
1. In the Azure portal, find **Storage accounts** in left navigation panel or search box.
107
107
1. Select the storage account that you chose when you added your diagnostics settings.
108
108
1. To open the **Blob Container** pane, select **Blobs**.
109
109
1. To review application logs, search for a container called **insights-logs-applicationconsole**.
@@ -113,7 +113,7 @@ To learn more about sending diagnostics information to a storage account, see [S
113
113
114
114
### Use your event hub
115
115
116
-
1. In the Azure portal, in the left pane, select **Event Hubs**.
116
+
1. In the Azure portal, find **Event Hubs** in left navigation panel or search box.
117
117
118
118
1. Search for and select the event hub that you chose when you added your diagnostics settings.
119
119
1. To open the **Event Hub List** pane, select **Event Hubs**.
@@ -148,7 +148,7 @@ AppPlatformLogsforSpring
148
148
| where Log contains "error" or Log contains "exception"
149
149
```
150
150
151
-
Use this query to find errors, or modify the query terms to find specific error codes or exceptions.
151
+
Use this query to find errors, or modify the query terms to find specific error codes or exceptions.
152
152
153
153
### 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