 TCP
 TCP
This checks whether the given address is reachable within the specified timeout period.
apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
  name: tcp-check
spec:
  schedule: "*/1 * * * *"
  tcp:
    - name: "flanksource website"
      endpoint: www.flanksource.com:80
      thresholdMillis: 1200
| Field | Description | Scheme | Required | 
|---|---|---|---|
| endpoint | host:portto connect to | string | Yes | 
| thresholdMillis | Expected response time threshold in ms | int64 | |
| name | Name of the check, must be unique within the canary | string | Yes | 
| description | Description for the check | string | |
| icon | Icon for overwriting default icon on the dashboard | string | |
| labels | Labels for check | map[string]string | |
| test | Evaluate whether a check is healthy | Expression | |
| display | Expression to change the formatting of the display | Expression | |
| transform | Transform data from a check into multiple individual checks | Expression | |
| metrics | Metrics to export from | []Metrics |