This guide demonstrates how to configure
remote_write for Prometheus deployed inside of a Kubernetes cluster.
Instructions for configuring
remote_write to ship metrics to Grafana Cloud vary depending on how you installed Prometheus in your Kubernetes cluster. In this guide we’ll discuss how to configure
remote_write for the following common deployment methods:
- Prometheus Operator deployed using either Prometheus Operator or the kube-prometheus stack. To learn how to do this, please see Configuring remote_write with Prometheus Operator.
- Prometheus Operator and kube-prometheus deployed using the Helm kube-prometheus-stack chart. To learn how to do this, please see Configuring remote_write with Helm and kube-prometheus-stack.
- Prometheus deployed using the Prometheus Helm chart. To learn how to do this, please see Configuring remote_write with Helm and Prometheus.
- Prometheus deployed using a Kubernetes Deployment and ConfigMap manifests. To learn how to do this, please see Configuring remote_write with a Prometheus ConfigMap.
Note: The Grafana Cloud Kubernetes Integration is now publicly available. To get started with Grafana Agent and the Kubernetes Integration, please click on the lighning bolt in the left-hand navigation panel of your hosted Grafana instance and follow the instructions for installing the Kubernetes Integration. These guides do not use the Grafana Agent and instead demonstrate how to configure an existing Prometheus installation to
remote_writescraped samples to Grafana Cloud.
Related Grafana Cloud resources
How to set up and visualize synthetic monitoring at scale with Grafana Cloud
Learn how to use Kubernetes, Grafana Loki, and Grafana Cloud’s synthetic monitoring feature to set up your infrastructure's checks in this GrafanaCONline session.
Using Grafana Cloud to drive manufacturing plant efficiency
This GrafanaCONline session tells how Grafana helps a 75-year-old manufacturing company with product quality and equipment maintenance.