NodeBalancers

NodeBalancer Statistics View

get
https://api.linode.com/v4/nodebalancers/{nodeBalancerId}/stats

Returns detailed statistics about the requested NodeBalancer.

Path Parameters

nodeBalancerId
Required
integer

The ID of the NodeBalancer to access.

Request Samples

    Response Samples

    {
      "data": {
        "connections": "",
        "traffic": {
          "in": [],
          "out": []
        }
      },
      "title": "linode.com - balancer12345 (12345) - day (5 min avg)"
    }

    Responses

    200: The requested stats.

    data
    object

    The data returned about this NodeBalancers.

    connections
    array

    An array of key/value pairs representing unix timestamp and reading for connections to this NodeBalancer.

    traffic
    object

    Traffic statistics for this NodeBalancer.

    in
    array

    An array of key/value pairs representing unix timestamp and reading for inbound traffic.

    out
    array

    An array of key/value pairs representing unix timestamp and reading for outbound traffic.

    title
    string

    The title for the statistics generated in this response.

    default: Error

    errors
    array of objects
    reason
    string

    What happened to cause this error. In most cases, this can be fixed immediately by changing the data you sent in the request, but in some cases you will be instructed to open a Support Ticket or perform some other action before you can complete the request successfully.

    field
    string

    The field in the request that caused this error. This may be a path, separated by periods in the case of nested fields. In some cases this may come back as "null" if the error is not specific to any single element of the request.