File tree 5 files changed +34
-1
lines changed
5 files changed +34
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ linters:
11
11
DeprecatedClasses :
12
12
enabled : true
13
13
ErbSafety :
14
- enabled : true
14
+ enabled : false
15
15
better_html_config : .better-html.yml
16
16
ExtraNewline :
17
17
enabled : true
Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ gem "octokit", "~> 9.2.0"
12
12
gem "omniauth-github" , github : "omniauth/omniauth-github" , branch : "master"
13
13
gem "omniauth-rails_csrf_protection"
14
14
gem "propshaft" , "~> 1.1.0"
15
+ gem "sentry-ruby"
16
+ gem "sentry-rails"
17
+ gem "stackprof"
15
18
gem "solid_cache" , "~> 1.0.6"
16
19
gem "solid_queue" , "~> 1.0.2"
17
20
gem "sqlite3" , "~> 2.3.0"
Original file line number Diff line number Diff line change 415
415
rexml (~> 3.2 , >= 3.2.5 )
416
416
rubyzip (>= 1.2.2 , < 3.0 )
417
417
websocket (~> 1.0 )
418
+ sentry-rails (5.21.0 )
419
+ railties (>= 5.0 )
420
+ sentry-ruby (~> 5.21.0 )
421
+ sentry-ruby (5.21.0 )
422
+ bigdecimal
423
+ concurrent-ruby (~> 1.0 , >= 1.0.2 )
418
424
simplecov (0.22.0 )
419
425
docile (~> 1.1 )
420
426
simplecov-html (~> 0.11 )
454
460
net-sftp (>= 2.1.2 )
455
461
net-ssh (>= 2.8.0 )
456
462
ostruct
463
+ stackprof (0.2.26 )
457
464
stimulus-rails (1.3.4 )
458
465
railties (>= 6.0.0 )
459
466
stringio (3.1.1 )
@@ -538,11 +545,14 @@ DEPENDENCIES
538
545
rails (= 8.0.0 )
539
546
rubocop-rails-omakase
540
547
selenium-webdriver (~> 4.26.0 )
548
+ sentry-rails
549
+ sentry-ruby
541
550
simplecov
542
551
simplecov-tailwindcss
543
552
solid_cache (~> 1.0.6 )
544
553
solid_queue (~> 1.0.2 )
545
554
sqlite3 (~> 2.3.0 )
555
+ stackprof
546
556
stimulus-rails
547
557
thruster (~> 0.1.9 )
548
558
turbo-rails (~> 2.0.11 )
Original file line number Diff line number Diff line change 15
15
< link rel ="apple-touch-icon " href ="/icon.png ">
16
16
<%= vite_client_tag %>
17
17
<%= vite_javascript_tag "application" %>
18
+ <%= Sentry . get_trace_propagation_meta . html_safe %>
18
19
</ head >
19
20
< body >
20
21
<% if notice %>
Original file line number Diff line number Diff line change
1
+ # frozen_string_literal: true
2
+
3
+ Sentry . init do |config |
4
+ config . dsn = "https://9a5d6b46b2aceb55085f3813b9862aff@o4508342968975360.ingest.de.sentry.io/4508342982934608"
5
+ config . breadcrumbs_logger = [ :active_support_logger , :http_logger ]
6
+
7
+ # Set traces_sample_rate to 1.0 to capture 100%
8
+ # of transactions for tracing.
9
+ # We recommend adjusting this value in production.
10
+ config . traces_sample_rate = 1.0
11
+ # or
12
+ config . traces_sampler = lambda do |context |
13
+ true
14
+ end
15
+ # Set profiles_sample_rate to profile 100%
16
+ # of sampled transactions.
17
+ # We recommend adjusting this value in production.
18
+ config . profiles_sample_rate = 0.5
19
+ end
You can’t perform that action at this time.
0 commit comments