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 Agent 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.