Skip to main content
Version: 26.01

Performance Monitoring - Read Issues

Endpoint​

/o/apm/issues

Overview​

Returns the network and device traces that have a threshold and are slower than it.

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 issues​

/o/apm/issues?
app_id=6991c75b024cb89cdc04efd2&
api_key=YOUR_API_KEY

Response​

Success Response​

[
{
"name": "example.com/demo/",
"id": "TRACE_ID",
"type": "network",
"c": 1,
"th": 2,
"t": 16,
"status": "open"
}
]

Response Fields​

FieldTypeDescription
(root array)ArrayOne entry per issue.
nameStringTrace name.
idStringTrace ID. Use it with Performance Monitoring - Edit Trace Threshold and Performance Monitoring - Change Trace Status.
typeStringnetwork or device.
cNumberSamples above the threshold.
thNumberThreshold set for the trace.
tNumberTotal samples.
statusStringopen or mute.

Behavior​

  • The device traces app_in_background and app_in_foreground are not reported as issues.