feature/share-libs
rb 14 lines 486 Bytes
Raw
1 Sentry.init do |config|
2 config.dsn = 'https://358d28fdbcc64ec8adf63f104dbe262e@o933906.ingest.sentry.io/5883180'
3 config.breadcrumbs_logger = %i[active_support_logger http_logger]
4
5 # Set tracesSampleRate to 1.0 to capture 100%
6 # of transactions for performance monitoring.
7 # We recommend adjusting this value in production
8 config.traces_sample_rate = 1.0
9 # or
10 config.traces_sampler = lambda do |_context|
11 true
12 end
13 config.enabled_environments = %w[production]
14 end