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
Copy file name to clipboardExpand all lines: azure-sql/database-watcher-quickstart.md
+15-3Lines changed: 15 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: Learn how to create a new database watcher to monitor an Azure SQL
5
5
author: dimitri-furman
6
6
ms.author: dfurman
7
7
ms.reviewer: wiassaf
8
-
ms.date: 03/21/2024
8
+
ms.date: 03/28/2024
9
9
ms.service: sql-db-mi
10
10
ms.subservice: monitoring
11
11
ms.topic: quickstart
@@ -57,11 +57,23 @@ Once the deployment completes, select **Go to resource** to open the new databas
57
57
58
58
1. In the **Grant access** card, select a Microsoft Entra authentication link matching your target type. Copy the T-SQL script that grants the watcher limited, specific access to collect monitoring data from the selected target.
59
59
60
-
:::image type="content" source="media/database-watcher-quickstart/database-watcher-grant-access.png" alt-text="Screenshot of the targets page of a database watcher, showing the T-SQL script that grants access to a database watcher, and a button that copies it to the clipboard." lightbox="media/database-watcher-quickstart/database-watcher-grant-access.png":::
60
+
The following screenshot shows the T-SQL script for Azure SQL databases and elastic pools.
61
+
62
+
:::image type="content" source="media/database-watcher-quickstart/database-watcher-grant-access-sql-database.png" alt-text="Screenshot of the targets page of a database watcher, showing the T-SQL script that grants access to a database watcher on a SQL database or an elastic pool, and a button that copies it to the clipboard." lightbox="media/database-watcher-quickstart/database-watcher-grant-access-sql-database.png":::
63
+
64
+
The following screenshot shows the T-SQL script for Azure SQL managed instances.
65
+
66
+
:::image type="content" source="media/database-watcher-quickstart/database-watcher-grant-access-sql-managed-instance.png" alt-text="Screenshot of the targets page of a database watcher, showing the T-SQL script that grants access to a database watcher on a SQL managed instance, and a button that copies it to the clipboard." lightbox="media/database-watcher-quickstart/database-watcher-grant-access-sql-managed-instance.png":::
61
67
62
68
1. Open a new query window in SQL Server Management Studio or Azure Data Studio. Connect to the `master` database on the Azure SQL logical server or SQL managed instance you selected. Paste the T-SQL script, and select **Execute**.
63
69
64
-
:::image type="content" source="media/database-watcher-quickstart/database-watcher-grant-access-t-sql.png" alt-text="Screenshot of a SQL Server Management Studio query window that is connected to the master database on an Azure SQL logical server, showing a successfully executed T-SQL script that grants access to a database watcher." lightbox="media/database-watcher-quickstart/database-watcher-grant-access-t-sql.png":::
70
+
The following screenshot shows the T-SQL script for Azure SQL databases and elastic pools.
71
+
72
+
:::image type="content" source="media/database-watcher-quickstart/database-watcher-grant-access-t-sql-sql-database.png" alt-text="Screenshot of a SQL Server Management Studio query window that is connected to the master database on an Azure SQL logical server, showing a successfully executed T-SQL script that grants access to a database watcher." lightbox="media/database-watcher-quickstart/database-watcher-grant-access-t-sql-sql-database.png":::
73
+
74
+
The following screenshot shows the T-SQL script for Azure SQL managed instances.
75
+
76
+
:::image type="content" source="media/database-watcher-quickstart/database-watcher-grant-access-t-sql-sql-managed-instance.png" alt-text="Screenshot of a SQL Server Management Studio query window that is connected to the master database on an Azure SQL managed instance, showing a successfully executed T-SQL script that grants access to a database watcher." lightbox="media/database-watcher-quickstart/database-watcher-grant-access-t-sql-sql-managed-instance.png":::
0 commit comments