On Wed, 24 Jun 2020 at 21:55, Tony Sargent <[email protected]> wrote:
> Hello, > > I wanted to find out why I can't update the timeout for a module. I have > some slow endpoints that need 30s+ timeout but I can't seem to update the > default value of 10s no matter what value I put into the timeout. I am > running the latest Blackbox version ( 0.17.0) > Here is my Module: > > # --------------------- Generic HTTP(GET) -----------------------------# > http_generic_2XX: > prober: http > timeout: 60s > http: > preferred_ip_protocol: ip4 > method: GET > valid_http_versions: ["HTTP/1.1", "HTTP/2"] > valid_status_codes: [200] > no_follow_redirects: false > headers: > Accept-Language: en-US > > And the logs for that module (or any module) show the following: > > level=info msg="Beginning probe" probe=http timeout_seconds=9.5 > > I presume that your scrape timeout is 10s, which the blackbox exporter learns from a scrape header and thus (with a bit of slack) limits the timeout to that value so that it can get a result back to Prometheus in time. Try increasing your scrape timeout/interval. Brian > > > > Thank you in advance. > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/b05055ae-a5d7-44e8-862d-f371aa9a0242o%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/b05055ae-a5d7-44e8-862d-f371aa9a0242o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Brian Brazil www.robustperception.io -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAHJKeLpaen6YjsXCZbkxA5sv6Do7%2BVP4_CzS8iADuofA6AsTWQ%40mail.gmail.com.

