Skip to content

Commit

Permalink
feat(ruby): Add auto instrumentation docs (#8574)
Browse files Browse the repository at this point in the history
  • Loading branch information
sl0thentr0py authored Nov 24, 2023
1 parent d1475bd commit 31cd5fc
Showing 1 changed file with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: Automatic Instrumentation
sidebar_order: 10
supported:
- ruby
- ruby.rails
description: "Learn what instrumentation automatically captures transactions."
redirect_from:
- /performance/included-instrumentation
---

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 <PlatformLink to="/performance/instrumentation/custom-instrumentation/">create transactions manually</PlatformLink>.

1 comment on commit 31cd5fc

@vercel
Copy link

@vercel vercel bot commented on 31cd5fc Nov 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sentry-docs – ./

sentry-docs.sentry.dev
sentry-docs-git-master.sentry.dev
docs.sentry.io

Please sign in to comment.