File tree 2 files changed +5
-0
lines changed
sentry-rails/lib/sentry/rails/tracing
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 27
27
- Respect custom ` Delayed::Job.max_attempts` if it' s defined [#2176](https://github.com/getsentry/sentry-ruby/pull/2176)
28
28
- Fixed a bug where `Net::HTTP` instrumentation won' t work for some IPv6 addresses [# 2180](https://github.com/getsentry/sentry-ruby/pull/2180)
29
29
- Allow non- string error message to be reported to sentry ([# 2137](https://github.com/getsentry/sentry-ruby/pull/2137))
30
+ - ` sentry-rails` will now capture Cockroach DB adapter config into spans data [# 2182](https://github.com/getsentry/sentry-ruby/pull/2182)
30
31
31
32
# # 5.13.0
32
33
Original file line number Diff line number Diff line change @@ -31,6 +31,10 @@ def self.subscribe!
31
31
connection . pool . db_config . configuration_hash
32
32
elsif connection . pool . respond_to? ( :spec )
33
33
connection . pool . spec . config
34
+ # CockroachDB pool shows up as NullPool, but we can grab
35
+ # it's configuration from the instance variable.
36
+ elsif connection . instance_variable_defined? ( :@config )
37
+ connection . instance_variable_get ( :@config )
34
38
end
35
39
36
40
next unless db_config
You can’t perform that action at this time.
0 commit comments