Sha256: 8e0fbed8769c728df66570ab803535ae11b1e7aee6f9763c7595ff3b6c7ba824

Contents?: true

Size: 411 Bytes

Versions: 37

Compression:

Stored size: 411 Bytes

Contents

if ENV["SENTRY_DSN"]

Sentry.init do |config|
  config.dsn = ENV["SENTRY_DSN"]
  config.breadcrumbs_logger = [:active_support_logger, :http_logger]

  # Set traces_sample_rate to 1.0 to capture 100%
  # of transactions for performance monitoring.
  # We recommend adjusting this value in production.
  config.traces_sample_rate = 1.0
  # or
  config.traces_sampler = lambda do |context|
    true
  end
end

end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
dockerfile-rails-1.7.3 lib/generators/templates/sentry.rb.erb
dockerfile-rails-1.7.2 lib/generators/templates/sentry.rb.erb
dockerfile-rails-1.7.1 lib/generators/templates/sentry.rb.erb
dockerfile-rails-1.7.0 lib/generators/templates/sentry.rb.erb
dockerfile-rails-1.6.25 lib/generators/templates/sentry.rb.erb
dockerfile-rails-1.6.24 lib/generators/templates/sentry.rb.erb
dockerfile-rails-1.6.23 lib/generators/templates/sentry.rb.erb
dockerfile-rails-1.6.22 lib/generators/templates/sentry.rb.erb
dockerfile-rails-1.6.21 lib/generators/templates/sentry.rb.erb
dockerfile-rails-1.6.20 lib/generators/templates/sentry.rb.erb
dockerfile-rails-1.6.19 lib/generators/templates/sentry.rb.erb
dockerfile-rails-1.6.18 lib/generators/templates/sentry.rb.erb
dockerfile-rails-1.6.17 lib/generators/templates/sentry.rb.erb
dockerfile-rails-1.6.16 lib/generators/templates/sentry.rb.erb
dockerfile-rails-1.6.15 lib/generators/templates/sentry.rb.erb
dockerfile-rails-1.6.10 lib/generators/templates/sentry.rb.erb
dockerfile-rails-1.6.9 lib/generators/templates/sentry.rb.erb
dockerfile-rails-1.6.8 lib/generators/templates/sentry.rb.erb
dockerfile-rails-1.6.7 lib/generators/templates/sentry.rb.erb
dockerfile-rails-1.6.6 lib/generators/templates/sentry.rb.erb