This data call provides information on the number of peers as seen by the RIS system. The data call supports history and each data point is aligned to
the RIS RIB dump times (every 8 hours starting from midnight each day). Additionally the data shows the number of full-table peers with paramters to
change the threshold (per address family).
https://stat.ripe.net/data/ris-peer-count/data.<format>?<parameters>
e.g. https://stat.ripe.net/data/ris-peer-count/data.json
Parameters
Key
|
Value
|
Info
|
Required
|
starttime/endtime
|
ISO8601 or Unix timestamp
|
Defines the start and end time for the query window
|
No - by default it will return the latest available data point (either 00:00, 08:00 or 16:00 UTC)
|
v4_full_prefix_threshold/
v6_full_prefix_threshold
|
digit
|
Defines the thresholds (IPv4 and IPv6) used to calculate the number of full-table peers.
|
NO - default are returned in the output.
|
Output
Data
Key
|
Info
|
peer_count
|
Groups the address families. Each group item ("v4" or "v6") has the following structure:
total or full_feed |
"total" shows the total number of peers and "full_feed" shows the number of peers that are considered full-table peers.
Each group has further:
count |
The number of peers |
timestamp |
Date and time (UTC) when this data point is valid, in ISO8601 format |
|
|
v4_full_prefix_threshold/ v6_full_prefix_threshold
|
Reflects the thresholds that are used for the calculations of the full-table peers. Both (IPv4 and IPv6) are the number of
prefixes a peer needs to send before it is considered a full-table peer.
|
starttime / endtime
|
Reflects the start and end time for the query window of the result.
|
Example
"peer_count": {
"v4": {
"total": [
{
"count": 349,
"timestamp": "2014-12-09T08:00:00"
}
],
"full_feed": [
{
"count": 105,
"timestamp": "2014-12-09T08:00:00"
}
]
},
"v6": {
"total": [
{
"count": 168,
"timestamp": "2014-12-09T08:00:00"
}
],
"full_feed": [
{
"count": 95,
"timestamp": "2014-12-09T08:00:00"
}
]
}
},
"start_time": "2014-12-09T08:00:00",
"v6_full_prefix_threshold": 5000,
"end_time": "2014-12-09T08:00:00",
"v4_full_prefix_threshold": 150000
}