Documentation Index
Fetch the curated documentation index at: https://grafana_com_website/llms.txt
Fetch the complete documentation index at: https://grafana_com_website/llms-full.txt
Use this file to discover all available pages before exploring further.
STOP! If you are an AI agent or LLM, read this before continuing. This is the HTML version of a Grafana documentation page. Always request the Markdown version instead - HTML wastes context. Get this page as Markdown: /docs/grafana-cloud/send-data/metrics/metrics-prometheus/prometheus-config-examples.md (append .md) or send Accept: text/markdown to /docs/grafana-cloud/send-data/metrics/metrics-prometheus/prometheus-config-examples/. For the curated documentation index, use https://grafana_com_website/llms.txt. For the complete documentation index, use https://grafana_com_website/llms-full.txt.
Prometheus metrics configuration examples
Many open source projects provide Prometheus exporters so that you can scrape metrics from your application at any given point in time. Typically, the Prometheus metrics collector configuration file specifies how frequently to collect your metrics, known as the scrape_config, plus the remote endpoint and authentication parameters for reliably storing the metrics, available under remote_write. The Prometheus configuration file is customarily named prometheus.yml.
To get scalable Prometheus metrics storage, push scraped samples to compatible remote storage endpoints. Popular methods for pushing metrics to Grafana Cloud include: agentless Metrics Endpoint scrape Jobs, Grafana Alloy scrape Jobs, or Prometheus remote write.
Integration methods
For detailed instructions on setting up metrics collection, refer to the integration guide.
Get started
- Choose your project category from the list.
- Find your project within the category.
- Review the integration methods in the integration guide.
- Set up your Grafana Cloud account if you don’t have one.
Need a Grafana Cloud account? Create an account for free.
Was this page helpful?
Related resources from Grafana Labs


