Config fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
config.host | string | Yes | — | Hostname or IP address |
config.port | integer | No | — | TCP port (1–65535) |
config.timeoutMs | integer | No | 10000 | Connection timeout in milliseconds |
Assertions
| Assertion | Fields | Description |
|---|---|---|
tcp_connects | (none) | Passes if a TCP connection is established |
tcp_response_time | maxMs (integer) | Fails if connection time exceeds threshold |
tcp_response_time_warn | warnMs (integer) | Records degraded hint if connection time is elevated |
Examples
Basic port check
With response time threshold
Next steps
TCP overview
When to use TCP monitors.
Regions
Available probe regions.