icingaweb2-module-graphite/application
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
..
clicommands Fix PHP 8.2 support issues 2023-06-28 11:30:02 +02:00
controllers Preserve format reqeust param 2023-09-01 13:20:12 +02:00
forms Add Graphite Web HTTP request timeout option 2024-02-20 15:43:34 +01:00
views/scripts Make graphs themeable 2022-03-08 10:51:38 +01:00