observability-patterns

Configure monitoring stacks and manage SLO/SLI tracking for production systems.

69|5|Updated Nov 16, 2025
One-click install
npx skills add https://github.com/nahisaho/musubi --skill observability-patterns-nahisaho
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: observability-patterns
Source: https://github.com/nahisaho/musubi/tree/main/.claude/skills/site-reliability-engineer/observability-patterns.md
Command: npx skills add https://github.com/nahisaho/musubi --skill observability-patterns-nahisaho

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide outlines patterns for implementing robust observability, including metrics, logs, and traces, across distributed systems.

Core Features & Use Cases

  • Patterns for RED and USE metrics
  • Structured logging with correlation IDs
  • OpenTelemetry tracing and dashboards

Quick Start

Implement a basic RED metric middleware and a correlated log pattern for a service.

Frequently Asked Questions about observability-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement metrics, logs, and traces across my services?

Observability requires three pillars working together: metrics measure system performance (RED and USE patterns), logs provide detailed events with correlation IDs for tracing requests, and traces show distributed request flows. This Skill covers patterns for all three using Prometheus, Grafana, Datadog, New Relic, and ELK stacks.

What are RED and USE metrics, and when should I use them?

RED metrics track Rate, Errors, and Duration for user-facing services; USE metrics track Utilization, Saturation, and Errors for resources. RED applies to API endpoints and services; USE applies to infrastructure. This Skill provides patterns for implementing both across your stack.

How do I set up structured logging with correlation IDs?

Structured logging with correlation IDs lets you trace a single request across multiple services and logs. Each request gets a unique ID passed through all downstream calls, enabling you to aggregate logs and reconstruct the full request path for debugging and root cause analysis.

Can I use OpenTelemetry for tracing in my distributed system?

Yes. OpenTelemetry is the standard for distributed tracing and works across Prometheus, Grafana, Datadog, New Relic, and ELK. This Skill includes patterns for instrumenting services with OpenTelemetry and building dashboards to visualize traces.

How do I define and track SLOs and error budgets for reliability?

SLOs (Service Level Objectives) set reliability targets; SLIs (Service Level Indicators) measure actual performance against those targets; error budgets define acceptable downtime. This Skill covers SLI/SLO definitions, tracking, alerting rules, and post-mortems for incident response.

What's included in an observability stack for production on-call?

Production observability requires monitoring stack configuration, alerting rules and channels, runbooks for incident response, health checks, dashboards for visibility, and post-mortem processes. This Skill provides end-to-end patterns for all components across modern stacks.