Skip to content

AWS Parallel Computing Service

Collect AWS Parallel Computing Service Metrics

Configuration

Install Func

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

If you are deploying Func on your own, refer to Self-deploy Func

Install Script

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

  1. Log in to the Func console, click on 【Script Market】, enter the TrueWatch Script Market, and search for: integration_aws_pcs.

  2. Click on 【Install】, then input the corresponding parameters: AWS AK ID, AK Secret, and account name.

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

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

Verification

  1. In 「Manage / Automatic Trigger Configuration」, confirm whether the corresponding task has the automatic trigger configuration. Also, you can check the corresponding task records and logs for any anomalies.
  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

AWS Parallel Computing Service Metrics are under the aws_AWS/PCS Measurement. The description column includes the description, unit, and statistical data for each metric.

Metric Description Unit
ActualCapacity IdleCapacity + UtilizedCapacity Count
CapacityUtilization UtilizedCapacity / ActualCapacity Count
DesiredCapacity ActualCapacity + PendingCapacity Count
IdleCapacity Number of instances running but not assigned to tasks Count
UtilizedCapacity Number of instances running and assigned to tasks Count

Objects

The collected AWS Parallel Computing Service object data structure can be seen in 「Infrastructure - Resource Catalog」.

{
  "measurement": "aws_pcs",
  "tags": {
    "RegionId"            : "ap-southeast-1",
    "clusterId"           : "xxxxx-acd31231xxxxxx",
    "clusterName"         : "xxx-test",
    "arn"                 : "arn:aws:pcs:ap-southeast-1:87xxxxxxx45r:collection/xh9h35ijjctd8nldddxd"
  },
  "fields": {
    "status"                    : "ACTIVE",
    "queues"                    : "[{json data}]",
    "computeNodeGroups"         : "[{json data}]",
    "createdAt"                 : "2025-09-09T02:34:03Z",
    "modifiedAt"                : "xxxxxxx"
  }
}

Note: The fields in tags and fields may change with subsequent updates.