observability-instrument

Implement structured logging, RED/USE metrics, and OpenTelemetry tracing for services.

9|3|Updated Jun 13, 2026
One-click install
npx skills add https://github.com/Sir-chawakorn/sanook-cli --skill observability-instrument
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: observability-instrument
Source: https://github.com/Sir-chawakorn/sanook-cli/tree/main/skills/observability-instrument
Command: npx skills add https://github.com/Sir-chawakorn/sanook-cli --skill observability-instrument

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the challenge of blind spots in production services by providing a structured framework for implementing logging, metrics, and tracing to ensure system reliability and rapid incident response.

Core Features & Use Cases

  • Standardized Observability: Implements RED/USE patterns, structured JSON logging, and OpenTelemetry tracing.
  • Actionable Alerting: Defines SLI/SLO and multi-window burn-rate alerts to reduce noise and focus on user-impacting issues.
  • Use Case: Use this skill when you need to instrument a new microservice, debug persistent latency issues across distributed systems, or replace noisy CPU-based alerts with meaningful error-budget monitoring.

Quick Start

Use the observability-instrument skill to audit my current service metrics and implement a multi-window burn-rate alert strategy based on my existing SLOs.

Frequently Asked Questions about observability-instrument

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

FAQPage Schema
How do I implement structured logging and distributed tracing for a microservice?

Structured logging and distributed tracing are implemented using OpenTelemetry context propagation and structured JSON formats to eliminate production blind spots. This approach standardizes telemetry data across microservices for rapid incident response.

What is the best way to replace noisy CPU alerts with meaningful monitoring?

Replacing noisy CPU alerts is best achieved by implementing symptom-based alerting using SLI/SLO definitions and multi-window burn-rate strategies. This shifts focus from raw resource metrics to user-impacting issues and error budget consumption.

How do I apply RED and USE metrics patterns for service instrumentation?

RED and USE metrics patterns are applied during service instrumentation by tracking Rate, Errors, and Duration for requests, alongside Utilization, Saturation, and Errors for resources. This requires strict cardinality discipline to maintain dashboard performance.

When do I need OpenTelemetry context propagation in production services?

OpenTelemetry context propagation is needed when debugging persistent latency issues across distributed systems. It stitches together transactions across microservice boundaries, providing end-to-end visibility required for effective incident response optimization.

Does this observability implementation work with Grafana and Prometheus?

Yes, the implementation integrates with Grafana and Prometheus for dashboard design and metrics collection. It standardizes RED/USE patterns and OpenTelemetry tracing data to ensure compatibility with these SRE monitoring platforms.

What are the limitations of high cardinality in metrics instrumentation?

High cardinality in metrics instrumentation limits monitoring system performance by causing excessive memory consumption and query latency. Enforcing cardinality discipline during service instrumentation prevents metric explosion and maintains dashboard responsiveness.