Prometheus remote write
Prometheus remote_write forwards scraped samples to a remote storage endpoint. To store those samples in Grafana Cloud Metrics, add a remote_write block to your Prometheus configuration with your Grafana Cloud Metrics endpoint and credentials.
Considerations
- You add a
remote_writeblock to the Prometheus configuration. - Grafana Cloud Metrics does not accept Prometheus’s separate push gateway. It receives samples through
remote_write. - You get the
/api/prom/pushURL, username, and password from the Hosted Prometheus metrics page under Connections in your stack, which also creates the token for you. The same values are on the Prometheus card in the Cloud Portal.
Path
Configure Prometheus remote write step by step.
Learning path
Send metrics using Prometheus remote write
Welcome to the Grafana learning path that provides the best practice for configuring Prometheus remote write to send metrics to Grafana Cloud.
10 min
Beginner
Docs & blog posts
Open in Grafana Cloud
Complete this learning path directly in your Grafana Cloud stack with an interactive learning experience.