Skip to content

Commit 601c9f0

Browse files
2022013 bug fix, doc refresh
1 parent b607aa2 commit 601c9f0

File tree

4 files changed

+21
-19
lines changed

4 files changed

+21
-19
lines changed
Loading
34.6 KB
Loading

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

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
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+
ms.author: wiassaf
56
manager: craigg
7+
ms.reviewer: sngun
8+
ms.date: 09/13/2022
69
ms.service: synapse-analytics
10+
ms.subservice: sql-dw
711
ms.topic: conceptual
8-
ms.subservice: sql-dw
9-
ms.date: 02/04/2020
10-
ms.author: wiassaf
11-
ms.reviewer: sngun
1212
---
1313

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

2323
## Create a Log Analytics workspace
2424

25-
Navigate to the browse blade for Log Analytics workspaces and create a workspace
25+
Navigate to the browse blade for Log Analytics workspaces, or go to the services saerch and create a new Log Analytics workspace.
2626

27-
![Log Analytics workspaces](./media/sql-data-warehouse-monitor-workload-portal/log_analytics_workspaces.png)
27+
:::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.":::
2828

29-
![Screenshot shows the Log Analytics workspaces where you can select Add.](./media/sql-data-warehouse-monitor-workload-portal/add_analytics_workspace.png)
29+
:::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.":::
3030

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).
31+
For more details on workspaces, see [Create a Log Analytics workspace](../../azure-monitor/logs/quick-create-workspace.md).
3432

3533
## Turn on Resource logs
3634

@@ -42,11 +40,13 @@ Configure diagnostic settings to emit logs from your SQL pool. Logs consist of t
4240
- [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)
4341
- [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)
4442

45-
![Enabling resource logs](./media/sql-data-warehouse-monitor-workload-portal/enable_diagnostic_logs.png)
43+
:::image type="content" source="./media/sql-data-warehouse-monitor-workload-portal/enable_diagnostic_logs.png" alt-text="Enabling resource logs.":::
44+
45+
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**.
4646

47-
Logs can be emitted to Azure Storage, Stream Analytics, or Log Analytics. For this tutorial, select Log Analytics.
47+
:::image type="content" source="./media/sql-data-warehouse-monitor-workload-portal/specify_logs.png" alt-text="Specify logs.":::
4848

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

5151
## Run queries against Log Analytics
5252

@@ -57,14 +57,16 @@ Navigate to your Log Analytics workspace where you can do the following:
5757
- Create log alerts
5858
- Pin query results to a dashboard
5959

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).
60+
For details on the capabilities of log queries using Kusto, see [Kusto Query Language (KQL) overview](/azure/data-explorer/kusto/query/).
6161

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

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

6666
## Sample log queries
6767

68+
Set the [scope of your queries](../../azure-monitor/logs/scope.md) to the Log Analytics workspace resource.
69+
6870
```Kusto
6971
//List all queries
7072
AzureDiagnostics
@@ -85,10 +87,10 @@ AzureDiagnostics
8587
//Count of all queued queries
8688
AzureDiagnostics
8789
| where Category contains "waits"
88-
| where Type_s == "UserConcurrencyResourceType"
90+
| where Type == "UserConcurrencyResourceType"
8991
| summarize totalQueuedQueries = dcount(RequestId_s)
9092
```
9193

9294
## Next steps
9395

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.
96+
- 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)