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
Azure SQL Analytics is an advanced cloud monitoring solution for monitoring performance of single databases, elastic pools, and managed instance databases in Azure SQL at scale and across multiple subscriptions in a single view. Azure SQL Analytics collects and visualizes key performance metrics with built-in intelligence for performance troubleshooting.
18
+
Azure SQL Analytics is an advanced cloud monitoring solution for monitoring performance of all of your Azure SQL databases at scale and across multiple subscriptions in a single view. Azure SQL Analytics collects and visualizes key performance metrics with built-in intelligence for performance troubleshooting.
19
19
20
20
By using these collected metrics, you can create custom monitoring rules and alerts. Azure SQL Analytics helps you to identify issues at each layer of your application stack. It uses Azure Diagnostic metrics along with Azure Monitor views to present data about all your Azure SQL databases in a single Log Analytics workspace. Azure Monitor helps you to collect, correlate, and visualize structured and unstructured data.
21
21
@@ -38,9 +38,9 @@ Azure SQL Analytics is a cloud only monitoring solution supporting streaming of
38
38
39
39
## Azure SQL Analytics options
40
40
41
-
The below table outlines supported options for two versions of the Azure SQL Analytics dashboard, one for single databases and elastic pools, and the other one for managed instance databases.
41
+
The below table outlines supported options for two versions of the Azure SQL Analytics dashboard, one for single and pooled databases and elastic pools, and the other one for managed instances and instance databases.
42
42
43
-
| Azure SQL Analytics option | Description | Single database and elastic pools support | Managed instance database support |
43
+
| Azure SQL Analytics option | Description | Single and pooled database and elastic pools support | Managed instances and instances database support |
44
44
| --- | ------- | ----- | ----- |
45
45
| Resource by type | Perspective that counts all the resources monitored. | Yes | Yes |
46
46
| Insights | Provides hierarchical drill-down into Intelligent Insights into performance. | Yes | Yes |
@@ -55,9 +55,9 @@ The below table outlines supported options for two versions of the Azure SQL Ana
55
55
56
56
Use the process described in [Add Azure Monitor solutions from the Solutions Gallery](../../azure-monitor/insights/solutions.md) to add Azure SQL Analytics (Preview) to your Log Analytics workspace.
57
57
58
-
### Configure single databases, elastic pools and managed instance databases to stream diagnostics telemetry
58
+
### Configure Azure SQL databases to stream diagnostics telemetry
59
59
60
-
Once you have created Azure SQL Analytics solution in your workspace, you need to **configure each**resources that you want to monitor to stream its diagnostics telemetry to Azure SQL Analytics. Follow detailed instructions on this page:
60
+
Once you have created Azure SQL Analytics solution in your workspace, you need to **configure each**resource that you want to monitor to stream its diagnostics telemetry to Azure SQL Analytics. Follow detailed instructions on this page:
61
61
62
62
- Enable Azure Diagnostics for your Azure SQL database to [stream diagnostics telemetry to Azure SQL Analytics](../../sql-database/sql-database-metrics-diag-logging.md).
63
63
@@ -69,21 +69,21 @@ When you add Azure SQL Analytics to your workspace, the Azure SQL Analytics tile
Once loaded, the tile shows the number of single databases, elastic pools, managed instance, and managed instance databases from which Azure SQL Analytics is receiving diagnostics telemetry.
72
+
Once loaded, the tile shows the number of single and pooled databases, elastic pools, managed instances, and managed instance databases from which Azure SQL Analytics is receiving diagnostics telemetry.
Azure SQL Analytics provides two separate views -- one for monitoring single databases and elastic pools, and the other view for monitoring managed instances and its databases.
76
+
Azure SQL Analytics provides two separate views -- one for monitoring single databases and pooled databases and elastic pools, and the other view for monitoring managed instances and instance databases.
77
77
78
-
To view Azure SQL Analytics monitoring dashboard for single databases and elastic pools, click on the upper part of the tile. To view Azure SQL Analytics monitoring dashboard for managed instances and its databases, click on the lower part of the tile.
78
+
To view Azure SQL Analytics monitoring dashboard for single and pooled databases and elastic pools, click on the upper part of the tile. To view Azure SQL Analytics monitoring dashboard for managed instances and instance databases, click on the lower part of the tile.
79
79
80
80
### Viewing Azure SQL Analytics data
81
81
82
82
The dashboard includes the overview of all databases that are monitored through different perspectives. For different perspectives to work, you must enable proper metrics or logs on your SQL resources to be streamed to Log Analytics workspace.
83
83
84
-
Note that if some metrics or logs are not streamed into Azure Monitor, the tiles in Azure SQL Analytics are not populated with monitoring information.
84
+
If some metrics or logs are not streamed into Azure Monitor, the tiles in Azure SQL Analytics are not populated with monitoring information.
85
85
86
-
### Single database and elastic pool view
86
+
### Single and pooled databases and elastic pools view
87
87
88
88
Once the Azure SQL Analytics tile for the database is selected, the monitoring dashboard is shown.
89
89
@@ -95,7 +95,7 @@ Selecting any of the tiles, opens a drill-down report into the specific perspect
95
95
96
96
Each perspective in this view provides summaries at the subscription, server, elastic pool, and database levels. In addition, each perspective shows a perspective specific to the report on the right. Selecting subscription, server, pool, or database from the list continues the drill-down.
97
97
98
-
### Managed instance and databases view
98
+
### Managed instance and instances databases view
99
99
100
100
Once the Azure SQL Analytics tile for the databases is selected, the monitoring dashboard is shown.
Both elastic pools and single databases have their own specific reports that show all the data that is collected for the resource in the specified time.
118
+
Both elastic pools and databases have their own specific reports that show all the data that is collected for the resource in the specified time.
While Azure SQL Analytics is free to use, consumption of diagnostics telemetry above the free units of data ingestion allocated each month applies, see [Log Analytics pricing](https://azure.microsoft.com/pricing/details/monitor). The free units of data ingestion provided enable free monitoring of several databases each month. Note that more active databases with heavier workloads ingest more data versus idle databases. You can easily monitor your data ingestion consumption in Azure SQL Analytics by selecting OMS Workspace on the navigation menu of Azure SQL Analytics, and then selecting Usage and Estimated Costs.
290
+
While Azure SQL Analytics is free to use, consumption of diagnostics telemetry above the free units of data ingestion allocated each month applies, see [Log Analytics pricing](https://azure.microsoft.com/pricing/details/monitor). The free units of data ingestion provided enable free monitoring of several databases each month. More active databases with heavier workloads ingest more data versus idle databases. You can easily monitor your data ingestion consumption in Azure SQL Analytics by selecting OMS Workspace on the navigation menu of Azure SQL Analytics, and then selecting Usage and Estimated Costs.
Copy file name to clipboardExpand all lines: articles/sql-database/sql-database-metrics-diag-logging.md
+13-10Lines changed: 13 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -197,7 +197,7 @@ To enable streaming of diagnostics telemetry for instance databases, follow thes
197
197
198
198
4. Enter a setting name for your own reference.
199
199
5. Select a destination resource for the streaming diagnostics data: **Archive to storage account**, **Stream to an event hub**, or **Send to Log Analytics**.
200
-
6. Select the check boxes for database diagnostics telemetry: **SQLInsights**, **QueryStoreRuntimeStatistics**, **QueryStoreWaitStatistics** and **Errors**.
200
+
6. Select the check boxes for database diagnostics telemetry: **SQLInsights**, **QueryStoreRuntimeStatistics**, **QueryStoreWaitStatistics**, and **Errors**.
201
201

202
202
7. Select **Save**.
203
203
8. Repeat these steps for each instance database you want to monitor.
@@ -268,7 +268,7 @@ Provide the workspace resource ID \<$WSID\> as a parameter when executing the sc
268
268
You can enable metrics and diagnostics logging by using the Azure CLI.
269
269
270
270
> [!IMPORTANT]
271
-
> Scripts to enable diagnostics logging are supported for Azure CLI v1.0. Please note that CLI v2.0 is unsupported at this time.
271
+
> Scripts to enable diagnostics logging are supported for Azure CLI v1.0. Azure CLI v2.0 is unsupported at this time.
272
272
273
273
- To enable the storage of diagnostics logs in a storage account, use this command:
274
274
@@ -312,11 +312,11 @@ Azure SQL Analytics is a cloud solution that monitors the performance of single
SQL Database metrics and diagnostics logs can be streamed into Azure SQL Analytics by using the built-in **Send to Log Analytics** option in the diagnostics settings tab in the Azure portal. You can also enable log analytics by using a diagnostics setting via PowerShell cmdlets, the Azure CLI, or the Azure Monitor REST API.
315
+
SQL Database metrics and diagnostics logs can be streamed into Azure SQL Analytics by using the built-in **Send to Log Analytics** option in the diagnostics settings tab in the Azure portal. You can also enable log analytics by using diagnostics settings via PowerShell cmdlets, the Azure CLI, or the Azure Monitor REST API.
316
316
317
317
### Installation overview
318
318
319
-
You can monitor a collection Azure SQL databases with Azure SQL Analytics by performing the following steps:
319
+
You can monitor a collection of Azure SQL databases with Azure SQL Analytics by performing the following steps:
320
320
321
321
1. Create an Azure SQL Analytics solution from the Azure Marketplace.
322
322
2. Create a monitoring workspace in the solution.
@@ -347,11 +347,11 @@ The easiest way to configure where databases record metrics is by using the Azur
347
347
You can use SQL Analytics as a hierarchical dashboard to view your SQL database resources.
348
348
349
349
- To learn how to use Azure SQL Analytics, see [Monitor SQL Database by using SQL Analytics](../log-analytics/log-analytics-azure-sql.md).
350
-
- To learn how to setup alerts for in SQL Analytics, see [Creating alerts for database, elastic pools, and managed instances](../azure-monitor/insights/azure-sql.md#analyze-data-and-create-alerts).
350
+
- To learn how to set up alerts for in SQL Analytics, see [Creating alerts for database, elastic pools, and managed instances](../azure-monitor/insights/azure-sql.md#analyze-data-and-create-alerts).
351
351
352
352
## Stream into Event Hubs
353
353
354
-
You can stream SQL Database metrics and diagnostics logs into Event Hubs by using the built-in **Stream to an event hub** option in the Azure portal. You also can enable the Service Bus rule ID by using a diagnostics setting via PowerShell cmdlets, the Azure CLI, or the Azure Monitor REST API.
354
+
You can stream SQL Database metrics and diagnostics logs into Event Hubs by using the built-in **Stream to an event hub** option in the Azure portal. You also can enable the Service Bus rule ID by using diagnostics settings via PowerShell cmdlets, the Azure CLI, or the Azure Monitor REST API.
355
355
356
356
### What to do with metrics and diagnostics logs in Event Hubs
357
357
@@ -376,7 +376,7 @@ You can use streamed metrics in Event Hubs to:
376
376
377
377
## Stream into Storage
378
378
379
-
You can store metrics and diagnostics logs in Azure Storage by using the built-in **Archive to a storage account** option in the Azure portal. You can also enable Storage by using a diagnostics setting via PowerShell cmdlets, the Azure CLI, or the Azure Monitor REST API.
379
+
You can store metrics and diagnostics logs in Azure Storage by using the built-in **Archive to a storage account** option in the Azure portal. You can also enable Storage by using diagnostics settings via PowerShell cmdlets, the Azure CLI, or the Azure Monitor REST API.
380
380
381
381
### Schema of metrics and diagnostics logs in the storage account
If you select Event Hubs or a Storage account, you can specify a retention policy. This policy deletes data that is older than a selected time period. If you specify Log Analytics, the retention policy depends on the selected pricing tier. In this case, the provided free units of data ingestion can enable free monitoring of several databases each month. Any consumption of diagnostics telemetry in excess of the free units might incur costs. Be aware that active databases with heavier workloads ingest more data than idle databases. For more information, see [Log analytics pricing](https://azure.microsoft.com/pricing/details/monitor/).
409
+
If you select Event Hubs or a Storage account, you can specify a retention policy. This policy deletes data that is older than a selected time period. If you specify Log Analytics, the retention policy depends on the selected pricing tier. In this case, the provided free units of data ingestion can enable free monitoring of several databases each month. Any consumption of diagnostics telemetry in excess of the free units might incur costs.
410
+
411
+
> [!IMPORTANT]
412
+
> Active databases with heavier workloads ingest more data than idle databases. For more information, see [Log analytics pricing](https://azure.microsoft.com/pricing/details/monitor/).
410
413
411
414
If you are using Azure SQL Analytics, you can monitor your data ingestion consumption by selecting **OMS Workspace** on the navigation menu of Azure SQL Analytics, and then selecting **Usage** and **Estimated Costs**.
412
415
@@ -445,7 +448,7 @@ Refer to the following table for details about advanced metrics.
445
448
446
449
## Basic logs
447
450
448
-
Details of telemetry available for all logs are documented in the tables below. Please see[supported diagnostic logging](#supported-diagnostic-logging-for-azure-sql-databases) to understand which logs are supported for a particular database flavor - Azure SQL single, pooled, or instance database.
451
+
Details of telemetry available for all logs are documented in the following tables. See[supported diagnostic logging](#supported-diagnostic-logging-for-azure-sql-databases) to understand which logs are supported for a particular database flavor - Azure SQL single, pooled, or instance database.
449
452
450
453
### Resource usage stats for managed instances
451
454
@@ -733,6 +736,6 @@ To learn about Event Hubs, read:
733
736
-[What is Azure Event Hubs?](../event-hubs/event-hubs-what-is-event-hubs.md)
734
737
-[Get started with Event Hubs](../event-hubs/event-hubs-csharp-ephcs-getstarted.md)
735
738
736
-
To learn how to setup alerts based on telemetry from log analytics see:
739
+
To learn how to set up alerts based on telemetry from log analytics see:
737
740
738
741
-[Creating alerts for SQL Database and managed instance](../azure-monitor/insights/azure-sql.md#analyze-data-and-create-alerts)
0 commit comments