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
).
-
Log in to the Func console, click on 【Script Market】, enter the TrueWatch Script Market, and search for:
integration_aws_pcs
. -
Click on 【Install】, then input the corresponding parameters: AWS AK ID, AK Secret, and account name.
-
Click on 【Deploy Startup Script】, the system will automatically create the
Startup
script collection and configure the corresponding startup scripts. -
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¶
- 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.
- In TrueWatch, check if asset information exists in 「Infrastructure - Resource Catalog」.
- 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
andfields
may change with subsequent updates.