-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ruby): Add auto instrumentation docs (#8574)
- Loading branch information
1 parent
d1475bd
commit 31cd5fc
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
...platforms/ruby/common/performance/instrumentation/automatic-instrumentation.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>. |
31cd5fc
There was a problem hiding this comment.
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