Skip to content

Commit

Permalink
Recommend remote_write instead of federate API (#17196)
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Pérez-Aradros Herce authored Mar 31, 2020
1 parent 4e02957 commit 08fa5f4
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 08fa5f4

Please sign in to comment.