Skip to content

Volcengine EIP

Collect Volcengine EIP Metrics

Configuration

Install Func

It is recommended to activate TrueWatch Integration - Extensions - DataFlux Func (Automata): All prerequisites are automatically installed. Please proceed with the script installation.

If deploying Func manually, refer to Manual Deployment of Func

Install Script

Note: Please prepare a Volcengine AK with the required permissions in advance (for simplicity, you can grant the global read-only permission ReadOnlyAccess).

To synchronize the monitoring data of EIP cloud resources, we install the corresponding collection script: "TrueWatch Integration (Volcengine-EIP Collection)" (ID: integration_volcengine_eip).

After clicking 【Install】, input the corresponding parameters: Volcengine AK, Volcengine Account Name, and Regions.

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

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

Verification

  1. In 「Manage / Automatic Trigger Configuration」, confirm whether the corresponding task has the automatic trigger configuration, and check the task records and logs for any exceptions.
  2. In TrueWatch, check if asset information exists in 「Infrastructure - Resource Catalog」.
  3. In TrueWatch, check if there are corresponding monitoring data in 「Metrics」.

Metrics

Configure Volcengine EIP monitoring metrics to collect more metrics through configuration Volcengine EIP Metrics Details

MetricName Subnamespace Metric Name MetricUnit Dimension
InTraffic Instance Inbound Traffic Bytes ResourceID
OutTraffic Instance Outbound Traffic Bytes ResourceID
InPackets Instance Inbound Packet Count Count ResourceID
OutPackets Instance Outbound Packet Count Count ResourceID
InBPS Instance Inbound Bandwidth Bits/Second ResourceID
OutBPS Instance Outbound Bandwidth Bits/Second ResourceID
InPacketsRate Instance Inbound Packet Rate Packet/Second ResourceID
OutPacketsRate Instance Outbound Packet Rate Packet/Second ResourceID
OutPacketsDropRate Instance Outbound Rate Limit Packet Drop Rate Packet/Second ResourceID
OutRatePercentage Instance Outbound Bandwidth Utilization Percent ResourceID
InRatePercentage Instance Inbound Bandwidth Utilization Percent ResourceID
InPacketsDropRate Instance Inbound Rate Limit Packet Drop Rate Packet/Second ResourceID

Object

The collected Volcengine EIP object data structure can be seen in 「Infrastructure - Resource Catalog」

  {
    "measurement": "volcengine_eip",
    "tags": {
    "AllocationId"    : "eip-xxxxlsmpds73inqkqifze9",
    "Description"     : "",
    "EipAddress"      : "14.103.xx.xx",
    "RegionId"        : "cn-guangzhou",
    "ProjectName"     : "default",
    "name"            : "url-5gwfnylsmpds73inqkxxxx"
    },
    "fileds": {
      "AllocationTime": "2024-12-08T21:42:17+08:00",
      "Bandwidth"     : 115,
      "ExpiredTime"   : "",
      "ISP"           : "BGP"
      "InstanceId"    : "i-ydkgzgx14wwuxjsfi06q",
      "InstanceType"  : "EcsInstance",
      "IsBlocked"     : false,
      "Status"        : "Attached",
      "Tags"          : "[]"
    }
  }