Skip to main content
To configure a Traceroute monitor using code, learn more about the Traceroute Monitor Construct.

Basic Setup

Configure your Traceroute monitor by specifying the target host and probe parameters:
  • Hostname or IP address: The host to trace to (e.g. api.example.com or 203.0.113.1). Do not include a scheme or port in this field
  • IP family: Choose between IPv4 (default) or IPv6
  • Protocol: The probe protocol. TCP (default) is the most firewall-friendly option. See the protocol reference for details on TCP, UDP, ICMP, and SCTP
  • Port: Destination port for TCP, UDP, and SCTP probes (1–65535). Defaults to 443 for TCP and 33434 for UDP/SCTP. Not applicable for ICMP — the port field is hidden when ICMP is selected
  • Max Hops: Maximum number of hops to probe before stopping (1–64, default: 30)
  • Max Unknown Hops: Maximum number of consecutive unresponsive hops to tolerate before cutting the trace short (1–30, default: 15). Many routers silently drop traceroute probes without affecting real traffic, so a reasonable limit prevents traces from halting unnecessarily
  • Timeout: Maximum time in seconds to wait for the entire trace to complete (1–30, default: 10)
  • Reverse DNS (PTR lookup): When enabled (default: on), Checkly performs a PTR lookup on each hop IP to resolve it to a hostname. Disable to reduce trace time when hostnames are not needed

Assertions

Use assertions to validate Traceroute results and alert when paths change or degrade: You can create assertions based on:
  • Latency: RTT statistics for the final responding hop. Available properties: avg, min, max, stdDev (all in milliseconds). This assertion requires the destination to be reached — if destinationReached is false, finalHopLatency is absent and the assertion fails
  • Hop Count: Total number of hops recorded in the trace. Use this to detect routing changes that add or remove hops from the expected path
  • Packet Loss: Packet loss percentage at the last recorded hop (0–100). A non-zero value indicates that some probe packets were not returned
For more details, see Assertions.

Response Time Limits

Set performance thresholds based on final-hop latency:
  • Degraded After: Final-hop avg RTT threshold (in milliseconds) after which the check is marked as degraded but not failed. Default: 3,000 ms. Maximum: 30,000 ms
  • Failed After: Final-hop avg RTT threshold after which the check fails completely. Default: 5,000 ms. Maximum: 30,000 ms
Response-time thresholds apply to the final-hop average RTT, not the total check execution time. If the destination is not reached, the monitor is marked as failed regardless of these thresholds.

JSON Response Schema

The Traceroute response is available as structured JSON. These are the key fields (a few internal bookkeeping fields are omitted here, and fields marked as omitted are absent from the JSON rather than empty):

Frequency

Set how often the monitor runs. Traceroute monitors run at most once every 30 seconds (every 30 seconds to 24 hours) — the two sub-30-second frequencies aren’t available.

Scheduling & Locations

  • Strategy: Choose between round-robin or parallel execution. Learn more about scheduling strategies
  • Locations: Select public or private locations to run the monitor from

Additional Settings