Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)22k · #10219

application-integration-troubleshooting

Skill này làm gì

Skill này giúp chẩn đoán các quy trình trong Google Cloud Application Integration bị hỏng hoặc đình trệ. Skill dành cho những người có tự động hóa bị lỗi, treo hoặc báo thành công nhưng không làm xong công việc.

Khi nào nên dùng

  • ✓Khi một quy trình Application Integration bị lỗi hoặc báo thành công mà không làm xong việc.
  • ✓Khi một lần chạy quy trình bị kẹt, tạm dừng hoặc thử lại trên Google Cloud.
  • ✓Khi bạn thấy lỗi về quyền, tài khoản dịch vụ, connector hoặc hạn mức trong một tích hợp.

Liên kết skill

https://github.com/google/skills/blob/main/skills/cloud/application-integration-troubleshooting/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/google/skills/blob/main/skills/cloud/application-integration-troubleshooting/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Quy trình Google Cloud của tôi báo đã thành công nhưng không có gì xảy ra. Bạn có thể tìm ra nguyên nhân không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill kiểm tra trạng thái chạy, các bước bị lỗi, nhật ký và tình trạng connector, rồi lần lượt xem xét các nguyên nhân có khả năng. Skill báo cáo những gì đã tìm thấy và việc nên thử tiếp theo.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Application Integration Troubleshooting

Diagnose and recover Google Cloud Application Integration executions that fail, stall, or appear to do nothing. This skill walks through execution state verification, per-task failure inspection, Cloud Logging and Cloud Monitoring checks, Integration Connectors health probes, suspension resolution, and IAM or quota checks.

Attribution

MUST READ: Before executing any gcloud command, REST API call, or Python discovery-client call, you MUST read Usage Attribution. For commands executed directly in the terminal (never in generated scripts, Terraform, ADK agents, or user code), prefix gcloud with CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:application-integration-troubleshooting)" and add agent-skills/1.0 (skill:application-integration-troubleshooting) to the User-Agent header of curl requests.

Tooling and Scope Boundaries

  • REST is the interface. There is no gcloud integrations command group and no Google-managed MCP server for Application Integration. Use curl with gcloud auth print-access-token, or the discovery-based Python client (googleapiclient.discovery.build("integrations", "v1") and build("connectors", "v1"); install with pip install "google-api-python-client>=2.100.0,<3" "google-auth>=2.20.0,<3") (changes host or credential state; get the user's approval first).
  • Generic gcloud commands apply for authentication (gcloud auth), enabling APIs (gcloud services), IAM checks (gcloud projects get-iam-policy, gcloud iam service-accounts get-iam-policy), and log queries (gcloud logging read).
  • Regional scope. Integrations, executions, connections, and execution logs live in a single Google Cloud region (LOCATION), which is the LOCATION in every REST path; no gcloud default-region setting applies. Ask the user which region the integration is deployed in. If they don't know, start with us-central1 and, if executions.list is empty there, check the other Application Integration locations before concluding nothing ran (Step 2).
  • Sibling skills:
    • Use application-integration-basics for product concepts, enabling APIs, provisioning a region, initial IAM roles, and service limits.
    • Use application-integration-authoring for creating drafts, editing tasks and triggers, config variables, publishing, :execute and :schedule payloads, and CI/CD export/import.

Safety and Confirmation Rules

  • Read-only checks run freely: executions.list, suspensions.list, connections.get, connectionSchemaMetadata get calls, runtime v2 actions.list / entityTypes.list, gcloud logging read, and v2 executions:troubleshoot.
  • State-changing actions require explicit user confirmation. Before canceling or replaying an execution, lifting or resolving a suspension, refreshing connector schema metadata, repairing connector eventing, publishing or unpublishing a version, or changing IAM bindings, show the exact command and wait for user approval.
  • Host changes require approval. Before installing packages (pip install) or changing global gcloud or credential state (gcloud config set ... such as auth/impersonate_service_account, gcloud auth application-default login / set-quota-project), show the exact command and wait for the user's approval.
  • Never bundle destructive scripts or delete integrations, versions, connections, or auth profiles during troubleshooting unless the user specifically asks.

Prerequisites and Setup Check

Before querying APIs, confirm the environment has credentials, active APIs, and the right target region:

# Verify active identity and project
gcloud config get-value account
gcloud config get-value project

# Check that required APIs are enabled on PROJECT_ID
gcloud services list --enabled --project="PROJECT_ID" \
  --filter="config.name:(integrations.googleapis.com OR connectors.googleapis.com OR secretmanager.googleapis.com)"
  • If an API is missing, ask the user before running gcloud services enable integrations.googleapis.com connectors.googleapis.com secretmanager.googleapis.com --project="PROJECT_ID".
  • Ensure an active billing account is attached to PROJECT_ID (required even when usage stays within the monthly free tier; see the [Application Integration pricing page](https://cloud.google.com/application-integ
Câu hỏi thường gặp

Skill kiểm tra những công cụ nào?

Skill dùng REST API, Cloud Logging, Cloud Monitoring và kiểm tra tình trạng connector.

Skill có bao gồm việc thiết lập một region mới không?

Không. Thiết lập ban đầu và cấp phát region do skill basics đảm nhiệm.

Skill có giúp với lần chạy bị tạm dừng không?

Có. Skill có các bước xử lý lần chạy bị tạm dừng và kiểm tra các vấn đề về quyền và hạn mức.

Chi tiết

Mô tả gốc của tác giả

Diagnoses failed, stuck, or silent Google Cloud Application Integration runs and Integration Connectors tasks using the REST API, Cloud Logging, and Cloud Monitoring. Use when an integration fails, returns HTTP 200 without doing the expected work, hangs in a suspended or retry state, or hits IAM, run-as service account, connector health, or quota errors. Do not use for initial region provisioning (use application-integration-basics) or building and deploying versions (use application-integration-authoring).

repo: google/skills

Độ phổ biến

Sao GitHub
22k
Vị trí xếp hạng
#10219
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự