type query parameter, using one of the metric type identifiers described in this topic. The API matches these identifiers case-insensitively.
Each service type has its own telemetry endpoint and its own set of metric types. The endpoints and their parameters are described in Telemetry API endpoints, and each metric type is defined in Metric types.
For the Portal views of the same data, see Service Telemetry and IX Telemetry.
Telemetry API endpoints
Retrieve telemetry data by sending a GET request to the endpoint for the service type you are monitoring. Each endpoint accepts a set of metric type values through itstype query parameter.
Before you begin, obtain a valid access token. For more information, see Creating an API Key.
Request parameters
Each request supports these parameters through its query string or path.Endpoints by service type
Each endpoint accepts these metric type values.Metric types
The following metric types are available through thetype query parameter. Each entry lists the metric type identifier, the unit its values are returned in, and its sub-types. Not every metric type applies to every service type. See Telemetry API endpoints for the metric types each endpoint accepts.
Traffic
BITS - Traffic on the service, reported separately for each direction. The measured value is returned to users in Megabits per second (Mbps) unit.
Sub-types:
InOutConfigured speed (Mbps)- The configured speed value, returned alongside In and Out
A_BITS - Traffic at the A-End of the connection, reported separately for each direction. The measured value is returned to users in Megabits per second (Mbps) unit.
Sub-types:
InOutConfigured speed (Mbps)- The configured speed value, returned alongside In and Out
B_BITS - Traffic at the B-End of the connection, reported separately for each direction. The measured value is returned to users in Megabits per second (Mbps) unit.
Sub-types:
InOutConfigured speed (Mbps)- The configured speed value, returned alongside In and Out
Packets
PACKETS - Packets on the service, reported separately for each direction. The measured value is returned to users in packets per second (pps) unit.
Sub-types:
InOut
A_PACKETS - Packets at the A-End of the connection, reported separately for each direction. The measured value is returned to users in packets per second (pps) unit.
Sub-types:
InOut
B_PACKETS - Packets at the B-End of the connection, reported separately for each direction. The measured value is returned to users in packets per second (pps) unit.
Sub-types:
InOut
Errors
ERRORS - Errors on the service, reported separately for each direction. The measured value is returned to users in errors per second unit.
Sub-types:
InOut
Optical
OPTICAL - Optical signal levels for the service. The measured value is returned to users in decibel milliwatts (dBm) unit.
Sub-types:
Tx Power- Light level transmittedRx Power- Light level received
OPTICAL_100G - Optical signal levels for a 100 Gbps Port, reported per lane. Useful for measuring signal loss over the connection. The measured value is returned to users in decibel milliwatts (dBm) unit.
Sub-types:
Tx Power Lane- Light level transmitted, reported for each laneRx Power Lane- Light level received, reported for each lane
Speed and service count
SUBSCRIBED_SPEED - The subscribed speed of the service. The measured value is returned to users in Megabits per second (Mbps) unit.
Sub-types:
Mbps- The subscribed speed value
SERVICE_COUNT - The number of active services connected to the service. The measured value is returned to users as a count of services.
Sub-types:
Count- The number of active services
Routing
ROUTES_IMPORTED - A count of the BGP routes accepted from the IX peer, reported separately for each route server. The measured value is returned to users as a count of BGP routes.
Sub-types:
Primary IPv4Primary IPv6Secondary IPv4Secondary IPv6
ROUTES_FILTERED - A count of the imported BGP routes dropped by Megaport route filters, reported separately for each route server. The measured value is returned to users as a count of BGP routes.
Sub-types:
Primary IPv4Primary IPv6Secondary IPv4Secondary IPv6
Broadcast, multicast, and unknown unicast
BM_BYTES - The volume of broadcast and multicast traffic emitted from the IX peer. The measured value is returned to users in Megabits per second (Mbps) unit.
Sub-types:
Bytes
BM_PACKETS - The rate of broadcast and multicast packets emitted from the IX peer. The measured value is returned to users in packets per second (pps) unit.
Sub-types:
Packets
UU_BYTES - The volume of unknown unicast traffic emitted from the IX peer. The measured value is returned to users in Megabits per second (Mbps) unit.
Sub-types:
Bytes
UU_PACKETS - The rate of unknown unicast packets emitted from the IX peer. The measured value is returned to users in packets per second (pps) unit.
Sub-types:
Packets