TCP
Checks if a network port is reachable.
tcp.yamlapiVersion: 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 | 
|---|---|---|
endpoint* | Host to ping  | string  | 
name* | Name of the check, must be unique within the canary  | string  | 
thresholdMillis | Threshold response time from DNS server  | int  | 
description | Description for the check  | string  | 
display | Expression to change the formatting of the display  | |
icon | Icon for overwriting default icon on the dashboard  | |
labels | Labels for check  | map[string]string  | 
metrics | Metrics to export from  | |
test | Evaluate whether a check is healthy  | |
transform | Transform data from a check into multiple individual checks  |