addyosmani avatar

Observability And Instrumentation

This is what you reach for when you're shipping code and realize you won't be able to tell if it's working once it's live. It walks you through instrumenting for observability: structured logging with correlation IDs, RED metrics (rate, errors, duration) for services, USE metrics (utilization, saturation, errors) for resources, and distributed tracing via OpenTelemetry. The core insight is solid: define the questions an on-call engineer will ask before you add any telemetry, then instrument to answer exactly those questions. It's opinionated about alert design too, insisting you page on user-facing symptoms, not CPU percentages. If you've ever spent an hour during an incident wishing you'd logged one more field, this prevents that.

skills.sh installs
63.8K
GitHub stars
114.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add addyosmani/agent-skills --skill observability-and-instrumentation --agent claude-code

Installs into .claude/skills of the current project.

Files

Observability and Instrumentation

Overview

Code you can't observe is code you can't operate. Observability is the ability to answer "what is the system doing and why?" from the outside, using the telemetry the code emits. Instrumentation is not a post-launch add-on — it's written alongside the feature, the same way tests are. If a feature ships without telemetry, the first user-reported bug becomes archaeology instead of a query.

When to Use

  • Building any feature that will run in production
  • Adding a new service, endpoint, background job, or external integration
  • A production incident took too long to diagnose ("we couldn't tell what happened")
  • Setting up or reviewing alerting rules
  • Reviewing a PR that adds I/O, retries, queues, or cross-service calls

NOT for:

  • Diagnosing a failure happening right now — use the debugging-and-error-recovery skill (observability is what makes that skill fast next time)
  • Profiling and optimizing measured slowness — use the performance-optimization skill
  • Launch-day monitoring checklists and rollback triggers — see the shipping-and-launch skill; this skill covers the instrumentation that feeds them

Process

Sponsors

Details

Repository
github.com/addyosmani/agent-skills
Categories
DevOps & CI/CD, AI & Agent Building
First seen
Jun 11, 2026

More from addyosmani/agent-skills

All 25
1samber avatargolang-observabilitysamber/cc-skills-golangGolang everyday observability — the always-on signals in production. Covers structured logging with slog, Prometheus metrics, OpenTelemetry distributed tracing,41.5Kskills.sh installs
2cloudflare avatarsandbox-sdkcloudflare/skillsBuild sandboxed applications for secure code execution. Load when building AI code execution, code interpreters, CI/CD systems, interactive dev environments, or32.9Kskills.sh installs
3jeffallan avatardevops-engineerjeffallan/claude-skillsCreates Dockerfiles, configures CI/CD pipelines, writes Kubernetes manifests, and generates Terraform/Pulumi infrastructure templates. Handles deployment automa11.9Kskills.sh installs
4aws avataraws-observabilityaws/agent-toolkit-for-awsBuilds, configures, debugs, and optimizes AWS observability with CloudWatch (Log Insights, Metrics, Alarms, Dashboards, EMF), X-Ray, CloudTrail, and ADOT (AWS D10.7Kskills.sh installs
5rivet-dev avatarsandbox-agentrivet-dev/skillsDeploy, configure, and integrate Sandbox Agent - a universal API for orchestrating AI coding agents (Claude Code, Codex, OpenCode, Amp) in sandboxed environment10.7Kskills.sh installs
6google avatargke-observabilitygoogle/skillsConfigures GKE observability, including Cloud Logging, Cloud Monitoring, and managed Prometheus. Use when configuring GKE monitoring, setting up GKE logging, or7.5Kskills.sh installs