implement-observability

Implement OpenTelemetry logging, metrics, and tracing for production services.

4|1|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/lushly-dev/afd --skill implement-observability-lushly-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: implement-observability
Source: https://github.com/lushly-dev/afd/tree/main/.claude/skills/implement-observability
Command: npx skills add https://github.com/lushly-dev/afd --skill implement-observability-lushly-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of understanding and debugging production services by guiding the implementation of essential observability practices.

Core Features & Use Cases

  • Structured Logging: Implement robust, searchable JSON logs.
  • Correlation IDs: Ensure requests can be traced across services.
  • Metrics & Tracing: Instrument services for performance monitoring and request flow analysis using OpenTelemetry.
  • Use Case: When a critical service starts experiencing intermittent failures, this Skill can be used to instrument it with detailed logs, metrics, and traces to pinpoint the root cause.

Quick Start

Use the implement-observability skill to add structured logging to the current service.

Frequently Asked Questions about implement-observability

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

FAQPage Schema
How do I implement structured logging and distributed tracing for production services?

To implement structured logging and distributed tracing for production services, use OpenTelemetry to instrument searchable JSON logs, collect performance metrics, and propagate correlation IDs across services for end-to-end request visibility.

What are the three pillars of observability and how do they improve service visibility?

The three pillars of observability are structured logging, metrics collection, and distributed tracing. They improve service visibility by enabling searchable logs, performance monitoring, and request flow analysis to pinpoint intermittent production failures.

How do I set up correlation IDs to trace requests across multiple microservices?

To set up correlation IDs for tracing requests across microservices, propagate unique identifiers through your service calls. This ensures requests can be traced across services, linking logs, metrics, and traces for comprehensive debugging.

What are common observability anti-patterns when adding monitoring to a service?

Common observability anti-patterns when adding monitoring to a service include failing to propagate correlation IDs, using unstructured logs, and setting improper alerting thresholds. Following OpenTelemetry practices helps avoid these visibility and debugging issues.

Can I use OpenTelemetry to instrument business metrics and set up alerting thresholds?

Yes, you can use OpenTelemetry to instrument business metrics and set up alerting thresholds. This involves collecting custom metrics for business operations and defining thresholds to trigger alerts for critical service issues.