Sha256: 70104e7b3953e5cb220e1b622046807bde3ca541cf25f05a65023f828dd88dc9

Contents?: true

Size: 1.22 KB

Versions: 10

Compression:

Stored size: 1.22 KB

Contents

Integrations
============

For common environments and frameworks like Rails, Rake, Rack and others
Ruby Raven provides automatic integration for reporting.  Most of the time
you don't need to change anything, although you can configure those
features if you want.

.. toctree::
   :maxdepth: 1

   rails
   rack
   puma
   heroku

The following integrations are available:

*   Sidekiq (``:sidekiq``)
*   ``Delayed::Job`` (``:delayed_job``)
*   Rake (``:rake``)
*   Rack (``:rack``)
*   Rails (``:railties``)


Manually using integrations
---------------------------

Integrations are automatically loaded by default. This can be problematic if
the default integration behavior doesn't suit your projects' needs.

To explicitly include integrations:

.. sourcecode:: ruby

   require 'sentry-raven-without-integrations'
   Raven.inject_only(:railties, :rack, :rake)


To blacklist integrations:

.. sourcecode:: ruby

   require 'sentry-raven-without-integrations'
   Raven.inject_without(:sidekiq, :delayed_job)


If you're using bundler, then in your gemfile:

.. sourcecode:: ruby

   gem 'sentry-raven', require: 'sentry-raven-without-integrations'


And in some sort of initializer:

.. sourcecode:: ruby

   Raven.inject_without(:sidekiq)

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
sentry-raven-2.7.4 docs/integrations/index.rst
sentry-raven-2.7.3 docs/integrations/index.rst
jones-gem-2.7.2 docs/integrations/index.rst
alec-gem-2.7.2 docs/integrations/index.rst
sentry-raven-2.7.2 docs/integrations/index.rst
sentry-raven-2.7.1 docs/integrations/index.rst
sentry-raven-2.6.3 docs/integrations/index.rst
sentry-raven-2.6.2 docs/integrations/index.rst
sentry-raven-2.6.1 docs/integrations/index.rst
sentry-raven-2.6.0 docs/integrations/index.rst