speed_histogram
Creates, updates, deletes, gets or lists a speed_histogram resource.
Overview
| Name | speed_histogram |
| Type | Resource |
| Id | cloudflare.radar.speed_histogram |
Fields
The following fields are returned by SELECT queries:
- list
Successful response.
| Name | Datatype | Description |
|---|---|---|
histogram_0 | object | |
meta | object | Metadata for the results. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | name, dateEnd, asn, location, continent, bucketSize, metricGroup, format | Retrieves a histogram from the previous 90 days of Cloudflare Speed Test data, split into fixed bandwidth (Mbps), latency (ms), or jitter (ms) buckets. |
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 |
|---|---|---|
asn | array | Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with - to exclude ASNs from results. For example, -174, 3356 excludes results from AS174, but includes results from AS3356. |
bucketSize | integer | Specifies the width for every bucket in the histogram. |
continent | array | Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with - to exclude continents from results. For example, -EU,NA excludes results from EU, but includes results from NA. |
dateEnd | array | End of the date range (inclusive). |
format | string | Format in which results will be returned. |
location | array | Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with - to exclude locations from results. For example, -US,PT excludes results from the US, but includes results from PT. |
metricGroup | string | Metrics to be returned. |
name | array | Array of names used to label the series in the response. |
SELECT examples
- list
Retrieves a histogram from the previous 90 days of Cloudflare Speed Test data, split into fixed bandwidth (Mbps), latency (ms), or jitter (ms) buckets.
SELECT
histogram_0,
meta
FROM cloudflare.radar.speed_histogram
WHERE name = '{{ name }}'
AND dateEnd = '{{ dateEnd }}'
AND asn = '{{ asn }}'
AND location = '{{ location }}'
AND continent = '{{ continent }}'
AND bucketSize = '{{ bucketSize }}'
AND metricGroup = '{{ metricGroup }}'
AND format = '{{ format }}'
;