DigitalOcean-public.v2-new_Monitoring
Get Load Balancer Droplets Active Connections Metrics
To retrieve Droplets active connections for a given load balancer, send a GET request to /v2/monitoring/metrics/load_balancer/droplets_connections.
get/v2/monitoring/metrics/load_balancer/droplets_connections
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"
}