Skip to content

Commit

Permalink
Recommend remote_write instead of federate API (elastic#17196) (ela…
Browse files Browse the repository at this point in the history
…stic#17367)

(cherry picked from commit 08fa5f4)
  • Loading branch information
Carlos Pérez-Aradros Herce authored Apr 1, 2020
1 parent 7ad184e commit a150e4b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions metricbeat/module/prometheus/collector/_meta/docs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ When `use_types` and `rate_counters` are enabled, metrics are stored like this:
[float]
=== Scraping all metrics from a Prometheus server

[WARNING]
=======================================
Depending on your scale this method may not be suitable. We recommend using the
<<metricbeat-metricset-prometheus-remote_write,remote_write>> metricset for this,
and make Prometheus push metrics to Metricbeat.
=======================================

This module can scrape all metrics stored in a Prometheus server, by using the
https://prometheus.io/docs/prometheus/latest/federation/[federation API]. By pointing this
config to the Prometheus server:
Expand Down

0 comments on commit a150e4b

Please sign in to comment.