Skip to main content
Version: 26.01

Performance Monitoring - Read Network Latency Breakdown

Endpoint​

/o/apm/network-latency-breakdown

Overview​

Returns the network response time per country, with a breakdown of requests into below, between and above groups.

Authentication​

Pass api_key or auth_token as a query parameter, or send countly-token as a header. See Authentication.

Permissions​

Requires performance_monitoring Read permission.

Request Parameters​

ParameterTypeRequiredDescription
app_idStringYesApplication ID.
api_keyStringConditionalRequired if auth_token is not provided.
auth_tokenStringConditionalRequired if api_key is not provided.

Examples​

Read the latency breakdown​

/o/apm/network-latency-breakdown?
app_id=6991c75b024cb89cdc04efd2&
api_key=YOUR_API_KEY

Response​

Success Response​

[
{
"cc": "TR",
"data": {
"response_time": 375
},
"breakdown": {
"below": 3,
"between": 0,
"above": 0
}
}
]

Response Fields​

FieldTypeDescription
(root array)ArrayOne entry per country.
ccStringCountry code, or Unknown.
data.response_timeNumberResponse time for the country.
breakdown.belowNumberRequests in the below group.
breakdown.betweenNumberRequests in the between group.
breakdown.aboveNumberRequests in the above group.