/observability-and-instrumentation
在程式裡加上觀測,讓正式環境的行為看得見、查得出問題。
- 安裝次數
- 5.9 萬
- 專案星數
- 11.3 萬 ★
- 授權
- MIT
- 專案更新
- 2026-11-01
什麼時候用
要加記錄、指標、追蹤或警報;要上線任何在正式環境執行、而且需要證據證明它有在運作的功能;收到正式環境問題回報時⋯⋯
怎麼裝
npx skills add https://github.com/addyosmani/agent-skills --skill observability-and-instrumentation安裝前請先看過原文內容。中文說明是 AI 翻譯,不保證安全。
原文
Instruments code so production behavior is visible and diagnosable. Use when adding logging, metrics, tracing, or alerting. Use when shipping any feature that runs in production and you need evidence it works. Use when production issues are reported but you can't tell what happened from the available data.