Skip to content

Collector 'Alibaba Cloud - SPOT' Configuration Manual

Before reading this document, please read:

Tip

Before using this collector, you must install the 'Integration Core Package' and its accompanying third-party dependencies.

1. Configuration Structure

This script does not require additional configuration.

2. Data Reporting Format

After data is successfully synchronized, you can view the data in the 'Metrics' of TrueWatch.

Example of reported data:

{
  "measurement": "aliyun_spot_price",
  "tags": {
    "InstanceType"      : "ecs.s6-c1m1.small",
    "NetworkType"       : "vpc",
    "RegionId"          : "cn-hangzhou",
    "Status"            : "Available",
    "StatusCategory"    : "WithStock",
    "ZoneId"            : "cn-hangzhou-h"
  },
  "fields": {
    "SpotPrice"         : "0.023"
  },
  "timestamp"           : 1671518220
}

Partial parameter descriptions:

tags.SpotPrice : Spot instance price

tags.Status (Status description of the availability zone) meanings:

Value Description
Available Sufficient resources
SoldOut Resources sold out

tags.StatusCategory (Detailed description of the availability zone status based on inventory conditions) meanings:

Value Description
WithStock Sufficient inventory
ClosedWithStock Low inventory supply guarantee
WithoutStock Inventory sold out, resources will be replenished
ClosedWithoutStock Inventory sold out, and resources will not be replenished
Note

Fields in tags and fields may change with subsequent updates.

X. Appendix

Please refer to the official Alibaba Cloud documentation: