Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
cinience avatar

Alicloud Observability Pts

  • 126 installs
  • 396 repo stars
  • Updated July 18, 2026
  • cinience/alicloud-skills

Set up Alibaba Cloud PTS (Performance Testing Service) scenarios, virtual users, and reporting to benchmark API and web workload capacity before production launch.

About

cinience/alicloud-skills observability skill for Alibaba Cloud PTS: defines performance test plans, configures virtual users and scenarios, runs load/stress tests, and extracts latency and throughput metrics to validate SaaS and API readiness.

  • PTS scenario and virtual user design
  • Load, stress, and spike test execution
  • Latency and throughput metric capture
  • Bottleneck identification under concurrency
  • Capacity planning inputs for autoscaling

Alicloud Observability Pts by the numbers

  • 126 all-time installs (skills.sh)
  • Ranked #528 of 1,039 Cloud & Infrastructure skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/cinience/alicloud-skills --skill alicloud-observability-pts

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs126
repo stars396
Last updatedJuly 18, 2026
Repositorycinience/alicloud-skills

What it does

Set up Alibaba Cloud PTS (Performance Testing Service) scenarios, virtual users, and reporting to benchmark API and web workload capacity before production launch.

Files

SKILL.mdMarkdownGitHub ↗

Category: service

Alibaba Cloud Performance Testing Service (PTS)

Purpose

Use Alibaba Cloud PTS OpenAPI to support:

  • test scene inventory and inspection
  • pressure test planning and lifecycle automation
  • report and metrics retrieval for verification and troubleshooting

Prerequisites

  • Configure least-privilege Alibaba Cloud credentials.
  • Install Python SDKs (virtual environment recommended):
python3 -m venv .venv
. .venv/bin/activate
python -m pip install -U alibabacloud_pts20201020 alibabacloud_tea_openapi
  • Prefer environment variables:
  • ALICLOUD_ACCESS_KEY_ID
  • ALICLOUD_ACCESS_KEY_SECRET
  • optional ALICLOUD_REGION_ID
  • Before mutating operations, run read-only API discovery and current-state checks.

AccessKey Priority

1) Environment variables: ALICLOUD_ACCESS_KEY_ID / ALICLOUD_ACCESS_KEY_SECRET / ALICLOUD_REGION_ID 2) Shared credentials file: ~/.alibabacloud/credentials

If region/environment is unclear, confirm with user before mutating operations.

Workflow

1) Identify target region, test scene identifiers, and operation scope. 2) Run API discovery to confirm API names and required parameters. 3) Execute read-only APIs first (List* / Get* / Describe*). 4) Execute mutating operations only after confirming rollback and change window. 5) Save outputs and evidence to output/alicloud-observability-pts/.

API Discovery

  • Product code: PTS
  • Default API version: 2020-10-20
  • Metadata source: https://api.aliyun.com/meta/v1/products/PTS/versions/2020-10-20/api-docs.json

Minimal Executable Quickstart

python skills/observability/pts/alicloud-observability-pts/scripts/list_openapi_meta_apis.py

Optional arguments:

python skills/observability/pts/alicloud-observability-pts/scripts/list_openapi_meta_apis.py \
  --product-code PTS \
  --version 2020-10-20 \
  --output-dir output/alicloud-observability-pts

List scenes (read-only):

python skills/observability/pts/alicloud-observability-pts/scripts/list_pts_scenes.py \
  --region cn-hangzhou \
  --page-number 1 \
  --page-size 10 \
  --output output/alicloud-observability-pts/scenes.txt

Start one scene (mutating):

python skills/observability/pts/alicloud-observability-pts/scripts/start_pts_scene.py \
  --region cn-hangzhou \
  --scene-id <scene-id> \
  --wait \
  --output output/alicloud-observability-pts/start-result.json

Stop one scene (mutating):

python skills/observability/pts/alicloud-observability-pts/scripts/stop_pts_scene.py \
  --region cn-hangzhou \
  --scene-id <scene-id> \
  --wait \
  --output output/alicloud-observability-pts/stop-result.json

Common Operation Map

  • Scene inventory: ListPtsScene, GetPtsScene, ListOpenJMeterScenes, GetOpenJMeterScene
  • Scene lifecycle: CreatePtsScene, SavePtsScene, ModifyPtsScene, DeletePtsScene, DeletePtsScenes
  • Test execution control: StartPtsScene, StopPtsScene, StartTestingJMeterScene, StopTestingJMeterScene
  • Debug control: StartDebugPtsScene, StopDebugPtsScene, StartDebuggingJMeterScene, StopDebuggingJMeterScene
  • Reports/metrics: ListPtsReports, GetPtsReportDetails, GetPtsSceneRunningData, GetPtsSceneRunningStatus

See references/api_quick_map.md for grouped API lists.

Script Catalog

  • scripts/list_openapi_meta_apis.py: fetch metadata and generate API inventory files.
  • scripts/list_pts_scenes.py: list PTS scenes with pagination.
  • scripts/start_pts_scene.py: start a scene and optionally poll running status.
  • scripts/stop_pts_scene.py: stop a scene and optionally poll until non-running.

Output Policy

Write generated files and execution evidence to: output/alicloud-observability-pts/

Validation

mkdir -p output/alicloud-observability-pts
for f in skills/observability/pts/alicloud-observability-pts/scripts/*.py; do
  python3 -m py_compile "$f"
done
echo "py_compile_ok" > output/alicloud-observability-pts/validate.txt

Pass criteria: command exits 0 and output/alicloud-observability-pts/validate.txt is generated.

Output And Evidence

  • Save artifacts, command outputs, and API response summaries under output/alicloud-observability-pts/.
  • Include key parameters (region/resource id/time range) in evidence files for reproducibility.

References

  • Source list: references/sources.md
  • API quick map: references/api_quick_map.md
  • request/response templates: references/templates.md

Related skills

Cloud & Infrastructuremonitoringinfra

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.