---
title: "prometheus | Grafana Alloy documentation"
description: "Learn about the prometheus components in Grafana Alloy"
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

# `prometheus`

The `prometheus` components collect, process, and forward Prometheus-compatible metrics. They support multiple collection methods:

- HTTP scraping
- Remote-write ingestion
- Built-in exporters

You can relabel, enrich, and route metrics before writing them to storage.

Use `prometheus` components when you want to collect metrics from your applications and infrastructure, and send them to Prometheus, Grafana Mimir, or another compatible endpoint for analysis.

- [prometheus.echo](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.echo/)
- [prometheus.enrich](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.enrich/)
- [prometheus.exporter.apache](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.apache/)
- [prometheus.exporter.azure](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.azure/)
- [prometheus.exporter.blackbox](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.blackbox/)
- [prometheus.exporter.cadvisor](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.cadvisor/)
- [prometheus.exporter.cloudwatch](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.cloudwatch/)
- [prometheus.exporter.consul](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.consul/)
- [prometheus.exporter.databricks](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.databricks/)
- [prometheus.exporter.dnsmasq](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.dnsmasq/)
- [prometheus.exporter.elasticsearch](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.elasticsearch/)
- [prometheus.exporter.gcp](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.gcp/)
- [prometheus.exporter.github](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.github/)
- [prometheus.exporter.kafka](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.kafka/)
- [prometheus.exporter.memcached](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.memcached/)
- [prometheus.exporter.mongodb](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.mongodb/)
- [prometheus.exporter.mssql](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.mssql/)
- [prometheus.exporter.mysql](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.mysql/)
- [prometheus.exporter.oracledb](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.oracledb/)
- [prometheus.exporter.postgres](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.postgres/)
- [prometheus.exporter.process](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.process/)
- [prometheus.exporter.redis](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.redis/)
- [prometheus.exporter.self](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.self/)
- [prometheus.exporter.snmp](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.snmp/)
- [prometheus.exporter.snowflake](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.snowflake/)
- [prometheus.exporter.squid](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.squid/)
- [prometheus.exporter.static](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.static/)
- [prometheus.exporter.statsd](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.statsd/)
- [prometheus.exporter.unix](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.unix/)
- [prometheus.exporter.windows](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.exporter.windows/)
- [prometheus.operator.podmonitors](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.operator.podmonitors/)
- [prometheus.operator.probes](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.operator.probes/)
- [prometheus.operator.scrapeconfigs](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.operator.scrapeconfigs/)
- [prometheus.operator.servicemonitors](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.operator.servicemonitors/)
- [prometheus.receive\_http](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.receive_http/)
- [prometheus.relabel](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.relabel/)
- [prometheus.remote\_write](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.remote_write/)
- [prometheus.scrape](https://grafana.com/docs/alloy/next/reference/components/prometheus/prometheus.scrape/)
