Skip to content

Commit 351b665

Browse files
Merge pull request #220625 from EdB-MSFT/patch-3
Update prometheus-grafana.md
2 parents bb7601a + 5546c7a commit 351b665

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

articles/azure-monitor/essentials/prometheus-grafana.md

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,14 @@ Azure virtual machines support both system assigned and user assigned identity.
8080
Use the following steps to allow access all Azure Monitor workspaces in a resource group or subscription:
8181

8282
1. Open the **Identity** page for your virtual machine in the Azure portal.
83-
2. If **Status** is **No**, change it to **Yes**.
84-
3. Click **Azure role assignments** to review the existing access in your subscription.
85-
4. If **Monitoring Data Reader** is not listed for your subscription or resource group:
83+
1. If **Status** is **No**, change it to **Yes**.
84+
1. Click **Save**.
85+
1. Click **Azure role assignments** to review the existing access in your subscription.
86+
1. If **Monitoring Data Reader** is not listed for your subscription or resource group:
8687
1. Click **+ Add role assignment**.
87-
2. For **Scope**, select either **Subscription** or **Resource group**.
88-
3. For **Role**, select **Monitoring Data Reader**.
89-
4. Click **Save**.
88+
1. For **Scope**, select either **Subscription** or **Resource group**.
89+
1. For **Role**, select **Monitoring Data Reader**.
90+
1. Click **Save**.
9091

9192
**Configure from Azure Monitor workspace**<br>
9293
Use the following steps to allow access to only a specific Azure Monitor workspace:
@@ -110,16 +111,17 @@ Versions 9.x and greater of Grafana support Azure Authentication, but it's not e
110111

111112
1. Locate and open the *Grafana.ini* file on your virtual machine.
112113
2. Under the `[auth]` section of the configuration file, change the `azure_auth_enabled` setting to `true`.
113-
3. Open the **Overview** page for your Azure Monitor workspace in the Azure portal.
114-
4. Copy the **Query endpoint**, which you'll need in a step below.
115-
5. Open your Azure Managed Grafana workspace in the Azure portal.
116-
6. Click on the **Endpoint** to view the Grafana workspace.
117-
7. Select **Configuration** and then **Data source**.
118-
8. Click **Add data source** and then **Prometheus**.
119-
9. For **URL**, paste in the query endpoint for your Azure Monitor workspace.
120-
10. Select **Azure Authentication** to turn it on.
121-
11. For **Authentication** under **Azure Authentication**, select **Managed Identity**.
122-
12. Scroll to the bottom of the page and click **Save & test**.
114+
3. Under the `[azure]` section of the configuration file, change the `managed_identity_enabled` setting to `true`
115+
4. Open the **Overview** page for your Azure Monitor workspace in the Azure portal.
116+
5. Copy the **Query endpoint**, which you'll need in a step below.
117+
6. Open your Azure Managed Grafana workspace in the Azure portal.
118+
7. Click on the **Endpoint** to view the Grafana workspace.
119+
8. Select **Configuration** and then **Data source**.
120+
9. Click **Add data source** and then **Prometheus**.
121+
10. For **URL**, paste in the query endpoint for your Azure Monitor workspace.
122+
11. Select **Azure Authentication** to turn it on.
123+
12. For **Authentication** under **Azure Authentication**, select **Managed Identity**.
124+
13. Scroll to the bottom of the page and click **Save & test**.
123125

124126
:::image type="content" source="media/prometheus-grafana/prometheus-data-source.png" alt-text="Screenshot of configuration for Prometheus data source." lightbox="media/prometheus-grafana/prometheus-data-source.png":::
125127

@@ -129,4 +131,4 @@ Versions 9.x and greater of Grafana support Azure Authentication, but it's not e
129131

130132
- [Collect Prometheus metrics for your AKS cluster](../essentials/prometheus-metrics-enable.md).
131133
- [Configure Prometheus alerting and recording rules groups](prometheus-rule-groups.md).
132-
- [Customize scraping of Prometheus metrics](prometheus-metrics-scrape-configuration.md).
134+
- [Customize scraping of Prometheus metrics](prometheus-metrics-scrape-configuration.md).

0 commit comments

Comments
 (0)