Sha256: f9e5e6116bb371385030316650b23d4c7f561df2c55100db8ea4b3ced8f4c975

Contents?: true

Size: 1.14 KB

Versions: 2

Compression:

Stored size: 1.14 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

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:

::

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


To blacklist integrations:

::

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


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

::

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


And in some sort of initializer:

::

   Raven.inject_without(:sidekiq)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sentry-raven-2.5.3 docs/integrations/index.rst
sentry-raven-2.5.2 docs/integrations/index.rst