Skip to main content
在 Manus 中运行任何 Skill
一键导入

observability

星标4
分支0
更新时间2026年7月4日 19:18

How Neon Law Navigator emits telemetry and how to debug a durable-execution failure fast. Every binary shares one seam, `telemetry::init` (stdout logs — JSON in prod — plus OTLP traces + metrics when `OTEL_EXPORTER_OTLP_ENDPOINT` is set), and everything lands in BigQuery (structured logs via a Cloud Logging sink; traces/metrics via an OTel Collector to Cloud Trace/Monitoring). Trigger when adding a span/metric/log field, instrumenting a handler or workflow, wiring a new binary's main, debugging a missing nightly/periodic job or a silent trigger, running `navigator ops doctor`, or touching the OTel Collector / BigQuery sink. THE ONE RULE, stated first because it is load-bearing: instrument identifiers and counts, NEVER content — a notation_id, service, outcome, duration, status code are fine; a client name, answer body, email address, or document body must never enter a span, metric, or log. Telemetry crosses the firm's trust boundary; client content does not. Skip for one-off println debugging.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly