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、连接、倾斜、内存、文件布局、AQE 与 Delta Lake。

Data & Analytics2026年10月8日

Aidp Semantic Model

oracle-samples

维护 .aidp/semantic.md 业务语义层,定义指标、连接、同义词和值字典,为自然语言转 SQL 提供依据。

Data & Analytics2026年10月8日