Skip to content

Stats Filters

mappel edited this page Aug 20, 2021 · 4 revisions

Stats / Filters

Each time the traceroute_to_bgp.py script is executed, an entry in the corresponding stats topic (e.g., ihr_bgp_traceroutev4_stats) is created. The following data points are recorded:

  • start: Start timestamp of converted traceroutes.
  • stop: Stop timestamp (exclusive) of converted traceroutes.
  • msm_ids: List of requested measurement ids or None if no filter was applied.
  • target_asn: Requested AS number or None if no filter was applied.
  • stats:
    • total: Total number of input traceroutes after msm_ids and target_asn filters were applied.
    • no_dst_addr: Number of traceroutes with missing (or empty) destination address (dst_addr) field.
    • no_dst_asn: Number of traceroutes where AS lookup for the destination address failed.
    • no_prefix: Number of traceroutes where prefix lookup for the destination address failed.
    • no_from: Number of traceroutes with missing (or empty) probe address (from) field.
    • no_peer_asn: Number of traceroutes where AS lookup for the probe address failed.
    • duplicate: Number of traceroutes where the (probe address, destination prefix) pair was already present in an earlier traceroute within the specified time interval.
    • changed_ip: Number of probes which changed their address within the specified time interval.
    • accepted: Number of "valid" traceroutes, i.e., remainder after all of the above fields (except changed_ip) are subtracted from total.
    • dnf: Number of traceroutes which did not reach their target due to some critical error (e.g., packet send failed).
    • empty_path: Number of traceroutes which result in an empty path, i.e., we can not resolve any of the hops to an AS number.
    • single_as: Number of traceroutes which would result in an AS path with length 1.
    • used: Number of traceroutes which are actually used for the hegemony calculation (dnf, empty_path, and single_as subtracted from accepted).
    • too_many_hops: Number of traceroutes which did not reach their target due to too many hops, e.g., if the target does not reply. These traceroutes are not discarded, since not reaching the actual target is the normal case for many traceroutes.
    • start_as_missing: Number of traceroutes where the start AS (i.e., the AS of the probe) was not present as a hop and was added by the script.
    • end_as_missing: Number of traceroutes where the end AS (i.e., the AS of the destination) was not present as a hop and was added by the script.
    • ixp_in_path: Number of traceroutes which contain an IXP.
    • as_set: Number of traceroutes which contain an AS set.
    • scopes: Set of target ASes contained in the requested traceroutes.

The stats are recorded on a first-match basis (in the order specified above), e.g., if a traceroute has a missing destination address, which would automatically lead to a failed destination AS lookup, it only counts towards the no_dst_addr statistic.

For more information about some of the fields take a look at the RIPE Atlas documentation.

Clone this wiki locally