Skip to content

Commit 0281f54

Browse files
committed
fixes
1 parent e3b45d3 commit 0281f54

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

articles/azure-monitor/essentials/prometheus-remote-write-virtual-machines.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
---
2-
title: Send Prometheus metrics from Virtual Machines to an Azure Monitor workspace
2+
title: Send Prometheus metrics from virtual machines, scale sets, or Kubernetes clusters to an Azure Monitor workspace
33
description: How to configure remote-write to send data from self-managed Prometheus to an Azure Monitor managed service for Prometheus
4-
author: bwren
4+
author: EdB-MSFT
5+
ms.author: edbaynash
56
ms.topic: conceptual
67
ms.custom: devx-track-azurecli
78
ms.date: 06/20/2024
89
#customer intent: As an azure administrator, I want to send Prometheus metrics from my self-managed Prometheus instance to an Azure Monitor workspace.
910
---
1011

11-
# Send Prometheus metrics from Virtual Machines to an Azure Monitor workspace
12+
# Send Prometheus metrics from virtual machines, scale sets, or Kubernetes clusters to an Azure Monitor workspace
1213

1314
Prometheus isn't limited to monitoring Kubernetes clusters. Use Prometheus to monitor applications and services running on your servers, wherever they're running. For example, you can monitor applications running on Virtual Machines, Virtual Machine Scale Sets, or even on-premises servers. You can also send Prometheus metrics to an Azure Monitor workspace from your self-managed cluster and Prometheus server. Install prometheus on your servers and configure remote-write to send metrics to an Azure Monitor workspace.
1415

@@ -19,16 +20,16 @@ This article explains how to configure remote-write to send data from a self-man
1920

2021
Self-managed Prometheus can run on Azure and non-Azure environments. The following are authentication options for remote-write to Azure Monitor workspace based on the environment where Prometheus is running.
2122

22-
## Azure managed Virtual Machines and Virtual Machine Scale Sets
23+
## Azure-managed Virtual Machines, Virtual Machine Scale Sets, and Kubernetes clusters
2324

24-
Use user-assigned managed identity authentication for services running self managed Prometheus in an Azure environment. Azure managed services include:
25+
Use user-assigned managed identity authentication for services running self managed Prometheus in an Azure environment. Azure-managed services include:
2526

2627
- Azure Virtual Machines
2728
- Azure Virtual Machine Scale Sets
2829
- Azure Arc-enabled Virtual Machines
2930
- Azure Kubernetes Service (AKS)
3031

31-
To set up remote write for Azure managed resources, see [Remote-write using user-assigned managed identity](#remote-write-using-user-assigned-managed-identity-authentication).
32+
To set up remote write for Azure-managed resources, see [Remote-write using user-assigned managed identity](#remote-write-using-user-assigned-managed-identity-authentication).
3233

3334

3435
## Virtual machines and Kubernetes clusters running on non-Azure environments.
@@ -59,8 +60,11 @@ Depending on the environment where Prometheus is running, you can configure remo
5960
Use the Azure portal or CLI to create a user-assigned managed identity or Microsoft Entra ID application.
6061

6162
### [Remote-write using user-assigned managed identity](#tab/managed-identity)
63+
6264
### Remote-write using user-assigned managed identity authentication
6365

66+
User-assigned managed identity authentication can be used in any Azure-managed environment. If your Prometheus service is running in a non-Azure environment, you can use Entra ID application authentication.
67+
6468
To configure a user-assigned managed identity for remote-write to Azure Monitor workspace, complete the following steps.
6569

6670
#### Create a user-assigned managed identity
@@ -104,7 +108,7 @@ On the workspace's data collection rule, assign the `Monitoring Metrics Publishe
104108
1. Select **Add**.
105109
1. Select the user assigned managed identity that you created, then select **Add**.
106110

107-
:::image type="content" source="media/prometheus-remote-write-virtual-machines/assign-user-identity.png" lightbox="media/prometheus-remote-write-virtual-machines/assign-user-identity.png" alt-text="A screenshot showing the Add user assigned managed identity page.":::
111+
:::image type="content" source="media/prometheus-remote-write-virtual-machines/assign-user-identity.png" lightbox="media/prometheus-remote-write-virtual-machines/assign-user-identity.png" alt-text="A screenshot showing the add user assigned managed identity page.":::
108112

109113
#### Assign the managed identity for an Azure Kubernetes Service
110114

@@ -118,6 +122,8 @@ For each Virtual Machine Scale Set in the resource group, assign the managed ide
118122
### [Microsoft Entra ID application](#tab/entra-application)
119123
### Remote-write using Microsoft Entra ID application authentication
120124

125+
Microsoft Entra ID application authentication can be used in any environment. If your Prometheus service is running in an Azure-managed environment consider using user-assigned managed identity authentication.
126+
121127
To configure remote-write to Azure Monitor workspace using a Microsoft Entra ID application, create an Entra application. On Azure Monitor workspace's data collection rule, assign the `Monitoring Metrics Publisher` role to the Entra application.
122128

123129
> [!NOTE]
@@ -351,7 +357,7 @@ For more information, see [Prometheus explorer](/azure/azure-monitor/essentials/
351357

352358
### Grafana
353359

354-
Use PromQL queries in Grafana to verify that the results return the expected data. See [getting Grafana setup with Managed Prometheus](../essentials/prometheus-grafana.md) to configure Grafana.
360+
Use PromQL queries in Grafana to verify that the results return the expected data. To configure Grafana, see [getting Grafana setup with Managed Prometheus](../essentials/prometheus-grafana.md)
355361

356362

357363
## Troubleshoot remote write

0 commit comments

Comments
 (0)