mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 07:25:19 +02:00
Sentry update
This commit is contained in:
parent
d648b9468f
commit
9090769c65
2 changed files with 3 additions and 6 deletions
|
@ -12,3 +12,4 @@ STRIPE_PRIVATE_KEY=
|
||||||
STRIPE_SIGNING_SECRET=
|
STRIPE_SIGNING_SECRET=
|
||||||
STRIPE_PRICE_ID=
|
STRIPE_PRICE_ID=
|
||||||
SCRAPING_BEE_KEY=
|
SCRAPING_BEE_KEY=
|
||||||
|
SENTRY_DSN=
|
|
@ -1,5 +1,5 @@
|
||||||
Sentry.init do |config|
|
Sentry.init do |config|
|
||||||
config.dsn = 'https://1789da52e499454c8eb0b2d570a7cb56@o675109.ingest.sentry.io/4504980729364480'
|
config.dsn = ENV['SENTRY_DSN']
|
||||||
config.breadcrumbs_logger = [:active_support_logger, :http_logger]
|
config.breadcrumbs_logger = [:active_support_logger, :http_logger]
|
||||||
config.enabled_environments = %w[production]
|
config.enabled_environments = %w[production]
|
||||||
|
|
||||||
|
@ -7,8 +7,4 @@ Sentry.init do |config|
|
||||||
# of transactions for performance monitoring.
|
# of transactions for performance monitoring.
|
||||||
# We recommend adjusting this value in production.
|
# We recommend adjusting this value in production.
|
||||||
config.traces_sample_rate = 1.0
|
config.traces_sample_rate = 1.0
|
||||||
# or
|
|
||||||
config.traces_sampler = lambda do |context|
|
|
||||||
true
|
|
||||||
end
|
|
||||||
end
|
end
|
Loading…
Add table
Add a link
Reference in a new issue