Skip to main content

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
FieldDescriptionSchemeRequired
endpointhost:port to connect tostringYes
thresholdMillisExpected response time threshold in msint64
nameName of the check, must be unique within the canarystringYes
descriptionDescription for the checkstring
iconIcon for overwriting default icon on the dashboardstring
labelsLabels for checkmap[string]string
testEvaluate whether a check is healthyExpression
displayExpression to change the formatting of the displayExpression
transformTransform data from a check into multiple individual checksExpression
metricsMetrics to export from[]Metrics