sentry-ruby-sdk

Integrate Sentry Ruby SDK into Rails, Sinatra, and Rack apps.

20|3|Updated Jan 8, 2026
One-click install
npx skills add https://github.com/getsentry/sentry-agent-skills --skill sentry-ruby-sdk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sentry-ruby-sdk
Source: https://github.com/getsentry/sentry-agent-skills/tree/main/skills/sentry-ruby-sdk
Command: npx skills add https://github.com/getsentry/sentry-agent-skills --skill sentry-ruby-sdk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Full Sentry Ruby SDK setup for Ruby apps, guiding developers to integrate error monitoring, tracing, logging, metrics, and profiling with Ruby projects, and providing migration support from AppSignal, Honeybadger, Bugsnag, Rollbar, and Airbrake.

Core Features & Use Cases

  • Guided Sentry Ruby integration for Rails, Sinatra, and Rack, including background job support for Sidekiq and Resque.
  • Comprehensive coverage for error monitoring, tracing, logging, metrics, and profiling, with migration assistance from AppSignal, Honeybadger, Bugsnag, Rollbar, and Airbrake.
  • Use cases include adding Sentry to new Ruby apps, migrating from other tools, and enabling observability across web requests and background jobs.

Quick Start

Install the gem suite, run bundle install, and configure Sentry in your framework’s initializer to enable tracing, logs, and metrics.

Frequently Asked Questions about sentry-ruby-sdk

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

FAQPage Schema
How do I set up Sentry error monitoring in a Ruby on Rails application?

To set up Sentry error monitoring in Rails, install the sentry-ruby gem suite, run bundle install, and configure the SDK in your Rails initializer to capture exceptions and enable tracing.

Can I integrate Sentry tracing and logging with Sidekiq background jobs?

Yes, Sentry Ruby integration fully supports background jobs in Sidekiq and Resque, enabling error monitoring, tracing, and logging across asynchronous tasks and web requests.

What is the best way to migrate from Bugsnag or Honeybadger to Sentry in Ruby?

Migrating from Bugsnag or Honeybadger to Sentry involves installing the Ruby SDK and using the provided migration assistance to map previous error monitoring configurations to Sentry's tracing and logging features.

Does the Sentry Ruby SDK work with Sinatra and Rack apps?

Yes, the Sentry Ruby SDK applies to Sinatra and Rack apps, providing structured setup and framework initializers to enable error monitoring, metrics, and profiling.

How do I enable profiling and metrics collection in my Ruby application?

You enable profiling and metrics collection in Ruby by configuring the Sentry SDK within your framework's initializer after installing the gem suite, capturing performance data alongside error logs.