OpenTelemetry in Ruby

SkillMonitoring & ops

OpenTelemetry in Ruby — SDK setup, manual tracing, experimental metrics and logs, Bundler integration, contrib instrumentation for Rails/Rack/Sinatra/Sidekiq and other gems, propagation, performance, and upgrades. Use when adding, reviewing, configuring, or troubleshooting OpenTelemetry in a Ruby or Rails service. Triggers on "setup otel in ruby", "ruby telemetry", "Rails OpenTelemetry", "OpenTelemetry::SDK.configure", "opentelemetry-instrumentation-all", "Ruby tracing", "Rack otel", "Sidekiq otel", or any Ruby-related OTel question.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the OpenTelemetry in Ruby skill

What this skill tells your AI

The instructions your AI receives, as published by ollygarden/opentelemetry-agent-skills in skills/otel-ruby/SKILL.md and read by ahel’s review.

Entry point for OpenTelemetry mechanics in Ruby applications. Load only the reference that matches the task; each reference is self-contained.

References

FileUse when
references/setup.mdInstalling gems, configuring OpenTelemetry::SDK.configure, selecting OTLP exporters, setting resources and environment variables, and handling process shutdown.
references/api.mdWriting manual traces, metrics, or logs; managing context and propagation; testing emitted telemetry.
references/instrumentation-libraries.mdSelecting and configuring contrib instrumentation for Rails, Rack, Sinatra, HTTP clients, databases, jobs, messaging, and other gems.
references/performance.mdTuning sampling, batching, cardinality, forked-process behavior, exporters, and lifecycle handling.
references/breaking-changes.mdReviewing Ruby/runtime compatibility, independently versioned gems, experimental signal changes, and core/contrib upgrades.

Signal stability matters

Tracing uses the stable opentelemetry-api and opentelemetry-sdk gems. Ruby metrics and logs are separate 0.x API, SDK, and exporter gems and remain experimental. Do not assume a tracing gem's version exists for metrics, logs, semantic conventions, exporters, or contrib instrumentation. Resolve each gem independently with Bundler, inspect its changelog, and keep the resulting Gemfile.lock change under review.

Released snapshot verified 2026-09-03: tracing API 1.11.0, tracing SDK 1.13.0, trace OTLP exporter 0.35.1; metrics API 0.7.0, SDK 0.17.0, OTLP exporter 0.11.0; logs API 0.4.1, SDK 0.6.1, OTLP exporter 0.5.1. Treat this as an audit anchor, not a version-alignment rule; use the lookups below for newer releases.

Sources of truth

FactFetch
Latest core releases and per-gem tagsgh api repos/open-telemetry/opentelemetry-ruby/releases --paginate
Latest contrib instrumentation releasesgh api repos/open-telemetry/opentelemetry-ruby-contrib/releases --paginate
Released and locked gem dependenciesgem specification <gem> dependencies --remote --yaml; inspect Gemfile.lock for the locked dependency set
Core implementation and changelogsopen-telemetry/opentelemetry-ruby
Contrib catalog, compatibility, and per-gem optionsopen-telemetry/opentelemetry-ruby-contrib
Ruby language docsOpenTelemetry Ruby documentation

Cross-references

  • SDK version selection across languages: otel-sdk-versions skill.
  • Semantic convention names and stability: otel-semantic-conventions skill.
  • OTLP receiver/export validation: otel-collector and otel-telemetrygen skills.

Signals

GitHub stars
98
Forks
10
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
otel-ruby
Source
github.com/ollygarden/opentelemetry-agent-skills