diff --git a/constructs/traceroute-monitor.mdx b/constructs/traceroute-monitor.mdx index 12eaa226a..859c92489 100644 --- a/constructs/traceroute-monitor.mdx +++ b/constructs/traceroute-monitor.mdx @@ -50,8 +50,8 @@ new TracerouteMonitor('traceroute-db', { activated: true, frequency: Frequency.EVERY_10M, locations: ['us-east-1', 'eu-central-1'], - degradedResponseTime: 10000, - maxResponseTime: 20000, + degradedResponseTime: 200, + maxResponseTime: 400, request: { url: 'db.example.com', protocol: 'TCP', @@ -82,8 +82,8 @@ Traceroute monitors have their own probe-specific settings, plus the standard mo | Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | `request` | `object` | ✅ | - | Traceroute request configuration object | -| `degradedResponseTime` | `number` | ❌ | `10000` | Final-hop avg RTT in milliseconds at which the monitor is marked as degraded | -| `maxResponseTime` | `number` | ❌ | `20000` | Final-hop avg RTT in milliseconds at which the monitor is marked as failed | +| `degradedResponseTime` | `number` | ❌ | `500` | Final-hop avg RTT in milliseconds at which the monitor is marked as degraded | +| `maxResponseTime` | `number` | ❌ | `1000` | Final-hop avg RTT in milliseconds at which the monitor is marked as failed | @@ -93,6 +93,10 @@ Traceroute monitors have their own probe-specific settings, plus the standard mo + +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 @@ -132,8 +136,8 @@ new TracerouteMonitor('traceroute-monitor', { - -Final-hop average RTT in milliseconds at which the monitor is marked as degraded (warning state). Maximum: 30,000. + +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:** @@ -141,7 +145,7 @@ Final-hop average RTT in milliseconds at which the monitor is marked as degraded ```ts highlight={3} new TracerouteMonitor("traceroute-latency-tiers", { name: "API Network Path", - degradedResponseTime: 5000, // Warn when final-hop avg RTT exceeds 5 seconds + degradedResponseTime: 300, // Warn when final-hop avg RTT reaches 300 ms request: { url: 'api.example.com', }, @@ -149,8 +153,8 @@ new TracerouteMonitor("traceroute-latency-tiers", { ``` - -Final-hop average RTT in milliseconds at which the monitor is marked as failed. Maximum: 30,000. + +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:** @@ -158,7 +162,7 @@ Final-hop average RTT in milliseconds at which the monitor is marked as failed. ```ts highlight={3} new TracerouteMonitor("traceroute-latency-tiers", { name: "API Network Path", - maxResponseTime: 15000, // Fail when final-hop avg RTT exceeds 15 seconds + maxResponseTime: 800, // Fail when final-hop avg RTT reaches 800 ms request: { url: 'api.example.com', }, diff --git a/detect/uptime-monitoring/traceroute-monitors/configuration.mdx b/detect/uptime-monitoring/traceroute-monitors/configuration.mdx index 7830d9244..ea8a043bb 100644 --- a/detect/uptime-monitoring/traceroute-monitors/configuration.mdx +++ b/detect/uptime-monitoring/traceroute-monitors/configuration.mdx @@ -38,8 +38,10 @@ For more details, see [Assertions](/detect/assertions). 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 +* **Degraded After:** Final-hop avg RTT threshold (in milliseconds) at or above which the check is marked as degraded but not failed. Default: 500 ms. Maximum: 30,000 ms +* **Failed After:** Final-hop avg RTT threshold at or above which the check fails completely. Default: 1,000 ms. Maximum: 30,000 ms + +Set a limit to 0 to turn it off. The failed limit can't be lower than the degraded limit, unless the failed limit is 0. 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.