The
TracerouteMonitor construct requires Checkly CLI 8.15.0 or later.Prerequisites
Prerequisites
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)
Configuration
Traceroute monitors have their own probe-specific settings, plus the standard monitor options shared across all check types.- Traceroute monitor settings
- General Monitor Settings
Traceroute monitors that don’t set
degradedResponseTime or maxResponseTime move to the 500 and 1,000 ms defaults on their next checkly deploy. Monitors managed in the web app or through the API keep their current limits. If you set only one limit, it is checked against the default of the other: degradedResponseTime above 1,000 alone, or maxResponseTime between 1 and 499 alone, is rejected. Set both limits to use values outside these ranges.TracerouteMonitor Options
Traceroute request configuration, including probe protocol, target host, and response validation.Usage:Parameters:
Final-hop average RTT in milliseconds at which the monitor is marked as degraded (warning state). Set to
0 to turn off the degraded state. Maximum: 30,000. Without maxResponseTime, values above 1,000 are rejected. A monitor can’t show as degraded when the two limits are equal.Usage:Final-hop average RTT in milliseconds at which the monitor is marked as failed. Set to
0 to turn off latency-based failing. Maximum: 30,000. Without degradedResponseTime, values below 500 other than 0 are rejected.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 whendestinationReachedisfalsehopCount(): Assert against the total number of hops recorded in the tracepacketLoss(): Assert against the packet loss percentage at the last recorded hop (0–100)
- 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:
General Monitor Options
Friendly name for your Traceroute monitor that will be displayed in the Checkly dashboard and used in notifications.Usage:
How often the Traceroute monitor should run. Use the Available frequencies:
Frequency enum to set the check interval.Usage: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).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: