DigitalOcean-public.v2-new_Monitoring
Get Load Balancer Frontend Average Percentage CPU Utilization Metrics
To retrieve frontend average percentage CPU utilization for a given load balancer, send a GET request to /v2/monitoring/metrics/load_balancer/frontend_cpu_utilization.
get/v2/monitoring/metrics/load_balancer/frontend_cpu_utilization
Query parameters
lb_idstring required
A unique identifier for a load balancer.
startstring required
UNIX timestamp to start metric window.
endstring required
UNIX timestamp to end metric window.
Response
The response will be a JSON object with a key called data and status.
Example response
{
"data": {
"result": [
{
"metric": {
"host_id": "19201920"
},
"values": [
[
1435781430,
"1"
],
[
1435781445,
"1"
]
]
}
],
"resultType": "matrix"
},
"status": "success"
}