mesos_exporter icon indicating copy to clipboard operation
mesos_exporter copied to clipboard

Use "X-Prometheus-Scrape-Timeout-Seconds" request header for timeouts

Open Fra-nk opened this issue 7 years ago • 1 comments

Prometheus already tells us, which time it allots for the query by supplying the header X-Prometheus-Scrape-Timeout-Seconds (which defaults to the global scrape timeout and can be overridden on a per-job basis). Prometheus' default configuration sets 10 seconds.

Aligning --timeout with the X-Prometheus-Scrape-Timeout-Seconds would simplify the general setup.

Fra-nk avatar Jul 05 '18 09:07 Fra-nk

Yep, we should pass the Prometheus scrape timeout along to the metrics snapshot timeout query parameter.

jpeach avatar Aug 17 '18 05:08 jpeach