traceroute_tests_percentiles
Creates, updates, deletes, gets or lists a traceroute_tests_percentiles resource.
Overview
| Name | traceroute_tests_percentiles |
| Type | Resource |
| Id | cloudflare.zero_trust.traceroute_tests_percentiles |
Fields
The following fields are returned by SELECT queries:
- list
DEX Traceroute test percentiles response
| Name | Datatype | Description |
|---|---|---|
hopsCount | object | |
packetLossPct | object | |
roundTripTimeMs | object |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | account_id, test_id | deviceId, from, to, colo | Get percentiles for a traceroute test for a given time period between 1 hour and 7 days. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
test_id | string | unique identifier for a specific test |
colo | string | Optionally filter result stats to a Cloudflare colo. Cannot be used in combination with deviceId param. |
deviceId | array | Optionally filter result stats to a specific device(s). Cannot be used in combination with colo param. |
from | string | Start time for the query in ISO (RFC3339 - ISO 8601) format |
to | string | End time for the query in ISO (RFC3339 - ISO 8601) format |
SELECT examples
- list
Get percentiles for a traceroute test for a given time period between 1 hour and 7 days.
SELECT
hopsCount,
packetLossPct,
roundTripTimeMs
FROM cloudflare.zero_trust.traceroute_tests_percentiles
WHERE account_id = '{{ account_id }}' -- required
AND test_id = '{{ test_id }}' -- required
AND deviceId = '{{ deviceId }}'
AND from = '{{ from }}'
AND to = '{{ to }}'
AND colo = '{{ colo }}'
;