# Observability and Instrumentation

> Logs, metrics, traces so production is diagnosable

**Subcategory:** Debugging  
**License:** MIT  
**Source:** https://github.com/addyosmani/agent-skills/blob/main/skills/observability-and-instrumentation/SKILL.md

---

## When it is useful

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.

## The Catch

Logs, metrics, traces. Not Sentry-the-product. Never-fire if the agent does not load it.
