Skip to main content

Upstreams

An upstream is a reusable destination. Many hosts can share one upstream, so changing its address or timeout changes every host that uses it — after a revision containing the change is applied.

Create one with Upstreams → New upstream.

Fields​

FieldMeaning
NameThe reference used by hosts. It is not a host name.
Schemehttp or https between the gateway and the origin.
Address or host nameIPv4 address, IPv6 address or name of the origin.
PortThe origin's listening port.
TLS server name (SNI)The name presented to an https origin when it differs from the address. Leave empty to use the address.
Connect timeout (ms)Time allowed to establish the connection. 0 follows the deployment default.
Response timeout (ms)Time allowed for the origin to answer. 0 follows the deployment default.
Verify the upstream certificateFor https only. Enable it whenever the origin presents a certificate you can validate.

Timeout values are compiled into the data plane. A silent origin cannot hold a request open beyond the response timeout; the gateway answers 504 with its own error page.

Collection​

The Collection section controls per-upstream statistics:

  • Inherit the deployment collector (default) — collect when the deployment collector is enabled.
  • Enabled — collect for this upstream even if the deployment default is off.
  • Disabled — never collect for this upstream.

Collection does not sit in the request path. When it is enabled, the gateway writes a structured access log and the controller turns it into one-minute buckets and hourly rollups. The statistics page then shows requests, 5xx, transport errors, latency percentiles, time to first byte and bytes for a selected time range and node.

Percentiles are computed from merged histogram buckets and are suppressed below 20 observations. Buckets with no node heartbeat are shown as missing coverage, not as zero requests.

Changing the collection mode takes effect with the next applied revision.

Readiness​

Upstreams themselves carry no health check. The readiness expectation belongs to the host that uses the upstream (verification path, expected status, Host header). It is evaluated before a candidate revision is activated, so a confirmed-down origin blocks the activation instead of taking a working name down.