4.13 added flyio cd to project

This commit is contained in:
Aaro Koivukangas
2023-11-11 20:00:36 +02:00
parent c91c9d6ad7
commit b657386482
10 changed files with 195 additions and 12 deletions
+17
View File
@@ -0,0 +1,17 @@
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