--- title: Scrape Prometheus metrics seotitle: Scrape Prometheus metrics into InfluxDB weight: 205 description: > Use Telegraf, InfluxDB scrapers, or the `prometheus.scrape` Flux function to scrape Prometheus-formatted metrics from an HTTP-accessible endpoint and store them in InfluxDB. menu: influxdb_v2: name: Scrape Prometheus metrics parent: Developer tools related: - /telegraf/v1/plugins/#input-prometheus, Telegraf Prometheus input plugin - /flux/v0/prometheus/scrape-prometheus/, Scrape Prometheus metrics with Flux - /flux/v0/stdlib/experimental/prometheus/scrape/ - /flux/v0/prometheus/metric-types/ - /influxdb/v2/reference/prometheus-metrics/ - /influxdb/v2/write-data/no-code/scrape-data/ influxdb/v2/tags: [prometheus, scraper] source: /shared/influxdb-v2/write-data/developer-tools/scrape-prometheus-metrics.md ---