icingaweb2-module-graphite/application/forms
Adam James 5e0d57cce0 Add Graphite Web HTTP request timeout option
If the Graphite Web server is unreachable, all requests for frontend
pages containing graphs hang until the backend HTTP request times out,
resulting in a very poor UX.

The Guzzle documentation states that the default behaviour is to wait
indefinitely, however in our testing the cURL handler has an internal
default of 30 seconds:

https://docs.guzzlephp.org/en/stable/request-options.html#timeout

This commit makes the HTTP request timeout configurable and sets a
reasonable default of 10 seconds.
2024-02-20 15:43:34 +01:00
..
Config Add Graphite Web HTTP request timeout option 2024-02-20 15:43:34 +01:00
TimeRangePicker Cast args explicitly to string 2023-08-30 13:33:36 +02:00