[Docs] Note that scrape_timeout cannot be greater than scrape_interval (#15786)

Signed-off-by: Hélia Barroso <helia_barroso@hotmail.com>
This commit is contained in:
Hélia Barroso 2025-01-06 14:13:17 +00:00 committed by GitHub
parent a441ad771e
commit 56094197b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,6 +59,7 @@ global:
[ scrape_interval: <duration> | default = 1m ] [ scrape_interval: <duration> | default = 1m ]
# How long until a scrape request times out. # How long until a scrape request times out.
# It cannot be greater than the scrape interval.
[ scrape_timeout: <duration> | default = 10s ] [ scrape_timeout: <duration> | default = 10s ]
# The protocols to negotiate during a scrape with the client. # The protocols to negotiate during a scrape with the client.
@ -221,6 +222,7 @@ job_name: <job_name>
[ scrape_interval: <duration> | default = <global_config.scrape_interval> ] [ scrape_interval: <duration> | default = <global_config.scrape_interval> ]
# Per-scrape timeout when scraping this job. # Per-scrape timeout when scraping this job.
# It cannot be greater than the scrape interval.
[ scrape_timeout: <duration> | default = <global_config.scrape_timeout> ] [ scrape_timeout: <duration> | default = <global_config.scrape_timeout> ]
# The protocols to negotiate during a scrape with the client. # The protocols to negotiate during a scrape with the client.