timeout

Enforces a maximum end-to-end latency from request receipt to response headers.
On this page

Enforces a maximum end-to-end latency from request receipt to response headers.

Configuration Notes

This does not cancel the upstream connection; the upstream has already responded by the time this check runs. It is useful for enforcing SLAs.

Configuration

FieldTypeRequiredDescription
timeout_msintegeryesMaximum allowed elapsed time from request receipt to response headers, in milliseconds. Requests that exceed this limit receive a 504.

Example

filter: timeout
timeout_ms: 5000   # 5 seconds