Tyk v2.2 Documentation Components

HomeTyk v2.2 Documentation ComponentsUptime tests: Events

Uptime tests: Events

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.

Was this article helpful to you? Yes No