OpenTelemetry in Ruby — SDK setup, manual tracing, experimental metrics and logs, Bundler integration, contrib instrumentation for Rails/Rack/Sinatra/Sidekiq and other gems, propagation…

Apache-2.0Auto-check passedDevOps & Cloud

Install Otel Ruby

skills CLI
$ npx skills add ollygarden/opentelemetry-agent-skills --skill otel-ruby -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ollygarden/opentelemetry-agent-skills otel-ruby --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ollygarden/opentelemetry-agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/otel-ruby .claude/skills/otel-ruby && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
otel-ruby
GitHub stars
106
Token cost
~924 tokens
SKILL.md length
295 words
Files
6 (incl. references)
Skills in repo
19
Repo updated
First seen
Licence
Apache-2.0

At a glance

OpenTelemetry in Ruby — SDK setup, manual tracing, experimental metrics and logs, Bundler integration, contrib instrumentation for Rails/Rack/Sinatra/Sidekiq and other gems, propagation…

  • Troubleshooting OpenTelemetry in a Ruby
  • SKILL.md covers References, Signal stability matters, Sources of truth and Cross-references
  • Calls gh and gem
  • Setup otel in ruby

What it does

Otel Ruby is an agent skill from ollygarden/opentelemetry-agent-skills. 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…

Its SKILL.md is about 920 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/api.md`, `references/breaking-changes.md` and `references/instrumentation-libraries.md`).

It sits in DevOps & Cloud, covering Observability and Backend development. It works with OpenTelemetry and Ruby. The repository describes itself as: Vendor-neutral OpenTelemetry skills for AI coding agents like Claude Code, Cursor, and Codex, grounded in upstream sources. The licence is Apache-2.0.

When your agent uses it

  • Troubleshooting OpenTelemetry in a Ruby
  • Setup otel in ruby
  • Rails OpenTelemetry
  • OpenTelemetry::SDK.configure

Example prompts

  • “setup otel in ruby”
  • “ruby telemetry”
  • “Rails OpenTelemetry”
  • “/otel-ruby”

What it can do on your machine

Read from SKILL.md and the folder at commit ea1a940. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh
    • gem

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com
    • opentelemetry.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Otel Ruby loads about 924 tokens when it runs, and up to ~6.3k if it reads all its reference files. Until then it costs about 137 tokens; SKILL.md has 295 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~137
When it runs · the whole SKILL.md, loaded when a task matches
~924
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ollygarden/opentelemetry-agent-skills at commit ea1a940, republished under its Apache-2.0 licence (© ollygarden). 295 words, ~924 tokens.

Download SKILL.mdSave it as .claude/skills/otel-ruby/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
otel-ruby
description
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.

OpenTelemetry in Ruby

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-10-03: tracing API 1.11.1, tracing SDK 1.13.1, trace OTLP exporter 0.37.0; metrics API 0.8.0, SDK 0.19.0, OTLP exporter 0.13.0; logs API 0.5.0, SDK 0.7.0, OTLP exporter 0.6.0; experimental declarative-config gem opentelemetry-config 0.1.0 (traces only). 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.

© ollygarden, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (references) in skills/otel-ruby of ollygarden/opentelemetry-agent-skills.

  • SKILL.md
  • references/api.md
  • references/breaking-changes.md
  • references/instrumentation-libraries.md
  • references/performance.md
  • references/setup.md

Open the folder on GitHubat commit ea1a940

Compare with similar skills

Otel Ruby next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Otel Ruby compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Otel Ruby this skillollygarden/opentelemetry-agent-skills106—~924Automated safety check: PassApache-2.0
AI Observabilityrrezartprebreza/spring-boot-skills2961 repos~1.6kAutomated safety check: PassMIT
Production Observabilityrrezartprebreza/spring-boot-skills296—~615Automated safety check: PassMIT
Production Observabilityrrezartprebreza/spring-boot-skills296—~769Automated safety check: PassMIT
Backend Dev Guidelineslitefuse/litefuse1001 repos~5.8kAutomated safety check: PassCustom licence
Sentry Ruby SDKgetsentry/sentry-for-ai268—~3.4kAutomated safety check: PassApache-2.0

Similar skills

  • AI Observability

    rrezartprebreza/spring-boot-skills

    A skill your agent uses when adding Spring AI-specific model observations, token usage, latency, externally configured cost attribution, advisor telemetry, or protected prompt and completion logging.

    296 GitHub starsUsed in 1 repo~1.6k tokens
    DevOps & CloudAuto-check passed
  • Production Observability

    rrezartprebreza/spring-boot-skills

    A skill your agent uses when adding service-wide Spring Boot 3 Actuator, Micrometer metrics, distributed tracing, OpenTelemetry export, structured logging, health probes, dashboards, or alerts.

    296 GitHub stars~615 tokensUpdated 16 days ago
    DevOps & CloudAuto-check passed
  • Production Observability

    rrezartprebreza/spring-boot-skills

    A skill your agent uses when adding service-wide Spring Boot 4 Actuator, Micrometer Observation and Tracing, OpenTelemetry or OTLP export, structured logging, health probes, dashboards, or alerts.

    296 GitHub stars~769 tokensUpdated 16 days ago
    DevOps & CloudAuto-check passed
  • Backend Dev Guidelines

    litefuse/litefuse

    Comprehensive backend development guide for Litefuse's Next.js 14/tRPC/Express/TypeScript monorepo.

    100 GitHub starsUsed in 1 repo~5.8k tokens
    Backend & APIsAuto-check passed
  • Sentry Ruby SDK

    getsentry/sentry-for-ai

    Official

    Full Sentry SDK setup for Ruby. An agent skill from getsentry/sentry-for-ai.

    268 GitHub stars~3.4k tokensUpdated today
    Backend & APIsAuto-check passed
  • Spring Boot Observability

    HoangNguyen0403/agent-skills-standard

    Instrument Spring Boot with Micrometer metrics, distributed tracing, and structured logging.

    570 GitHub stars~501 tokensUpdated yesterday
    Backend & APIsAuto-check passed

More from ollygarden/opentelemetry-agent-skills

All 19 skills in this repo
  • Otel Collector Builder

    ollygarden/opentelemetry-agent-skills

    Build custom OpenTelemetry Collector distributions with OCB (OpenTelemetry Collector Builder).

    106 GitHub stars~2k tokensUpdated 4 days ago
    Auto-check passed
  • Otel Go

    ollygarden/opentelemetry-agent-skills

    OpenTelemetry in Go — SDK setup, API surface, breaking changes, contrib instrumentation libraries (otelhttp, otelgrpc, otelmongo), compile-time zero-code instrumentation (otelc), and performance…

    106 GitHub stars~1.4k tokensUpdated 4 days ago
    Auto-check passed
  • Otel Ottl

    ollygarden/opentelemetry-agent-skills

    OpenTelemetry Transformation Language (OTTL) expert for writing and debugging telemetry transformations in the OpenTelemetry Collector.

    106 GitHub stars~1.7k tokensUpdated 4 days ago
    Auto-check passed
  • Otel Span Events To Logs Migration

    ollygarden/opentelemetry-agent-skills

    Migrate OpenTelemetry Span Events (AddEvent, RecordException, and language equivalents) to the Logs API following the accepted OTEP 4430 migration plan.

    106 GitHub stars~1.8k tokensUpdated 4 days ago
    Auto-check passed
  • Otel Telemetrygen

    ollygarden/opentelemetry-agent-skills

    Build safe, version-pinned telemetrygen commands for synthetic OTLP traces, metrics, and logs.

    106 GitHub stars~2.2k tokensUpdated 4 days ago
    Auto-check passed
  • Otel Upgrade

    ollygarden/opentelemetry-agent-skills

    Assess OpenTelemetry package and Collector upgrades across ecosystems.

    106 GitHub stars~1.1k tokensUpdated 4 days ago
    Auto-check passed

Categories

Questions about Otel Ruby

What does Otel Ruby do?

OpenTelemetry in Ruby — SDK setup, manual tracing, experimental metrics and logs, Bundler integration, contrib instrumentation for Rails/Rack/Sinatra/Sidekiq and other gems, propagation…. Otel Ruby is an agent skill from ollygarden/opentelemetry-agent-skills. 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.

When should I use Otel Ruby?

Otel Ruby fits situations like: troubleshooting OpenTelemetry in a Ruby; setup otel in ruby; rails OpenTelemetry; openTelemetry::SDK.configure.

How do I install Otel Ruby in Claude Code?

Run `npx skills add ollygarden/opentelemetry-agent-skills --skill otel-ruby -a claude-code`. Or copy the skill folder (skills/otel-ruby in ollygarden/opentelemetry-agent-skills) into .claude/skills/otel-ruby in your project. Claude Code loads it when a task matches its description.

How do I install Otel Ruby in Codex?

Run `npx skills add ollygarden/opentelemetry-agent-skills --skill otel-ruby -a codex`. Or copy the skill folder (skills/otel-ruby in ollygarden/opentelemetry-agent-skills) into .agents/skills/otel-ruby in your project. Codex loads it when a task matches its description.

Can I use Otel Ruby in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ollygarden/opentelemetry-agent-skills --skill otel-ruby -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/otel-ruby, .gemini/skills/otel-ruby, .github/skills/otel-ruby and .opencode/skills/otel-ruby in your project.

What does Otel Ruby need to run?

Going by SKILL.md and its folder, Otel Ruby needs the command-line tools its instructions call (gh and gem).

Does Otel Ruby access the network?

SKILL.md names 2 domains. As links in the text: github.com and opentelemetry.io. This is read from the text; nothing was executed.

Is Otel Ruby safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Otel Ruby use?

Otel Ruby is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Otel Ruby use?

About 924 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.4k tokens, read only when the agent opens those files.

What are the alternatives to Otel Ruby?

Skills that share tags, products or a category with Otel Ruby: AI Observability (rrezartprebreza/spring-boot-skills, 296 stars), Production Observability (rrezartprebreza/spring-boot-skills, 296 stars), Production Observability (rrezartprebreza/spring-boot-skills, 296 stars) and Backend Dev Guidelines (litefuse/litefuse, 100 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Otel Ruby?

ollygarden (a GitHub organization) maintains it in ollygarden/opentelemetry-agent-skills, which has 106 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 3, 2026.

Source: ollygarden/opentelemetry-agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.