View statistics

There are statistics available for the load balancer.


View statistics using the control panel

Under the Statistics tab, you can view the number of connections to the load balancer in a graph. The maximum number of connections you set is also displayed as a red line.

View statistics using the API

It's possible to extract the current number of connections and the maximum number of allowed connections using the API. Use the loadbalancer/details endpoint to extract the information. The key currentsessions contains the number of current connections, and maxconnections contains the maximum number of allowed connections.

For example, by using cURL you can extract all the data in XML format:

Or, if you prefer JSON format:

You can then use jq to select the first load balancer's currentsessions.

Last updated

Was this helpful?