oncall-engine/engine/apps/webhooks
KevinDW-Fluxys 4e3194c106
expose OUTGOING_WEBHOOK_TIMEOUT as env var (#3801)
# What this PR does
It adds functionality to be able to configure the outgoing webhook
timeout from an environment variable.

## Which issue(s) this PR fixes
Running into timeouts when outgoing webhooks take longer than 4 seconds
(which is exceptional, but can happen) the webhook reports failure,
while it still might have succeeded on the webhook side.

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)

---------

Co-authored-by: Joey Orlando <joey.orlando@grafana.com>
Co-authored-by: Joey Orlando <joseph.t.orlando@gmail.com>
2024-02-01 10:48:09 -05:00
..
migrations Add webhook presets (#2996) 2023-09-27 07:22:52 -06:00
models expose OUTGOING_WEBHOOK_TIMEOUT as env var (#3801) 2024-02-01 10:48:09 -05:00
presets Allow OnCall API to use Grafana Service Accounts (#3189) 2023-11-23 16:42:27 +00:00
tasks manually retry for requests.exceptions.Timeout exceptions when sending outgoing webhooks (#3632) 2024-01-08 19:13:15 -05:00
tests expose OUTGOING_WEBHOOK_TIMEOUT as env var (#3801) 2024-02-01 10:48:09 -05:00
__init__.py shift swap requests model + CRUD endpoints (#2597) 2023-07-21 19:35:19 +00:00
apps.py Webhooks trigger tasks on alert group events (#1533) 2023-03-13 21:19:22 +00:00
listeners.py Add transaction on_commit before signals for alert group actions (#3731) 2024-01-31 15:54:50 -07:00
signals.py Add users_to_be_notified to new webhooks payload (#1798) 2023-04-20 16:13:48 +00:00
utils.py expose OUTGOING_WEBHOOK_TIMEOUT as env var (#3801) 2024-02-01 10:48:09 -05:00