Skip to main content
Learn more about Traceroute Monitors in the Traceroute monitor overview.
Traceroute monitors map the network path to a host hop-by-hop, measuring per-hop latency and packet loss, and detecting whether the destination is reached. Use them to monitor path stability and catch routing issues before they affect your users.
Before creating Traceroute Monitors, ensure you have:
  • An initialized Checkly CLI project
  • A hostname or IP address you want to trace
  • Basic understanding of network tracing (traceroute / tracert)
For additional setup information, see CLI overview.

Configuration

Traceroute monitors have their own probe-specific settings, plus the standard monitor options shared across all check types.

TracerouteMonitor Options

request
object
required
Traceroute request configuration, including probe protocol, target host, and response validation.Usage:
Parameters:
degradedResponseTime
number
default:"10000"
Final-hop average RTT in milliseconds at which the monitor is marked as degraded (warning state). Maximum: 30,000.Usage:
maxResponseTime
number
default:"20000"
Final-hop average RTT in milliseconds at which the monitor is marked as failed. Maximum: 30,000.Usage:

TracerouteMonitor Assertions

Assertions for Traceroute monitors are defined using the TracerouteAssertionBuilder. The following sources are available:
  • responseTime(property?): Validate RTT at the final responding hop. Pass 'avg', 'min', 'max', or 'stdDev' as the argument to target a specific statistic; when omitted, it defaults to 'avg'. This assertion fails when destinationReached is false
  • hopCount(): Assert against the total number of hops recorded in the trace
  • packetLoss(): Assert against the packet loss percentage at the last recorded hop (0–100)
Here are some examples:
  • Assert that the average final-hop latency is below a threshold (default property is avg):
  • Assert against a specific RTT property:
  • Assert on the number of hops:
  • Assert on packet loss at the last hop:
Learn more in our docs on Assertions.

General Monitor Options

name
string
required
Friendly name for your Traceroute Monitor that will be displayed in the Checkly dashboard and used in notifications.Usage:
frequency
Frequency
How often the Traceroute Monitor should run. Use the Frequency enum to set the check interval.Usage:
Available frequencies: EVERY_30S, EVERY_1M, EVERY_2M, EVERY_5M, EVERY_10M, EVERY_15M, EVERY_30M, EVERY_1H, EVERY_2H, EVERY_3H, EVERY_6H, EVERY_12H, EVERY_24H. Traceroute monitors do not support sub-30-second frequencies (EVERY_10S / EVERY_20S).
locations
string[]
default:"[]"
Array of public location codes where the Traceroute Monitor should run from. Use privateLocations for private locations. Multiple locations help detect regional routing differences.Usage:
activated
boolean
default:"true"
Whether the Traceroute Monitor is enabled and will run according to its schedule.Usage: