Skip to content

Commit 2475694

Browse files
committed
Edit remove instructions
1 parent 0f19d01 commit 2475694

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

articles/managed-grafana/how-to-connect-azure-monitor-workspace.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ In this guide, learn how to connect an Azure Monitor workspace to Grafana direct
2424

2525
## Add a new role assignment
2626

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:
2833

2934
1. Open the Azure Monitor workspace that holds Prometheus data.
3035
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
4247

4348
1. Select **Add**.
4449
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.
4651

4752
## Display Prometheus data in Grafana
4853

@@ -99,6 +104,16 @@ To build a brand new dashboard with Prometheus metrics:
99104
> [!TIP]
100105
> 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.
101106

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+
102117
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).
103118

104119
## Next steps

0 commit comments

Comments
 (0)