logging-observability
Logging, metrics, tracing, monitoring, alerting, SLOs, correlation/trace IDs, or log aggregation. Not for debugging without telemetry.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Logging, metrics, tracing, monitoring, alerting, SLOs, correlation/trace IDs, or log aggregation. Not for debugging without telemetry.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Pi extensions and tool policy: extensions/*.ts, hooks, registerTool, promptGuidelines, registerCommand, footer/status UI, tool_result, session hooks, or subprocesses. Not for slash-command placement; use pi-command.
README, CHANGELOG, docs/, RFCs, ADRs, guides, or Markdown structure. Not for prose cleanup or archival work.
Prose cleanup for filler, hype, vague claims, repetition, detection tells, or uncited specifics. Not for Markdown architecture or archival work.
Requirements, user stories, acceptance/verification criteria, or testable outcomes. Not for PRD drafting (/prd) or Pi /goal prompts.
Use for /prd-it or to draft, refine, or review a Product Requirements Document. Not for acceptance criteria, planning, or Pi /goal prompts.
Pi session, trace, metrics, routing, workflow-friction, workflow-telemetry, usage, or local JSONL analysis with DuckDB. Use for aggregating or correlating Pi runtime logs. Not for adding telemetry, generic SQL/database design, or non-Pi logs.
| name | logging-observability |
| description | Logging, metrics, tracing, monitoring, alerting, SLOs, correlation/trace IDs, or log aggregation. Not for debugging without telemetry. |
Use this skill only when telemetry is central to the task. Use analysis-workflow for general investigation and code-review for diff review.
Observability lets operators infer internal state from external signals. Instrument the questions people must answer during incidents.
| Signal | Best for | Avoid |
|---|---|---|
| Logs | discrete events, audits, failures | high-cardinality metrics replacement |
| Metrics | rates, latency, saturation | per-request debugging |
| Traces | cross-service flow and bottlenecks | business reporting |
Prefer stable names: timestamp, level, message, service, environment, request_id/trace_id, user/account identifier when safe, operation, outcome, duration_ms, error type. Do not add redundant derived fields when consumers can derive them reliably from existing structured fields.