---
title: "Automatic Instrumentation"
description: "Learn what instrumentation automatically captures transactions."
url: https://docs.sentry.io/platforms/ruby/tracing/instrumentation/automatic-instrumentation/
---

# Automatic Instrumentation | Sentry for Ruby

Many integrations for popular frameworks automatically capture transactions. If you use have any of the following frameworks set up for Sentry error reporting and use the relevant Sentry gem, you will start to see traces immediately:

* Ruby on Rails (`sentry-rails`)
* Sidekiq (`sentry-sidekiq`)
* Delayed Job (`sentry-delayed_job`)
* Resque (`sentry-resque`)

Spans are instrumented for the following operations within a transaction:

* Database queries in Rails that use `ActiveRecord`
  * includes common database systems such as Postgres and MySQL
* Outgoing HTTP requests made with `Net::HTTP`
* Redis operations

Spans are only created within an existing transaction. If you're not using any of the supported frameworks, you'll need to [create transactions manually](https://docs.sentry.io/platforms/ruby/tracing/instrumentation/custom-instrumentation.md).
