- Which users are having API issues
- How each individual user’s performance is
- From which locations you are getting requests from
- Any specific IP which is accessing or causing load on your server
- From which countries you are getting requests
- How the performance is spread across each country
- Which domains are being affected, and their response times
- Retry the requests individually using the custom attributes
- Have custom attributes per request, based on which you can query or group by and see metrics and more.
Installation & Setup
- Install Atatus PHP agent. Please follow the installation steps of Atatus PHP agent.
-
Enable analytics feature by setting the below configuration in
atatus.inifile.You can find the path ofatatus.inifile by runningphp -i | grep atatus.ini. - Restart your web service (nginx/apache/fpm)
- You should start seeing data in Analytics section in a few minutes. If you are having issues, please email success@atatus.com.
Analytics APIs Tips & Tricks
To get the most out of PHP Analytics, please set the following APIs in your code accordingly.- atatus_set_user: You can identify the user id, user email, user name for each API call
- atatus_set_company: You can identify which organization or company is utilizing the API call
- atatus_set_request_body: You can set the request body of your API for easier analysis and copying as cURL option.
- atatus_set_response_body: You can set the response body of your API for easier analysis and copying as cURL option.