From d3be7c7fef968c88f7a2d18bda22a7307a2fae24 Mon Sep 17 00:00:00 2001 From: Robert Fratto Date: Mon, 11 Jan 2021 10:56:14 -0500 Subject: [PATCH] document experimental prometheus target_limit --- docs/configuration-reference.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/configuration-reference.md b/docs/configuration-reference.md index dd5e89459044..a39976778e72 100644 --- a/docs/configuration-reference.md +++ b/docs/configuration-reference.md @@ -584,6 +584,13 @@ metric_relabel_configs: # If more than this number of samples are present after metric relabelling # the entire scrape will be treated as failed. 0 means no limit. [ sample_limit: | default = 0 ] + +# Per-scrape config limit on number of unique targets that will be accepted. +# If more than this number of targets are present after target relabeling, +# Prometheus will mark the targets as failed without scraping them. 0 means +# no limit. This is an experimental feature of Prometheus and the behavior +# may change in the future. +[ target_limit: | default = 0] ``` ### azure_sd_config