-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEBUG-3182 move Rails utils to core #4261
Conversation
5e08393
to
d632d59
Compare
Datadog ReportBranch report: ✅ 0 Failed, 22125 Passed, 1475 Skipped, 5m 31.98s Total Time |
BenchmarksBenchmark execution time: 2025-01-07 22:21:20 Comparing candidate commit 5179713 in PR branch Found 0 performance improvements and 1 performance regressions! Performance is the same for 30 metrics, 2 unstable metrics. scenario:profiler - sample timeline=false
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 LGTM
2bd0872
to
7bf4169
Compare
This reverts commit 7bf4169.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4261 +/- ##
=======================================
Coverage 97.74% 97.75%
=======================================
Files 1353 1352 -1
Lines 82392 82378 -14
Branches 4224 4224
=======================================
- Hits 80536 80526 -10
+ Misses 1856 1852 -4 ☔ View full report in Codecov by Sentry. |
* master: DEBUG-3210 DI: change logging to be appropriate for customer inspection (DataDog#4266) Report timing information if try_wait_until times out (DataDog#4265) Move simplecov patch to an overlay in our tree instead of using a forked simplecov repo (DataDog#4263) DEBUG-3251 dependency inject logger into DI component (DataDog#4262) DEBUG-3182 move Rails utils to core (DataDog#4261) add supported versions workflow (DataDog#4210) DEBUG-3305 remove dependency on benchmark (DataDog#4259) Fix case & grammar in issue template (DataDog#4244) [🤖] Update Latest Dependency: https://github.com/DataDog/dd-trace-rb/actions/runs/12614773826
What does this PR do?
Moves Tracing::Contrib::Rails::Utils to Core
Motivation:
DI requires a similar loading logic for contribs as Tracing (currently we have one DI contrib which is ActiveRecord). I am working on having a DI railtie that would load the DI AR contrib late in application bootstrap, like tracing is doing with its contribs. To detect whether Railtie functionality is available, I need the Contrib::Rails::Utils methods.
Change log entry
None
Additional Notes:
How to test the change?