• Elastic Load Balancing

elb
  1. Help Center
  2. Elastic Load Balancing
  3. API Reference
  4. Classic Load Balancer APIs
  5. Querying Monitoring Metrics

Querying Monitoring Metrics

Function

This API is used to query all layer-4 and layer-7 traffic monitoring metrics.

Only common tenants can query these monitoring metrics.

URI

GET /v1.0/{project_id}/elbaas/monitor

Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

Request

  • Request parameters

    None

  • Example request

    None

Response

  • Response parameters
    Table 2 Parameter description

    Parameter

    Type

    Description

    act_conn

    Integer

    Specifies the number of active connections.

    cps

    Integer

    Specifies the number of concurrent connections.

    create_time

    String

    Specifies the report time.

    in_Bps

    Integer

    Specifies the inbound rate (bytes/s).

    in_pps

    Integer

    Specifies the number of incoming data packets.

    inact_conn

    Integer

    Specifies the number of inactive connections.

    loadbalancer_id

    String

    Specifies the load balancer ID.

    loadbalancer_ip

    String

    Specifies the load balancer IP address.

    loadbalancer_name

    String

    Specifies the load balancer name.

    ncps

    Integer

    Specifies the number of new connections.

    out_Bps

    Integer

    Specifies the outbound rate (bytes/s).

    out_pps

    Integer

    Specifies the number of outgoing data packets.

  • Example response
    [ 
          { 
              "act_conn": 0,
              "cps": 0,
              "create_time": "2016-05-20 16:46:49",
              "in_Bps": 0,
              "in_pps": 0,
              "inact_conn": 0,
              "loadbalancer_id": "34cf6520808d4766ae1455586ab94ba8",
              "loadbalancer_ip": "10.10.1.233",
              "loadbalancer_name": "lb0721",
              "ncps": 0,
              "out_Bps": 0,
              "out_pps": 0
           },
           {
              "act_conn": 0,
              "cps": 0,
              "create_time": "2016-05-20 16:46:49",
              "in_Bps": 0,
              "in_pps": 0,
              "inact_conn": 0,
              "loadbalancer_id": "b44533cce271437bb692365b0c450543",
              "loadbalancer_ip": "10.10.1.253",
              "loadbalancer_name": "lb0721",
              "ncps": 0,
              "out_Bps": 0,
              "out_pps": 0
           }
    ]