4 changed files with 23 additions and 1 deletions
@ -1,7 +1,7 @@
|
||||
DATABASE_URL: '<%= Rails.application.credentials.DATABASE_URL %>' |
||||
DATABASE_URL_CDAO: '<%= Rails.application.credentials.DATABASE_URL_CDAO %>' |
||||
|
||||
SENTRY_DSN: '<%= Rails.application.credentials.REPORT_URI_URL %>' |
||||
SENTRY_DSN: '<%= Rails.application.credentials.SENTRY_DSN %>' |
||||
REPORT_URI_URL: '<%= Rails.application.credentials.REPORT_URI_URL %>' |
||||
|
||||
RECAPTCHA_ENABLED: '<%= Rails.application.credentials.RECAPTCHA_ENABLED %>' |
||||
|
||||
@ -0,0 +1,12 @@
|
||||
Sentry.init do |config| |
||||
config.dsn = ENV["SENTRY_DSN"] |
||||
|
||||
# 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 |
||||
Loading…
Reference in new issue