| title | Monitoring data reference for Azure Synapse Analytics |
|---|---|
| description | This article contains important reference material you need when you monitor Azure Synapse Analytics. |
| ms.date | 03/25/2024 |
| ms.custom | horz-monitor |
| ms.topic | reference |
| author | ajagadish-24 |
| ms.author | ajagadish |
| ms.service | azure-synapse-analytics |
[!INCLUDE horz-monitor-ref-intro]
See Monitor Azure Synapse Analytics for details on the data you can collect for Azure Synapse Analytics and how to use it.
[!INCLUDE horz-monitor-ref-metrics-intro]
The following table lists the metrics available for the Microsoft.Synapse/workspaces resource type. [!INCLUDE horz-monitor-ref-metrics-tableheader] [!INCLUDE microsoft-synapse-workspaces-metrics-include]
Azure Synapse Link emits the following metrics to Azure Monitor:
| Metric | Aggregation types | Description |
|---|---|---|
| Link connection events | Sum | Number of Synapse Link connection events, including start, stop, and failure |
| Link latency in seconds | Max, Min, Avg | Synapse Link data processing latency in seconds |
| Link processed data volume (bytes) | Sum | Data volume in bytes processed by Synapse Link |
| Link processed rows | Sum | Row counts processed by Synapse Link |
| Link table events | Sum | Number of Synapse Link table events, including snapshot, removal, and failure |
The following table lists the metrics available for the Microsoft.Synapse/workspaces/bigDataPools resource type. [!INCLUDE horz-monitor-ref-metrics-tableheader] [!INCLUDE microsoft-synapse-workspaces-bigdatapools-metrics-include]
The following table lists the metrics available for the Microsoft.Synapse/workspaces/kustoPools resource type. [!INCLUDE horz-monitor-ref-metrics-tableheader] [!INCLUDE microsoft-synapse-workspaces-kustopools-metrics-include]
The following table lists the metrics available for the Microsoft.Synapse/workspaces/scopePools resource type. [!INCLUDE horz-monitor-ref-metrics-tableheader] [!INCLUDE microsoft-synapse-workspaces-scopepools-metrics-include]
The following table lists the metrics available for the Microsoft.Synapse/workspaces/sqlPools resource type. [!INCLUDE horz-monitor-ref-metrics-tableheader] [!INCLUDE microsoft-synapse-workspaces-sqlpools-metrics-include]
-
Dedicated SQL pool measures performance in compute data warehouse units (DWUs). Rather than surfacing details of individual nodes such as memory per node or number of CPUs per node, metrics such as
MemoryUsedPercentandCPUPercentshow general usage trend over a period of time. These trends help administrators understand how a dedicated SQL pool instance is utilized. Changes in memory or CPU footprint could be a trigger for actions such as scale-up or scale-down of DWUs, or investigating queries that might require optimization. -
DWUUsedrepresents only high-level 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 size, and adaptive cache capacity. Run your workload at different DWU settings to determine what works best to meet your business objectives. -
MemoryUsedPercentreflects utilization even if the data warehouse is idle, not active workload memory consumption. Track this metric along with tempdb size and Gen2 cache to decide whether you need to scale for more cache capacity to increase workload performance. -
Failed and successful connections are reported for a particular data warehouse, not for the server itself.
[!INCLUDE horz-monitor-ref-metrics-dimensions-intro]
[!INCLUDE horz-monitor-ref-metrics-dimensions]
Result, FailureType, Activity, ActivityType, Pipeline, Trigger, EventType, TableName, LinkTableStatus, LinkConnectionName, SQLPoolName, SQLDatabaseName, JobName, LogicalName, PartitionId, ProcessorInstance
Use the Result dimension of the IntegrationActivityRunsEnded, IntegrationPipelineRunsEnded, IntegrationTriggerRunsEnded, and BuiltinSqlPoolDataRequestsEnded metrics to filter by Succeeded, Failed, or Canceled final state.
SubmitterId, JobState, JobType, JobResult
Database, SealReason, ComponentType, ComponentName, ContinuousExportName, Result, EventStatus, State, RoleInstance, IngestionResultDetails, FailureKind, MaterializedViewName, Kind, Result, QueryStatus, ComponentType, CommandType
JobType, JobResult
IsUserDefined, Result
[!INCLUDE horz-monitor-ref-resource-logs]
[!INCLUDE microsoft-synapse-workspaces-logs-include]
Note
The event SynapseBuiltinSqlPoolRequestsEnded is emitted only for queries that read data from storage. It's not emitted for queries that process only metadata.
[!INCLUDE microsoft-synapse-workspaces-bigdatapools-logs-include]
[!INCLUDE microsoft-synapse-workspaces-kustopools-logs-include]
[!INCLUDE microsoft-synapse-workspaces-scopepools-logs-include]
[!INCLUDE microsoft-synapse-workspaces-sqlpools-logs-include]
For more information on these logs, see the following information:
- sys.dm_pdw_exec_requests
- sys.dm_pdw_request_steps
- sys.dm_pdw_dms_workers
- sys.dm_pdw_waits
- sys.dm_pdw_sql_requests
To view the list of DMVs that apply to Synapse SQL, see System views supported in Synapse SQL.
[!INCLUDE horz-monitor-ref-logs-tables]
Microsoft.Synapse/workspaces
- AzureActivity
- SynapseRbacOperations
- SynapseGatewayApiRequests
- SynapseSqlPoolExecRequests
- SynapseSqlPoolRequestSteps
- SynapseSqlPoolDmsWorkers
- SynapseSqlPoolWaits
- SynapseSqlPoolSqlRequests
- SynapseIntegrationPipelineRuns
- SynapseLinkEvent
- SynapseIntegrationActivityRuns
- SynapseIntegrationTriggerRuns
- SynapseBigDataPoolApplicationsEnded
- SynapseBuiltinSqlPoolRequestsEnded
- SQLSecurityAuditEvents
- SynapseScopePoolScopeJobsEnded
- SynapseScopePoolScopeJobsStateChange
- SynapseDXCommand
- SynapseDXFailedIngestion
- SynapseDXIngestionBatching
- SynapseDXQuery
- SynapseDXSucceededIngestion
- SynapseDXTableUsageStatistics
- SynapseDXTableDetails
| Configuration name | Default value | Description |
|---|---|---|
| spark.synapse.logAnalytics.enabled | false | To enable the Log Analytics sink for the Spark applications, true. Otherwise, false. |
| spark.synapse.logAnalytics.workspaceId | - | The destination Log Analytics workspace ID. |
| spark.synapse.logAnalytics.secret | - | The destination Log Analytics workspace secret. |
| spark.synapse.logAnalytics.keyVault.linkedServiceName | - | The Key Vault linked service name for the Log Analytics workspace ID and key. |
| spark.synapse.logAnalytics.keyVault.name | - | The Key Vault name for the Log Analytics ID and key. |
| spark.synapse.logAnalytics.keyVault.key.workspaceId | SparkLogAnalyticsWorkspaceId | The Key Vault secret name for the Log Analytics workspace ID. |
| spark.synapse.logAnalytics.keyVault.key.secret | SparkLogAnalyticsSecret | The Key Vault secret name for the Log Analytics workspace |
| spark.synapse.logAnalytics.uriSuffix | ods.opinsights.azure.com | The destination Log Analytics workspace URI suffix. If your workspace isn't in Azure global, you need to update the URI suffix according to the respective cloud. |
| spark.synapse.logAnalytics.filter.eventName.match | - | Optional. The comma-separated spark event names, you can specify which events to collect. For example: SparkListenerJobStart,SparkListenerJobEnd |
| spark.synapse.logAnalytics.filter.loggerName.match | - | Optional. The comma-separated log4j logger names, you can specify which logs to collect. For example: org.apache.spark.SparkContext,org.example.Logger |
| spark.synapse.logAnalytics.filter.metricName.match | - | Optional. The comma-separated spark metric name suffixes, you can specify which metrics to collect. For example: jvm.heap.used |
Note
- For Microsoft Azure operated by 21Vianet, the
spark.synapse.logAnalytics.uriSuffixparameter should beods.opinsights.azure.cn. - For Azure Government, the
spark.synapse.logAnalytics.uriSuffixparameter should beods.opinsights.azure.us. - For any cloud except Azure, the
spark.synapse.logAnalytics.keyVault.nameparameter should be the fully qualified domain name (FQDN) of the Key Vault. For example,AZURE_KEY_VAULT_NAME.vault.usgovcloudapi.netfor AzureUSGovernment.
[!INCLUDE horz-monitor-ref-activity-log]
- See Monitor Azure Synapse Analytics for a description of monitoring Synapse Analytics.
- See Monitor Azure resources with Azure Monitor for details on monitoring Azure resources.