Aidp Observability

作者 oracle-samples90b42d6c24d4無授權條款收錄於 2026年10月8日更新於 2026年10月8日

Surface AIDP operational state — recently accessed resources and long-running async operations (status, completion, waiting). Use when the user asks "what happened recently", "what's running", "is that operation done yet", or needs to track/await an async AIDP operation (e.g. provisioning, large commits). Runs over the official `aidp` CLI.

僅含說明DevOps & Cloud
AI 產生的概覽

透過 Oracle aidp CLI 或 OCI REST 備援方式追蹤 AIDP 工作區活動與長時間執行的非同步作業。

功能
呈現 AIDP 工作區的運作狀態:進行中的非同步作業、單一作業的狀態,以及最近的作業執行紀錄。它會依資源類型列出作業、回報作業目前的狀態,並可輪詢直到進入終止狀態。此技能為唯讀,產出狀態報告而非持久化資料。
適用情境
當使用者詢問最近發生了什麼、目前正在執行什麼,或某個非同步作業是否已完成時使用。也適用於等待佈建、套件部署或其他會回傳作業鍵的長時間執行動作。
執行需求
需要 Oracle aidp CLI 及其 async-operations 與 workflow 指令,或以 oci CLI 作為原始 REST 請求的備援方式。需要 AIDP 執行個體 OCID、API 金鑰驗證設定檔與區域,以及對 AIDP 端點的網路存取。不附帶指令碼,僅為說明文件。

aidp-observability — activity & async operations

Show what's happening in the AIDP workspace: recent job runs and the state of long-running operations. Primary engine: the official Oracle aidp CLI (async-operations + workflow list-recent-job-runs); oci raw-request is the fallback when the CLI isn't installed. Read-only — no payload persistence needed.

When to use

  • "What did I touch recently / what's running?" · "is operation X done?" · waiting on a provisioning or long commit to finish.

CLI (preferred)

Per references/aidp-cli-map.md: async-operations list | get and workflow list-recent-job-runs. All take --instance-id <DATALAKE_OCID> --auth api_key --profile DEFAULT --region <r> (workspace-scoped — confirm the workspace).

bash
# In-flight ops — a resource-type / filter param is REQUIREDaidp async-operations list --resource-type <type> \  --instance-id <DATALAKE_OCID> --auth api_key --profile DEFAULT --region us-ashburn-1aidp async-operations get <key> --instance-id <DATALAKE_OCID> --auth api_key --profile DEFAULT --region us-ashburn-1   # status of one# Recent job runsaidp workflow list-recent-job-runs --instance-id <DATALAKE_OCID> --auth api_key --profile DEFAULT --region us-ashburn-1

Fallback (no CLI) — same REST + auth via oci raw-request against …/20240831/dataLakes/<DATALAKE_OCID>/… (auth ladder in references/oci-raw-request.md):

bash
oci raw-request --http-method GET \  --target-uri "https://aidp.us-ashburn-1.oci.oraclecloud.com/20240831/dataLakes/<OCID>/asyncOperations?<param>=<value>" \  --profile DEFAULT

GET …/asyncOperations?<param>=<value> (a query param is required — a bare path returns 400 InvalidParameter: query param X must not be null; the error names the missing param, e.g. a resource-type / workspaceKey / status; also accepts sortBy=timeCreated) · GET …/asyncOperations/<key> for one. GET …/recentActivities returned 404 in testing (2026-06-10) — prefer the CLI workflow list-recent-job-runs for "recent activity"; treat recentActivities as not provisioned unless a live read says otherwise.

Live-verified 2026-06-10 on de-agent — correction: the required filter is specifically status= or resourceType=. A bare GET …/asyncOperations returns 400 MissingParameter: "ResourceType or Status filter need to be specified". Confirmed 200s: ?status=SUCCEEDED (returned real CREATE_CLUSTER/CREATE_WORKSPACE records), ?resourceType=CLUSTER, and get-one …/asyncOperations/<key>. …/recentActivities returned 404 NotAuthorizedOrNotFound (not provisioned here) — use ?status=/?resourceType= or aidp workflow list-recent-job-runs instead.

Workflow

  • In-flight ops: aidp async-operations list --resource-type <type> → table of key, type, state, started.
  • Status of one: aidp async-operations get <key> → report the operation's current state.
  • Block until done: poll aidp async-operations get <key> on an interval (back off; clamp total wait) until a terminal state, then report it. Use this after provisioning (aidp-workspace-admin), bundle deploys (aidp-bundle), or other 202-async actions — those return an operation key in the datalake-async-operation-key header or a body field (see the Async note in the reference).
  • Recent activity: aidp workflow list-recent-job-runs → present resource, action, time.

Notes

  • Workspace-scoped — confirm the workspace.
  • async-operations list needs a resource-type / filter param (shape-TBD in the live map) — probe, read the 400, supply the named param. Don't present it as confirmed until a live 2xx is recorded (no-fabrication gate).
  • For Spark job/stage/cluster-log diagnostics use aidp-spark-debugging; this skill is platform-level operation tracking, not Spark internals.

References

  • references/aidp-cli-map.md · references/oci-raw-request.md · references/no-mcp-rest-map.md · references/rest-endpoint-map.md

來源與署名

來源:oracle-samples/oracle-aidp-samples位於ai/claude-code-plugins/oracle-ai-data-platform-workbench-engineer-agent/skills/aidp-observability提交90b42d6

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架

更多來自 oracle-samples/oracle-aidp-samples 的技能

Aidp Workspace Admin

oracle-samples

Provision and inspect AIDP DataLake instances and workspaces, including private-network workspaces attached to a customer VCN/subnet. Use when the user wants to create/list/get a workspace or DataLake instance, set up a new (e.g. private) AIDP environment, or replicate a customer setup. Create/delete are guarded — confirm before any provisioning.

待分類2026年10月8日

Aidp Volumes

oracle-samples

Work with AIDP volumes — list volumes, browse files inside a volume, upload/download via the PAR flow, and create directories. Use when the user mentions volumes, needs to stage large/binary files, or move data in/out of a volume (distinct from the workspace filesystem). Control-plane via the official `aidp` CLI.

待分類2026年10月8日

Aidp Verified Queries

oracle-samples

維護經過驗證的問題到 Spark SQL 配對庫,讓代理在產生新 SQL 前優先重用可信查詢。

Data & Analytics2026年10月8日

Aidp User Settings

oracle-samples

透過 aidp CLI 或 oci raw-request 備援方式管理 AIDP DataLake 使用者設定與偏好。

Productivity & Workflow2026年10月8日

Aidp Spark Optimization

oracle-samples

指導 Apache Spark 3.5.0 效能調校:分割區、shuffle、join、資料傾斜、記憶體、檔案配置、AQE 與 Delta Lake。

Data & Analytics2026年10月8日

Aidp Semantic Model

oracle-samples

維護 .aidp/semantic.md 業務語意層,定義指標、連接、同義詞與值字典,為自然語言轉 SQL 提供依據。

Data & Analytics2026年10月8日