Conversation
e2de725 to
10b1acd
Compare
e9a1bb4 to
6a8cea8
Compare
6a8cea8 to
be03827
Compare
sl0thentr0py
left a comment
There was a problem hiding this comment.
mainly left comments on
- overhead
- configuration api
some more high level feedback:
I would have much preferred this to be a simple proxy of just passing through to our logger whatever rails emits. Instead, now we have special loggers for each component. I will not block this if you are ok with maintaining all this extra code (I do not like maintaining a lot of code, my personal preference.)
Further, there is now a lot of duplication of logic between
- breadcrumbs
- logger
- tracing
To reiterate from a business point of view, Logging is mainly a high volume trace connected feed of events, whereas Tracing is a much more curated instrumentation experience and they both have their place. The way this PR is makes Logging very similar to Performance.
|
|
||
| module Sentry | ||
| module TestHelper | ||
| module_function |
There was a problem hiding this comment.
@sl0thentr0py makes it possible to call methods as class methods too, or include them as RSpec example helpers. Very handy IMO.
sentry-rails/lib/sentry/rails/log_subscribers/active_record_subscriber.rb
Show resolved
Hide resolved
afaa8f9 to
c5a451e
Compare
29ed65b to
d115e0d
Compare
This avoids double-setup of test rails apps which makes specs faster and fixes warnings
d115e0d to
01ae4cb
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #2690 +/- ##
==========================================
- Coverage 97.44% 97.25% -0.19%
==========================================
Files 136 144 +8
Lines 5317 5642 +325
==========================================
+ Hits 5181 5487 +306
- Misses 136 155 +19
🚀 New features to boost your workflow:
|
Adds log subscribers for common Rails components.
Screenshots
Closes #2605