distributed-tracing-rails

Community

Production-grade OpenTelemetry tracing for Rails apps.

Authorsandeepmvl
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Debugging requests across multiple Rails microservices is extremely difficult using only logs, as related events are scattered across separate services and lack a unified view. This Skill eliminates that friction by providing production-ready instructions to implement vendor-neutral distributed tracing that follows requests end-to-end.

Core Features & Use Cases

  • OpenTelemetry Auto-Instrumentation: Automatically instruments Rails controllers, Active Record, Sidekiq, Kafka, and outbound HTTP calls with zero custom code for common frameworks.
  • Cross-Service Context Propagation: Uses W3C traceparent headers to maintain trace continuity across HTTP, Sidekiq job queues, and Kafka topics without manual wiring.
  • Configurable Sampling & Export: Supports parent-based trace sampling, tail-based sampling for errors and slow traces, and OTLP export to all major observability backends including Tempo, Jaeger, Honeycomb, and Datadog.
  • Trace-Log Correlation: Includes setup to inject trace_id into every Rails log line, so you can jump from a trace directly to all related logs across services.
  • Use Case: For a Rails ecommerce platform with separate order, payment, and notification services, use this Skill to trace a single checkout request across all three services to identify latency bottlenecks in the payment processing step.

Quick Start

Use the distributed-tracing-rails skill to configure OpenTelemetry tracing for your Rails application with auto-instrumentation and cross-service request visibility.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: distributed-tracing-rails
Download link: https://github.com/sandeepmvl/rails-skills/archive/main.zip#distributed-tracing-rails

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.