AWS Parallel Computing Service
Collect AWS Parallel Computing Service Metrics
Configuration¶
Install Func¶
It is recommended to activate the TrueWatch integration - extension - DataFlux Func (Automata): all preconditions are automatically installed, please proceed with the script installation
If you deploy Func yourself, 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)
Automata Script Activation¶
- Log in to the TrueWatch console
- Click on the 【Integration】 menu, select 【Cloud Account Management】
- Click on 【Add Cloud Account】, select 【AWS】, and fill in the required information on the interface. If you have already configured the cloud account information before, ignore this step
- Click on 【Test】, after the test is successful, click on 【Save】. If the test fails, please check if the relevant configuration information is correct and test again
- Click on the 【Cloud Account Management】 list to see the added cloud account, click on the corresponding cloud account to enter the details page
- Click on the 【Integration】 button on the cloud account details page, find
AWS Parallel Computing Serviceunder theUninstalledlist, click on the 【Install】 button, and install it in the pop-up installation interface.
Manual Script Activation¶
-
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 enter the corresponding parameters: AWS AK ID, AK Secret, and account name.
-
Click on 【Deploy Startup Script】, the system will automatically create a
Startupscript set and automatically configure the corresponding startup script. -
After enabling, you can see the corresponding automatic trigger configuration in 「Manage / Automatic Trigger Configuration」. Click on 【Execute】 to execute it immediately without waiting for the scheduled time. Wait a moment, you can view the execution task record and corresponding logs.
Verification¶
- In 「Manage / Automatic Trigger Configuration」, confirm whether the corresponding task has the corresponding automatic trigger configuration, and you can also view the corresponding task record and logs to check for any exceptions
- In TrueWatch, check if there is asset information in 「Infrastructure - Resource Catalog」
- In TrueWatch, check if there is corresponding monitoring data in 「Metrics」
Metrics¶
AWS Parallel Computing Service metrics are under the aws_AWS/PCS Measurement, the description column includes the description of each metric and the unit and statistical data.
| 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 |
Object¶
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,fieldsmay change with subsequent updates