Skip to content

Commit ac16ecc

Browse files
Merge pull request #211116 from WilliamDAssafMSFT/20220913-sql-data-warehouse-monitor-workload-portal
20220913 bug fix, doc refresh
2 parents d42b8a4 + ae15622 commit ac16ecc

File tree

4 files changed

+22
-21
lines changed

4 files changed

+22
-21
lines changed
Loading
34.6 KB
Loading

articles/synapse-analytics/sql-data-warehouse/sql-data-warehouse-monitor-workload-portal.md

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
---
2-
title: Monitor workload - Azure portal
2+
title: Monitor workload - Azure portal
33
description: Monitor Synapse SQL using the Azure portal
44
author: WilliamDAssafMSFT
5-
manager: craigg
6-
ms.service: synapse-analytics
7-
ms.topic: conceptual
8-
ms.subservice: sql-dw
9-
ms.date: 02/04/2020
105
ms.author: wiassaf
116
ms.reviewer: sngun
7+
ms.date: 09/13/2022
8+
ms.service: synapse-analytics
9+
ms.subservice: sql-dw
10+
ms.topic: conceptual
1211
---
1312

1413
# Monitor workload - Azure portal
@@ -22,15 +21,13 @@ This article describes how to use the Azure portal to monitor your workload. Thi
2221

2322
## Create a Log Analytics workspace
2423

25-
Navigate to the browse blade for Log Analytics workspaces and create a workspace
24+
In the Azure portal, navigate to the page for Log Analytics workspaces, or use the Azure services search window to create a new Log Analytics workspace.
2625

27-
![Log Analytics workspaces](./media/sql-data-warehouse-monitor-workload-portal/log_analytics_workspaces.png)
26+
:::image type="content" source="./media/sql-data-warehouse-monitor-workload-portal/add_analytics_workspace.png" alt-text="Screenshot shows the Log Analytics workspaces where you can select Add.":::
2827

29-
![Screenshot shows the Log Analytics workspaces where you can select Add.](./media/sql-data-warehouse-monitor-workload-portal/add_analytics_workspace.png)
28+
:::image type="content" source="./media/sql-data-warehouse-monitor-workload-portal/add_analytics_workspace_2.png" alt-text="Screenshot shows the Log Analytics workspace where you can enter values.":::
3029

31-
![Screenshot shows the Log Analytics workspace where you can enter values.](./media/sql-data-warehouse-monitor-workload-portal/add_analytics_workspace_2.png)
32-
33-
For more details on workspaces, visit the following [documentation](../../azure-monitor/logs/quick-create-workspace.md?toc=/azure/synapse-analytics/sql-data-warehouse/toc.json&bc=/azure/synapse-analytics/sql-data-warehouse/breadcrumb/toc.jsond#create-a-workspace).
30+
For more information on workspaces, see [Create a Log Analytics workspace](../../azure-monitor/logs/quick-create-workspace.md).
3431

3532
## Turn on Resource logs
3633

@@ -42,29 +39,33 @@ Configure diagnostic settings to emit logs from your SQL pool. Logs consist of t
4239
- [sys.dm_pdw_waits](/sql/relational-databases/system-dynamic-management-views/sys-dm-pdw-waits-transact-sql?toc=/azure/synapse-analytics/sql-data-warehouse/toc.json&bc=/azure/synapse-analytics/sql-data-warehouse/breadcrumb/toc.json&view=azure-sqldw-latest&preserve-view=true)
4340
- [sys.dm_pdw_sql_requests](/sql/relational-databases/system-dynamic-management-views/sys-dm-pdw-sql-requests-transact-sql?toc=/azure/synapse-analytics/sql-data-warehouse/toc.json&bc=/azure/synapse-analytics/sql-data-warehouse/breadcrumb/toc.json&view=azure-sqldw-latest&preserve-view=true)
4441

45-
![Enabling resource logs](./media/sql-data-warehouse-monitor-workload-portal/enable_diagnostic_logs.png)
42+
:::image type="content" source="./media/sql-data-warehouse-monitor-workload-portal/enable_diagnostic_logs.png" alt-text="Screenshot of the page to create a diagnostic setting in the Azure portal.":::
43+
44+
Logs can be emitted to Azure Storage, Stream Analytics, or Log Analytics. For this tutorial, select Log Analytics. Select all desired categories and metrics and choose **Send to Log Analytics workspace**.
4645

47-
Logs can be emitted to Azure Storage, Stream Analytics, or Log Analytics. For this tutorial, select Log Analytics.
46+
:::image type="content" source="./media/sql-data-warehouse-monitor-workload-portal/specify_logs.png" alt-text="Screenshot of the page to specify which logs to collect in the Azure portal.":::
4847

49-
![Specify logs](./media/sql-data-warehouse-monitor-workload-portal/specify_logs.png)
48+
Select **Save** to create the new diagnostic setting. It may take a few minutes for data to appear in queries.
5049

5150
## Run queries against Log Analytics
5251

53-
Navigate to your Log Analytics workspace where you can do the following:
52+
Navigate to your Log Analytics workspace where you can:
5453

5554
- Analyze logs using log queries and save queries for reuse
5655
- Save queries for reuse
5756
- Create log alerts
5857
- Pin query results to a dashboard
5958

60-
For details on the capabilities of log queries, visit the following [documentation](/azure/data-explorer/kusto/query/?bc=%2fazure%2fsynapse-analytics%2fsql-data-warehouse%2fbreadcrumb%2ftoc.json&toc=%2fazure%2fsynapse-analytics%2fsql-data-warehouse%2ftoc.json).
59+
For details on the capabilities of log queries using Kusto, see [Kusto Query Language (KQL) overview](/azure/data-explorer/kusto/query/).
6160

62-
![Log Analytics workspace editor](./media/sql-data-warehouse-monitor-workload-portal/log_analytics_workspace_editor.png)
61+
:::image type="content" source="./media/sql-data-warehouse-monitor-workload-portal/log_analytics_workspace_editor.png" alt-text="Log Analytics workspace editor.":::
6362

64-
![Log Analytics workspace queries](./media/sql-data-warehouse-monitor-workload-portal/log_analytics_workspace_queries.png)
63+
:::image type="content" source="./media/sql-data-warehouse-monitor-workload-portal/log_analytics_workspace_queries.png" alt-text="Log Analytics workspace queries.":::
6564

6665
## Sample log queries
6766

67+
Set the [scope of your queries](../../azure-monitor/logs/scope.md) to the Log Analytics workspace resource.
68+
6869
```Kusto
6970
//List all queries
7071
AzureDiagnostics
@@ -85,10 +86,10 @@ AzureDiagnostics
8586
//Count of all queued queries
8687
AzureDiagnostics
8788
| where Category contains "waits"
88-
| where Type_s == "UserConcurrencyResourceType"
89+
| where Type == "UserConcurrencyResourceType"
8990
| summarize totalQueuedQueries = dcount(RequestId_s)
9091
```
9192

9293
## Next steps
9394

94-
Now that you have set up and configured Azure monitor logs, [customize Azure dashboards](../../azure-portal/azure-portal-dashboards.md?toc=/azure/synapse-analytics/sql-data-warehouse/toc.json&bc=/azure/synapse-analytics/sql-data-warehouse/breadcrumb/toc.json) to share across your team.
95+
- Now that you have set up and configured Azure monitor logs, [customize Azure dashboards](../../azure-portal/azure-portal-dashboards.md?toc=/azure/synapse-analytics/sql-data-warehouse/toc.json&bc=/azure/synapse-analytics/sql-data-warehouse/breadcrumb/toc.json) to share across your team.

0 commit comments

Comments
 (0)