Skip to content

Commit

Permalink
Sentry part II
Browse files Browse the repository at this point in the history
  • Loading branch information
TomNaessens committed May 19, 2024
1 parent 143ab3d commit 56b0544
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions config/initializers/sentry.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
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

# Set profiles_sample_rate to profile 100%
# of sampled transactions.
# We recommend adjusting this value in production.
config.profiles_sample_rate = 1.0
config.enable_tracing = true
end

0 comments on commit 56b0544

Please sign in to comment.