From 08fa5f46e52e03491b1e6d05dbcc00a449cf4846 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20P=C3=A9rez-Aradros=20Herce?= Date: Tue, 31 Mar 2020 17:09:27 +0200 Subject: [PATCH] Recommend `remote_write` instead of federate API (#17196) --- metricbeat/module/prometheus/collector/_meta/docs.asciidoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/metricbeat/module/prometheus/collector/_meta/docs.asciidoc b/metricbeat/module/prometheus/collector/_meta/docs.asciidoc index e48e57ee209..c3609b083dd 100644 --- a/metricbeat/module/prometheus/collector/_meta/docs.asciidoc +++ b/metricbeat/module/prometheus/collector/_meta/docs.asciidoc @@ -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 +<> 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: