Uptime and downtime events
When Tyk detects downtime on a test, it will trigger a system event called
HostDown, when that host returns to service, it will trigger
HostUp. These events are triggered in the same event system as other Tyk Events, and therefore can have any kind of action performed:
- A logger action
- A web hook to a notification URL
- A custom JS script for complex API interactions
Please see the section on the event system on how to add event handlers to your API Definition.
Since tests are on a URL-by-URL basis, you could potentially see multiple host down events for a single host where multiple endpoints are being tested.