Skip to content

Alibaba Cloud EIP

Display of Alibaba Cloud EIP Metrics, including network bandwidth, network data packets, rate of limited packet loss, bandwidth utilization, etc.

Configuration

Install Func

It is recommended to enable the Guance integration - extension - hosted Func.

If you deploy Func yourself, refer to Self-deployed Func

Enable Script

Note: Please prepare an Alibaba Cloud AK that meets the requirements in advance (for simplicity, you can directly grant global read-only permission ReadOnlyAccess).

Hosted Version Enable Script

  1. Log in to the Guance console.
  2. Click on the 【Integration】 menu and select 【Cloud Account Management】.
  3. Click 【Add Cloud Account】, choose 【Alibaba Cloud】, and fill in the required information on the interface. If the cloud account information has been configured before, ignore this step.
  4. Click 【Test】, if the test succeeds, click 【Save】. If the test fails, check whether the related configuration information is correct and retest.
  5. In the 【Cloud Account Management】 list, you can see the added cloud account. Click the corresponding cloud account to enter the details page.
  6. Click the 【Integration】 button on the cloud account details page. In the Not Installed list, find Alibaba Cloud EIP, click the 【Install】 button, and a pop-up installation interface will appear.

Manual Enable Script

  1. Log in to the Func console, click 【Script Market】, enter the official script market, and search:guance_aliyun_eip

  2. After clicking 【Install】, input the corresponding parameters: Alibaba Cloud AK ID, AK Secret, and account name.

  3. Click 【Deploy Startup Script】, the system will automatically create a Startup script set and automatically configure the corresponding startup script.

  4. After enabling, you can see the corresponding automatic trigger configuration in 「Management / Automatic Trigger Configuration」. Click 【Execute】 to immediately execute once without waiting for the regular time. Wait a moment, and you can view the execution task records and corresponding logs.

We default collect some configurations, for more details, see the metrics section.

Customize Cloud Object Metrics Configuration

Verification

  1. In 「Management / Automatic Trigger Configuration」, confirm whether the corresponding task has an automatic trigger configuration, and at the same time, you can check the corresponding task records and logs to see if there are any abnormalities.
  2. In Guance, under 「Infrastructure / Custom」, check if there is asset information.
  3. In Guance, under 「Metrics」, check if there is corresponding monitoring data.

Metrics

After configuring Alibaba Cloud - Cloud Monitoring, the default metric set is as follows. You can collect more metrics through configuration. Alibaba Cloud Cloud Monitoring Metric Details

Metric Description Statistics Unit
net_rx_rate Incoming network bandwidth Value bits/s
net_tx_rate Outgoing network bandwidth Value bits/s
netrxPkgs_rate Incoming packet rate Average,Minimum,Maximum,Sum Packets/Second
nettxPkgs_rate Outgoing packet rate Average,Minimum,Maximum,Sum Packets/Second
net_in.rate_percentage Incoming network bandwidth utilization Average
net_out.rate_percentage Outgoing network bandwidth utilization Average
net_rx Incoming traffic Average,Minimum,Maximum,Sum bytes
net_tx Outgoing traffic Average,Minimum,Maximum,Sum bytes
net_rxPkgs Incoming data packet count Average,Minimum,Maximum,Sum Count
net_txPkgs Outgoing data packet count Average,Minimum,Maximum,Sum Count
in_ratelimit_drop_speed Inbound rate-limited packet drop rate Average,Minimum,Maximum,Sum Packets/Second
out_ratelimit_drop_speed Outbound rate-limited packet drop rate Average,Minimum,Maximum,Sum Packets/Second

Objects

The collected Alibaba Cloud EIP object data structure can be seen from 「Infrastructure - Custom」.

{
  "measurement": "aliyun_eip",
  "tags": {
    "name"              : "eip-xxxxx",
    "AllocationId"      : "eip-bp1lfsikwo4roa0mcqg9u",
    "EIPName"           : "",
    "Status"            : "InUse",
    "RegionId"          : "cn-hangzhou",
    "Bandwidth"         : "1",
    "IpAddress"         : "47.96.22.249",
    "InternetChargeType": "PayByTraffic",
    "BusinessStatus"    : "Normal",
    "ChargeType"        : "PostPaid"
  },
  "fields": {
    "AllocationTime": "2022-01-20T03:06:51Z",
    "ExpiredTime"   : "",
    "message"       : "{Instance JSON Data}"
  }
}

Feedback

Is this page helpful? ×