-
Notifications
You must be signed in to change notification settings - Fork 369
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
Add bin/ddprofrb #3501
Add bin/ddprofrb #3501
Conversation
f8ebcdc
to
fc77122
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3501 +/- ##
==========================================
- Coverage 98.24% 98.23% -0.01%
==========================================
Files 1275 1275
Lines 75182 75182
Branches 3551 3551
==========================================
- Hits 73859 73858 -1
- Misses 1323 1324 +1 ☔ View full report in Codecov by Sentry. |
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.
Looks reasonable! Only thing missing is ddtracerb
not working due to the require_relative
.
Also note to self: I'll need to update https://docs.datadoghq.com/profiler/enabling/ruby/?tab=environmentvariables#installation once this is merged.
fc77122
to
9741fee
Compare
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
**What does this PR do?** This PR updates the "Enabling the Ruby profiler" page to use the `ddprofrb` command as a replacement for the `ddtracerb` command that was deprecated in DataDog/dd-trace-rb#3501 . The old command is still going to be kept around for a while longer, and emits a deprecation warning when used. **Motivation:** Make sure customers onboard using the recommended instructions.
Docs update PR: DataDog/documentation#22037 |
…#22037) * Update "Enabling the Ruby profiler" to use the new `ddprofrb` command **What does this PR do?** This PR updates the "Enabling the Ruby profiler" page to use the `ddprofrb` command as a replacement for the `ddtracerb` command that was deprecated in DataDog/dd-trace-rb#3501 . The old command is still going to be kept around for a while longer, and emits a deprecation warning when used. **Motivation:** Make sure customers onboard using the recommended instructions. * Apply suggestions from code review Co-authored-by: cecilia saixue watt <cecilia.watt@datadoghq.com> --------- Co-authored-by: cecilia saixue watt <cecilia.watt@datadoghq.com>
What does this PR do?
This adds the
bin/ddprofrb
script, which is identical to thebin/ddtracerb
script, which it intends to replace. It also prints a deprecation warning for any use ofbin/ddtracerb
.Motivation:
The naming did not reflect the actual function of the bin. This better aligns it to its purpose.
Additional Notes:
We will remove
bin/ddtracerb
in the 2.0 release.