Steps to configure remote write for Azure Managed Prometheus

Yashasvi Kotamraju 40 Reputation points Microsoft Employee
2023-07-27T11:27:50.93+00:00

Hi

I'm following below documentation to configure remote write from self managed prometheus to azure managed prometheus.

https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/prometheus-remote-write#prerequisites

But as per Prequisites its mentioned to use Kube-Prometheus Stack when you set up Prometheus on your AKS cluster.

But we are not using it.

So do we have any alternate approach to configure remote-write to azure managed prometheus.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,885 questions
Azure Managed Applications
Azure Managed Applications
An Azure service that enables managed service providers, independent software vendors, and enterprise IT teams to deliver turnkey solutions through the Azure Marketplace or service catalog.
115 questions
0 comments No comments
{count} votes

Accepted answer
  1. 83017166 80 Reputation points Microsoft Employee
    2023-08-02T22:58:43.14+00:00

    Hello,

    We don't require Kube-Prometheus-Stack for using the Azure Prometheus remote write sidecar. The document lists that as a pre-req because it was the most common method for our customers using Prometheus and we constructed the instructions based on that.  

    The Azure Prometheus remote write sidecar is basically a reverse proxy that handles Azure authentication to push data to Azure Monitor workspace. In order to use this, all you would need is to inject this sidecar to the same pod your Prometheus is running in and then configure your Prometheus to remote write to http://localhost:8081/api/v1/write

    Furthermore, the Azure Prometheus remote write sidecar requires few additional values, which can be provided as environment variable in similar fashion as shown in the yaml in the following document

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful