Synthetic Monitoring
Monitors
TCP Monitor - Test TCP Port Connectivity
6 min
the tcp monitor tests the availability and responsiveness of a specific tcp host and port by establishing a connection and optionally exchanging data creating a new tcp monitor navigate to synthetic monitoring > monitors click on add new from the monitor type dropdown, select tcp test tcp port connectivity basic settings host\ port enter the target tcp host and port in the format hostname\ port that you want to monitor monitor name provide a clear and descriptive name for the monitor check interval define how often the monitor should attempt to connect to the tcp port timeout set the maximum time the monitor will wait for a response before considering the check unsuccessful monitoring locations select one or more geographic monitoring locations from which the tcp checks will be performed notification settings choose the notification channels where alerts will be sent if the tcp monitor detects failure or downtime tcp configuration send payload (optional) specify any data (in text or bytes) to send to the tcp port immediately after a successful connection is established read size (bytes) define how many bytes the monitor should read from the server in response after sending the payload or after connection if no payload is sent read timeout (ms) set the maximum time (in milliseconds) the monitor waits for a response from the server after sending the payload or establishing the connection assertions assertions specify what connectivity and response metrics the monitor evaluates connect time (ms) measures the time taken to complete the tcp handshake with the target host time to first byte (ms) the duration between establishing the connection and receiving the first byte of data from the server total time (ms) the total elapsed time for the entire connection and data exchange process response data validates the actual data returned by the server after sending the payload or upon connection if no payload is sent metrics metrics available to be monitored in dashboard section metric name type description labels kloudmate synthetic check network write time gauge time taken to write to the connection (for tcp and udp) check id, check name, check type, target, workspace id, location kloudmate synthetic check network read time gauge time taken to read from the connection (for tcp and udp) check id, check name, check type, target, workspace id, location kloudmate synthetic check connect time gauge time taken to establish a connection applicable to http, tcp, udp, websocket, and ssl checks check id, check name, check type, target, workspace id, location kloudmate synthetic check tls handshake time gauge time taken for the tls handshake applicable to http and tcp checks check id, check name, check type, target, workspace id, location kloudmate synthetic check time to first byte gauge time to the first byte applicable to http, tcp, and udp checks check id, check name, check type, target, workspace id, location kloudmate synthetic check response size bytes gauge the size of the response in bytes applicable to http, tcp, and udp checks check id, check name, check type, target, workspace id, location related resources docid 6yltrrdvsdsxennkky8j7