Skip to content

Commit edf0ecd

Browse files
committed
draft
1 parent 31ec177 commit edf0ecd

File tree

3 files changed

+264
-19
lines changed

3 files changed

+264
-19
lines changed
Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
---
2+
title: Monitoring data reference for Azure Synapse Analytics
3+
description: This article contains important reference material you need when you monitor Azure Synapse Analytics.
4+
ms.date: 03/25/2024
5+
ms.custom: horz-monitor
6+
ms.topic: reference
7+
author: jonburchel
8+
ms.author: jburchel
9+
ms.service: synapse-analytics
10+
---
11+
12+
# Azure Synapse Analytics monitoring data reference
13+
14+
[!INCLUDE [horz-monitor-ref-intro](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-intro.md)]
15+
16+
See [Monitor Azure Synapse Analytics](monitor-synapse-analytics.md) for details on the data you can collect for Azure Synapse Analytics and how to use it.
17+
18+
[!INCLUDE [horz-monitor-ref-metrics-intro](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-intro.md)]
19+
20+
### Supported metrics for Microsoft.Synapse/workspaces
21+
The following table lists the metrics available for the Microsoft.Synapse/workspaces resource type.
22+
[!INCLUDE [horz-monitor-ref-metrics-tableheader](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-tableheader.md)]
23+
[!INCLUDE [Microsoft.Synapse/workspaces](~/azure-reference-other-repo/azure-monitor-ref/supported-metrics/includes/microsoft-synapse-workspaces-metrics-include.md)]
24+
25+
### Supported metrics for Microsoft.Synapse/workspaces/bigDataPools
26+
The following table lists the metrics available for the Microsoft.Synapse/workspaces/bigDataPools resource type.
27+
[!INCLUDE [horz-monitor-ref-metrics-tableheader](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-tableheader.md)]
28+
[!INCLUDE [Microsoft.Synapse/workspaces/bigDataPools](~/azure-reference-other-repo/azure-monitor-ref/supported-metrics/includes/microsoft-synapse-workspaces-bigdatapools-metrics-include.md)]
29+
30+
### Supported metrics for Microsoft.Synapse/workspaces/kustoPools
31+
The following table lists the metrics available for the Microsoft.Synapse/workspaces/kustoPools resource type.
32+
[!INCLUDE [horz-monitor-ref-metrics-tableheader](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-tableheader.md)]
33+
[!INCLUDE [Microsoft.Synapse/workspaces/kustoPools](~/azure-reference-other-repo/azure-monitor-ref/supported-metrics/includes/microsoft-synapse-workspaces-kustopools-metrics-include.md)]
34+
35+
### Supported metrics for Microsoft.Synapse/workspaces/scopePools
36+
The following table lists the metrics available for the Microsoft.Synapse/workspaces/scopePools resource type.
37+
[!INCLUDE [horz-monitor-ref-metrics-tableheader](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-tableheader.md)]
38+
[!INCLUDE [Microsoft.Synapse/workspaces/scopePools](~/azure-reference-other-repo/azure-monitor-ref/supported-metrics/includes/microsoft-synapse-workspaces-scopepools-metrics-include.md)]
39+
40+
### Supported metrics for Microsoft.Synapse/workspaces/sqlPools
41+
The following table lists the metrics available for the Microsoft.Synapse/workspaces/sqlPools resource type.
42+
[!INCLUDE [horz-monitor-ref-metrics-tableheader](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-tableheader.md)]
43+
[!INCLUDE [Microsoft.Synapse/workspaces/sqlPools](~/azure-reference-other-repo/azure-monitor-ref/supported-metrics/includes/microsoft-synapse-workspaces-sqlpools-metrics-include.md)]
44+
45+
#### Details
46+
47+
- Dedicated SQL pool measures performance in compute data warehouse units (cDWUs). Rather than surfacing details of individual nodes such as memory per node or number of CPUs per node, the intent behind emitting metrics such as `MemoryUsedPercent` and `CPUPercent` is to show general usage trend over a period of time. These trends help administrators understand how an instance of dedicated SQL pool is utilized, and changes in footprint of memory and/or CPU could be a trigger for actions such as scale-up or scale-down of cDWUs, or investigating queries that might require optimization.
48+
49+
DWU used represents only a high-level representation of usage across the SQL pool and isn't a comprehensive indicator of utilization. To determine whether to scale up or down, consider all factors that DWU can impact, such as concurrency, memory, `tempdb`, and adaptive cache capacity. [Run your workload at different DWU settings](sql-data-warehouse-manage-compute-overview.md#finding-the-right-size-of-data-warehouse-units) to determine what works best to meet your business objectives.
50+
51+
- Memory percentage reflects utilization even if the data warehouse is idle, not active workload memory consumption. Track this metric along with `tempdb` and Gen2 cache to decide whether you need to scale for more cache capacity to increase workload performance.
52+
53+
- Failed and successful connections are reported for a particular data warehouse, not for the server itself.
54+
55+
[!INCLUDE [horz-monitor-ref-metrics-dimensions-intro](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-dimensions-intro.md)]
56+
57+
[!INCLUDE [horz-monitor-ref-metrics-dimensions](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-dimensions.md)]
58+
59+
**Microsoft.Synapse/workspaces**
60+
61+
Result, FailureType, Activity, ActivityType, Pipeline, Trigger,<br>
62+
EventType, TableName, LinkTableStatus, LinkConnectionName,<br>
63+
SQLPoolName, SQLDatabaseName, JobName, LogicalName, PartitionId, ProcessorInstance
64+
65+
Use the `Result` dimension of the `IntegrationActivityRunsEnded`, `IntegrationPipelineRunsEnded`, `IntegrationTriggerRunsEnded`, and `BuiltinSqlPoolDataRequestsEnded` metrics to filter by Succeeded, Failed, or Cancelled final state.
66+
67+
**Microsoft.Synapse/workspaces/bigDataPools**
68+
69+
SubmitterId,<br>
70+
JobState, JobType, JobResult
71+
72+
**Microsoft.Synapse/workspaces/kustoPools**
73+
Database, SealReason,<br>
74+
ComponentType, ComponentName,<br>
75+
ContinuousExportName, Result,<br>
76+
EventStatus, State, RoleInstance,<br>
77+
IngestionResultDetails, FailureKind,<br>
78+
MaterializedViewName, Kind, Result,<br>
79+
QueryStatus, ComponentType, CommandType
80+
81+
**Microsoft.Synapse/workspaces/scopePools**
82+
83+
JobType, JobResult
84+
85+
**Microsoft.Synapse/workspaces/sqlPools**
86+
87+
IsUserDefined, Result
88+
89+
[!INCLUDE [horz-monitor-ref-resource-logs](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-resource-logs.md)]
90+
91+
### Supported resource logs for Microsoft.Synapse/workspaces
92+
[!INCLUDE [Microsoft.Synapse/workspaces](~/azure-reference-other-repo/azure-monitor-ref/supported-logs/includes/microsoft-synapse-workspaces-logs-include.md)]
93+
94+
> [!NOTE]
95+
> The event **SynapseBuiltinSqlPoolRequestsEnded** is emitted only for queries that read data from storage. It's not emitted for queries that process only metadata.
96+
97+
### Supported resource logs for Microsoft.Synapse/workspaces/bigDataPools
98+
[!INCLUDE [Microsoft.Synapse/workspaces/bigDataPools](~/azure-reference-other-repo/azure-monitor-ref/supported-logs/includes/microsoft-synapse-workspaces-bigdatapools-logs-include.md)]
99+
100+
### Supported resource logs for Microsoft.Synapse/workspaces/kustoPools
101+
[!INCLUDE [Microsoft.Synapse/workspaces/kustoPools](~/azure-reference-other-repo/azure-monitor-ref/supported-logs/includes/microsoft-synapse-workspaces-kustopools-logs-include.md)]
102+
103+
### Supported resource logs for Microsoft.Synapse/workspaces/scopePools
104+
[!INCLUDE [Microsoft.Synapse/workspaces/scopePools](~/azure-reference-other-repo/azure-monitor-ref/supported-logs/includes/microsoft-synapse-workspaces-scopepools-logs-include.md)]
105+
106+
### Supported resource logs for Microsoft.Synapse/workspaces/sqlPools
107+
[!INCLUDE [Microsoft.Synapse/workspaces/sqlPools](~/azure-reference-other-repo/azure-monitor-ref/supported-logs/includes/microsoft-synapse-workspaces-sqlpools-logs-include.md)]
108+
109+
### Dynamic Management Views (DMVs)
110+
111+
For more information on these logs, see the following information:
112+
113+
- [sys.dm_pdw_exec_requests](/sql/relational-databases/system-dynamic-management-views/sys-dm-pdw-exec-requests-transact-sql?view=azure-sqldw-latest&preserve-view=true)
114+
- [sys.dm_pdw_request_steps](/sql/relational-databases/system-dynamic-management-views/sys-dm-pdw-request-steps-transact-sql?view=azure-sqldw-latest&preserve-view=true)
115+
- [sys.dm_pdw_dms_workers](/sql/relational-databases/system-dynamic-management-views/sys-dm-pdw-dms-workers-transact-sql?view=azure-sqldw-latest&preserve-view=true)
116+
- [sys.dm_pdw_waits](/sql/relational-databases/system-dynamic-management-views/sys-dm-pdw-waits-transact-sql?view=azure-sqldw-latest&preserve-view=true)
117+
- [sys.dm_pdw_sql_requests](/sql/relational-databases/system-dynamic-management-views/sys-dm-pdw-sql-requests-transact-sql?view=azure-sqldw-latest&preserve-view=true)
118+
119+
[!INCLUDE [horz-monitor-ref-logs-tables](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-logs-tables.md)]
120+
121+
### Synapse Workspaces
122+
Microsoft.Synapse/workspaces
123+
124+
- [AzureActivity](/azure/azure-monitor/reference/tables/AzureActivity#columns)
125+
- [SynapseRbacOperations](/azure/azure-monitor/reference/tables/SynapseRbacOperations#columns)
126+
- [SynapseGatewayApiRequests](/azure/azure-monitor/reference/tables/SynapseGatewayApiRequests#columns)
127+
- [SynapseSqlPoolExecRequests](/azure/azure-monitor/reference/tables/SynapseSqlPoolExecRequests#columns)
128+
- [SynapseSqlPoolRequestSteps](/azure/azure-monitor/reference/tables/SynapseSqlPoolRequestSteps#columns)
129+
- [SynapseSqlPoolDmsWorkers](/azure/azure-monitor/reference/tables/SynapseSqlPoolDmsWorkers#columns)
130+
- [SynapseSqlPoolWaits](/azure/azure-monitor/reference/tables/SynapseSqlPoolWaits#columns)
131+
- [SynapseSqlPoolSqlRequests](/azure/azure-monitor/reference/tables/SynapseSqlPoolSqlRequests#columns)
132+
- [SynapseIntegrationPipelineRuns](/azure/azure-monitor/reference/tables/SynapseIntegrationPipelineRuns#columns)
133+
- [SynapseLinkEvent](/azure/azure-monitor/reference/tables/SynapseLinkEvent#columns)
134+
- [SynapseIntegrationActivityRuns](/azure/azure-monitor/reference/tables/SynapseIntegrationActivityRuns#columns)
135+
- [SynapseIntegrationTriggerRuns](/azure/azure-monitor/reference/tables/SynapseIntegrationTriggerRuns#columns)
136+
- [SynapseBigDataPoolApplicationsEnded](/azure/azure-monitor/reference/tables/SynapseBigDataPoolApplicationsEnded#columns)
137+
- [SynapseBuiltinSqlPoolRequestsEnded](/azure/azure-monitor/reference/tables/SynapseBuiltinSqlPoolRequestsEnded#columns)
138+
- [SQLSecurityAuditEvents](/azure/azure-monitor/reference/tables/SQLSecurityAuditEvents#columns)
139+
- [SynapseScopePoolScopeJobsEnded](/azure/azure-monitor/reference/tables/SynapseScopePoolScopeJobsEnded#columns)
140+
- [SynapseScopePoolScopeJobsStateChange](/azure/azure-monitor/reference/tables/AzureActivity#columns)
141+
- [SynapseDXCommand](/azure/azure-monitor/reference/tables/SynapseDXCommand#columns)
142+
- [SynapseDXFailedIngestion](/azure/azure-monitor/reference/tables/SynapseDXFailedIngestion#columns)
143+
- [SynapseDXIngestionBatching](/azure/azure-monitor/reference/tables/SynapseDXIngestionBatching#columns)
144+
- [SynapseDXQuery](/azure/azure-monitor/reference/tables/SynapseDXQuery#columns)
145+
- [SynapseDXSucceededIngestion](/azure/azure-monitor/reference/tables/SynapseDXSucceededIngestion#columns)
146+
- [SynapseDXTableUsageStatistics](/azure/azure-monitor/reference/tables/SynapseDXTableUsageStatistics#columns)
147+
- [SynapseDXTableDetails](/azure/azure-monitor/reference/tables/SynapseDXTableDetails#columns)
148+
149+
[!INCLUDE [horz-monitor-ref-activity-log](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-activity-log.md)]
150+
151+
- [Microsoft.Sql resource provider operations](/azure/role-based-access-control/permissions/databases#microsoftsql)
152+
- [Microsoft.Synapse resource provider operations](/azure/role-based-access-control/permissions/analytics#microsoftsynapse)
153+
154+
## Related content
155+
156+
- See [Monitor Azure Synapse Analytics](monitor-synapse-analytics.md) for a description of monitoring Synapse Analytics.
157+
- See [Monitor Azure resources with Azure Monitor](/azure/azure-monitor/essentials/monitor-azure-resource) for details on monitoring Azure resources.
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
---
2+
title: Monitor Azure Synapse Analytics
3+
description: Start here to learn how to monitor Azure Synapse Analytics.
4+
ms.date: 03/25/2024
5+
ms.custom: horz-monitor
6+
ms.topic: conceptual
7+
author: jonburchel
8+
ms.author: jburchel
9+
ms.service: synapse-analytics
10+
---
11+
12+
# Monitor Azure Synapse Analytics
13+
14+
[!INCLUDE [horz-monitor-intro](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-intro.md)]
15+
16+
## Monitoring methods
17+
18+
There are several ways to monitor activities in your Synapse Analytics workspace. You can collect and analyze metrics and logs for built-in and serverless SQL pools, dedicated SQL pools, Azure Spark pools, and Data Explorer pools (preview). You can monitor current and historical activities for SQL, Apache Spark, pipelines and triggers, and integration runtimes.
19+
20+
### Synapse Studio
21+
22+
Open Synapse Studio and navigate to the **Monitor** hub to see a history of all the activities in the workspace and which ones are active.
23+
24+
- Under **Integration**, you can monitor pipelines, triggers, and integration runtimes.
25+
- Under **Activities**, you can monitor Spark and SQL activities.
26+
27+
For more information about monitoring in Synapse Studio, see [Monitor your Synapse Workspace](get-started-monitor.md).
28+
29+
- For information on monitoring pipeline runs, see [Monitor pipeline runs in Synapse Studio](monitoring/how-to-monitor-pipeline-runs.md).
30+
- For information on monitoring Apache Spark applications, see [Monitor Apache Spark applications in Synapse Studio](monitoring/apache-spark-applications.md).
31+
- For information on monitoring SQL pools, see [Use Synapse Studio to monitor your SQL pools](monitoring/how-to-monitor-sql-pools.md).
32+
- For information on monitoring SQL requests, see [Monitor SQL requests in Synapse Studio](monitoring/how-to-monitor-sql-requests.md).
33+
34+
### DMVs and Query Store
35+
36+
To programmatically monitor Synapse SQL via T-SQL, Synapse Analytics provides a set of Dynamic Management Views (DMVs). These views are useful to troubleshoot and identify performance bottlenecks with your workload. For more information, see [DMVs](sql/query-history-storage-analysis.md#dmvs) and [Monitor your Azure Synapse Analytics dedicated SQL pool workload using DMVs](sql-data-warehouse/sql-data-warehouse-manage-monitor.md). For the list of DMVs that apply to Synapse SQL, see [Dedicated SQL pool Dynamic Management Views (DMVs)](sql/reference-tsql-system-views.md#dedicated-sql-pool-dynamic-management-views-dmvs).
37+
38+
Query Store is a set of internal stores and DMVs that provide insight on query plan choice and performance. Query Store simplifies performance troubleshooting by helping find performance differences caused by query plan changes. For more information, see [Query Store](sql/query-history-storage-analysis.md#query-store).
39+
40+
### Azure portal
41+
42+
You can monitor Synapse Analytics workspaces and pools directly from their Azure portal pages. On the left sidebar menu, you can access the Azure **Activity log**, or select **Alerts**, **Metrics**, **Diagnostic settings**, **Logs**, or **Advisor recommendations** from the **Monitoring** section. This article provides more details about these options.
43+
44+
[!INCLUDE [horz-monitor-resource-types](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-resource-types.md)]
45+
46+
The resource types for Synapse Analytics include:
47+
48+
- Microsoft.Synapse/workspaces
49+
- Microsoft.Synapse/workspaces/bigDataPools
50+
- Microsoft.Synapse/workspaces/kustoPools
51+
- Microsoft.Synapse/workspaces/scopePools
52+
- Microsoft.Synapse/workspaces/sqlPools
53+
54+
For more information about the resource types for Azure Synapse Analytics, see [Azure Synapse Analytics monitoring data reference](monitor-synapse-analytics-reference.md).
55+
56+
[!INCLUDE [horz-monitor-data-storage](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-data-storage.md)]
57+
58+
Synapse Analytics supports storing monitoring data in Azure Storage or Azure Data Lake Storage Gen 2.
59+
60+
[!INCLUDE [horz-monitor-platform-metrics](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-platform-metrics.md)]
61+
62+
For lists of available platform metrics for Synapse Analytics, see [Synapse Analytics monitoring data reference](monitor-synapse-analytics-reference.md#metrics).
63+
64+
Synapse Analytics Apache Spark pools support Prometheus metrics and Grafana dashboards. For more information, see [Monitor Apache Spark Applications metrics with Prometheus and Grafana](spark/use-prometheus-grafana-to-monitor-apache-spark-application-level-metrics.md).
65+
66+
[!INCLUDE [horz-monitor-resource-logs](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-resource-logs.md)]
67+
68+
For the available resource log categories, their associated Log Analytics tables, and the logs schemas for Synapse Analytics, see [Synapse Analytics monitoring data reference](monitor-synapse-analytics-reference.md#resource-logs).
69+
70+
[!INCLUDE [horz-monitor-activity-log](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-activity-log.md)]
71+
72+
[!INCLUDE [horz-monitor-analyze-data](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-analyze-data.md)]
73+
74+
For a comparison of using Query Store, DMVs, Log Analytics, or Azure Data Explorer to analyze query history and performance, see [Historical query storage and analysis in Azure Synapse Analytics](query-history-storage-analysis.md).
75+
76+
[!INCLUDE [horz-monitor-external-tools](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-external-tools.md)]
77+
78+
[!INCLUDE [horz-monitor-kusto-queries](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-kusto-queries.md)]
79+
80+
### Synapse Link table fail events
81+
Display sample failed Synapse Link table events.
82+
83+
```kusto
84+
SynapseLinkEvent
85+
| where OperationName == "TableFail"
86+
| limit 100
87+
```
88+
[!INCLUDE [horz-monitor-alerts](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-alerts.md)]
89+
90+
### Synapse Analytics alert rules
91+
92+
The following table lists some suggested alerts for Synapse Analytics. These alerts are just examples. You can set alerts for any metric, log entry, or activity log entry that's listed in the [Synapse Analytics monitoring data reference](monitor-synapse-analytics-reference.md).
93+
94+
| Alert type | Condition | Description |
95+
|:---|:---|:---|
96+
| Metric| TempDB 75% | Maximum local tempdb used percentage greater than or equal to 75% of threshold value |
97+
| Metric| DWU Usage near 100% for 1 hour | Average DWU used percentage greater than 95% for one hour |
98+
| Log Analytics | SynapseSqlPoolRequestSteps | ShuffleMoveOperation over 10 million rows |
99+
100+
For more details about creating these and other recommended alert rules, see [Create alerts for your Synapse Dedicated SQL Pool](https://techcommunity.microsoft.com/t5/azure-synapse-analytics-blog/create-alerts-for-your-synapse-dedicated-sql-pool/ba-p/3773256).
101+
102+
[!INCLUDE [horz-monitor-advisor-recommendations](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-advisor-recommendations.md)]
103+
104+
## Related content
105+
- For a reference of the metrics, logs, and other important values created for Synapse Analytics, see [Synapse Analytics monitoring data reference](monitor-synapse-analytics-reference.md).
106+
- For general details on monitoring Azure resources with Azure Monitor, see [Monitor Azure resources with Azure Monitor](/azure/azure-monitor/essentials/monitor-azure-resource).

0 commit comments

Comments
 (0)