Get Memory and CPU Usage of a Grid
Description
You can use this API to get the memory and CPU usage details of a specific grid. The required grid is referred to using its Grid ID.
Request Details
Request URL
{api-domain}/browser360/v1/project/{project_id}/browser-grid/{grid_id}/stats?data_to_fetch=memory_cpu_usage&datetime_filter=Last+30+Days
Scope
ZohoCatalyst.grid.read
Request Headers for API Using OAuth
Authorization: Zoho-oauthtoken {oauth_token}
Content-Type: application/json
CATALYST-ORG: Provide the value of your Org ID.
Request Headers for API Using API Key
Authorization
api-key: The unique key generated by Catalyst. It can be retrieved from the console.
Response Details
You will receive a response containing the maximum and average values of the memory and CPU usage stats of a specific grid referred to using its Grid ID.
curl -X GET
‘https://api.catalyst.zoho.com/browser360/v1/project/38119000000022053/browser-grid/3970000000005013/stats?datetime_filter=24+Hours&data_to_fetch=memory_cpu_usage'
-H ‘CATALYST-ORG: 111737956’
-H ‘Authorization: Zoho-oauthtoken 1000*********************************************780’
-H ‘catalyst-org: 111737956’
curl -X GET
‘https://api.catalyst.zoho.com/browser360/v1/project/38119000000022053/browser-grid/3970000000005013/stats?datetime_filter=24+Hours&data_to_fetch=memory_cpu_usage'
-H ‘CATALYST-ORG: 111737956’
-H ‘api-key: 96********************************************************************7049’
{
“status”: “success”,
“data”: {
“max_memory_usage”: 926.65234375,
“high_disk_usage_count”: 0,
“max_cpu_usage”: 1.1011011011011012,
“avg_memory_usage”: 926.65234375,
“avg_cpu_usage”: 1.1011011011011012
}
}
Yes
No
Send your feedback to us