Skip to content

Kingsoft Cloud BWS

Collect Kingsoft Cloud BWS monitoring data.

Configuration

Prerequisites

Prepare a valid Kingsoft Cloud AK ID,AK Secret,and grant read-only permissions required for collection.

Install Func

We recommend enabling TrueWatchIntegrations - Extensions - Hosted Func: all prerequisites are installed automatically, continue with script installation

For a self-hosted deployment of Func seeSelf-host Func Func

Install the Script

  1. Log in to Func Console,Click[Script Market],openTrueWatchScript Market,search for integration_kingsoftcloud_bws
  2. Click[Install]then,enter the required parameters:Kingsoft Cloud AK ID,AK Secret and the account name
  3. Click[Deploy Startup Script],the system automatically creates Startup script set,and configures the corresponding startup script
  4. after enabling it, open"Management / Automatic Trigger Configuration"to view the automatic trigger configuration.Click[Run],to run it immediately,without waiting for the scheduled interval.wait a moment,you can view execution records and related logs

Verification

  1. In"Management / Automatic Trigger Configuration"confirm that the automatic trigger configuration exists for the task,and review task records and logs for exceptions
  2. InTrueWatch,"Infrastructure - Resource Catalog"to verify that asset information is available
  3. InTrueWatch,"Metrics"verify that the corresponding monitoring data

Metrics

After configuring Kingsoft Cloud-Cloud Monitor,the default metric sets are listed below,additional metrics can be collected through configuration.Kingsoft Cloud BWS monitoring metrics are in the kingsoftcloud_bws metric set.

MetricName MetricDescribe Dimensions Unit
bws_bps_in_average Information Bandwidth Average Inbound Bandwidth account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name bps
bws_bps_in_max Information Bandwidth Maximum Inbound Bandwidth account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name bps
bws_bps_in_min Information Bandwidth Minimum Inbound Bandwidth account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name bps
bws_bps_out_average Information Bandwidth Average Outbound Bandwidth account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name bps
bws_bps_out_max Information Bandwidth Maximum Outbound Bandwidth account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name bps
bws_bps_out_min Information Bandwidth Minimum Outbound Bandwidth account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name bps
bws_drop_bps_in_average Information Bandwidth Average Inbound Drop Bandwidth account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name bps
bws_drop_bps_in_max Information Bandwidth Maximum Inbound Drop Bandwidth account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name bps
bws_drop_bps_in_min Information Bandwidth Minimum Inbound Drop Bandwidth account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name bps
bws_drop_bps_out_average Information Bandwidth Average Outbound Drop Bandwidth account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name bps
bws_drop_bps_out_max Information Bandwidth Maximum Outbound Drop Bandwidth account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name bps
bws_drop_bps_out_min Information Bandwidth Minimum Outbound Drop Bandwidth account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name bps
bws_drop_pps_in_average Information Bandwidth Average Inbound Packet Drop Rate account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name count
bws_drop_pps_in_max Information Bandwidth Maximum Inbound Packet Drop Rate account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name count
bws_drop_pps_in_min Information Bandwidth Minimum Inbound Packet Drop Rate account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name count
bws_drop_pps_out_average Information Bandwidth Average Outbound Packet Drop Rate account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name count
bws_drop_pps_out_max Information Bandwidth Maximum Outbound Packet Drop Rate account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name count
bws_drop_pps_out_min Information Bandwidth Minimum Outbound Packet Drop Rate account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name count
bws_pps_in_average Information Bandwidth Average Inbound Information Rate account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name count
bws_pps_in_max Information Bandwidth Maximum Inbound Information Rate account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name count
bws_pps_in_min Information Bandwidth Minimum Inbound Information Rate account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name count
bws_pps_out_average Information Bandwidth Average Outbound Information Rate account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name count
bws_pps_out_max Information Bandwidth Maximum Outbound Information Rate account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name count
bws_pps_out_min Information Bandwidth Minimum Outbound Information Rate account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name count
bws_utilization_in_average Information Bandwidth Average Inbound Bandwidth Utilization account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name percent
bws_utilization_in_max Information Bandwidth Maximum Inbound Bandwidth Utilization account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name percent
bws_utilization_in_min Information Bandwidth Minimum Inbound Bandwidth Utilization account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name percent
bws_utilization_out_average Information Bandwidth Average Outbound Bandwidth Utilization account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name percent
bws_utilization_out_max Information Bandwidth Maximum Outbound Bandwidth Utilization account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name percent
bws_utilization_out_min Information Bandwidth Minimum Outbound Bandwidth Utilization account_name, band_width_share_id, band_width_share_name, region_id, cloud_provider, project_id, project_name percent

Objects

The collected Kingsoft Cloud BWS object data structure,can be viewed in"Infrastructure - Resource Catalog"as resource object data.

{
  "measurement": "kingsoftcloud_bws",
  "tags": {
    "account_name": "account_xxx",
    "cloud_provider": "kingsoftcloud",
    "region_id": "cn-beijing-6",
    "project_id": "project_xxx",
    "project_name": "Example Project",
    "band_width_share_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "band_width_share_name": "example-bws",
    "charge_type": "PostPaidByDay",
    "line_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "line_name": "BGP"
  },
  "fields": {
    "band_width": 5,
    "associate_band_width_share_info_set": "{JSON Data}"
  }
}

Note:tags,fields fields may change in later updates.