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: articles/managed-grafana/how-to-connect-azure-monitor-workspace.md
+17-2Lines changed: 17 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,12 @@ In this guide, learn how to connect an Azure Monitor workspace to Grafana direct
24
24
25
25
## Add a new role assignment
26
26
27
-
In the Azure Monitor workspace, assign the *Monitoring Data Reader* role to the Azure Managed Grafana resource, so that Grafana can collect data from the Azure Monitor workspace.
27
+
In the Azure Monitor workspace, assign the *Monitoring Data Reader* role to the Azure Managed Grafana resource's managed identity, so that Grafana can collect data from the Azure Monitor workspace.
28
+
29
+
> [!NOTE]
30
+
> A system-assigned managed identity must be enabled in your Azure Managed Grafana resource. If needed, enable it by going to **Identity** and select **Status**: **On**.
31
+
32
+
To assign the Monitoring Data Reader role:
28
33
29
34
1. Open the Azure Monitor workspace that holds Prometheus data.
30
35
1. Go to **Access control (IAM)** > **Add** > **Add role assignment**.
@@ -42,7 +47,7 @@ In the Azure Monitor workspace, assign the *Monitoring Data Reader* role to the
42
47
43
48
1. Select **Add**.
44
49
1. In the pane that opens, select an Azure Monitor workspace from the list and confirm with **Add**.
45
-
1. Once the operation is complete, Azure displays all the Azure Monitor workspaces added to the Azure Managed Grafana workspace. You can remove an Azure Monitor workspace by selecting **Delete** or add more by selecting **Add** again.
50
+
1. Once the operation is complete, Azure displays all the Azure Monitor workspaces added to the Azure Managed Grafana workspace. You can add more Azure Monitor workspaces by selecting **Add** again.
46
51
47
52
## Display Prometheus data in Grafana
48
53
@@ -99,6 +104,16 @@ To build a brand new dashboard with Prometheus metrics:
99
104
> [!TIP]
100
105
> If you're unable to get Prometheus data in your dashboard, check if your Azure Monitor workspace is collecting Prometheus data. Go to [Troubleshoot collection of Prometheus metrics in Azure Monitor](../azure-monitor/containers/prometheus-metrics-troubleshoot.md) for more information.
101
106
107
+
## Remove an Azure Monitor workspace
108
+
109
+
If you no longer need it, you can remove an Azure Monitor workspace from your Azure Managed Grafana workspace.
110
+
111
+
1. In your Azure Managed Grafana workspace, select **Integrations** > **Azure Monitor workspaces (Preview**) from the left menu.
112
+
1. Select the row with the resource to delete and select **Delete** > **Yes**.
113
+
1. Go to the Azure Monitor workspace resource and remove the role assignment that was previously added:
114
+
1. In the Azure Monitor workspace resource, select **Access control (IAM)** > **Role assignments**.
115
+
1. Under **Monitoring Data Reader**, select the row with the name of your Azure Managed Grafana resource and select **Remove** > **OK**.
116
+
102
117
To learn more about Azure Monitor managed service for Prometheus, read the [Azure Monitor managed service for Prometheus guide](../azure-monitor/essentials/prometheus-metrics-overview.md).
0 commit comments