-
Notifications
You must be signed in to change notification settings - Fork 374
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
[PROF-8037] Profiling system info support #3357
Conversation
d09cc4c
to
230da3c
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.
Left a few notes! I'm excited to finally have this for Ruby! ❤️
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 upgrades dd-trace-rb to use libdatadog 6. The highlight of this release are memory footprint improvements when using the profiling timeline feature. There was a small breaking API change -- the addition of the `info` parameter in `ddog_prof_Exporter_Request_build`, which will be used in #3357 but for this PR I only passed in a `NULL`. **Motivation:** Pick up the timeline memory improvements. **Additional Notes:** N/A **How to test the change?** Our existing test coverage includes libdatadog testing, so a green CI is good here :)
**What does this PR do?** This PR upgrades dd-trace-rb to use libdatadog 6. The highlight of this release are memory footprint improvements when using the profiling timeline feature. There was a small breaking API change -- the addition of the `info` parameter in `ddog_prof_Exporter_Request_build`, which will be used in #3357 but for this PR I only passed in a `NULL`. **Motivation:** Pick up the timeline memory improvements. **Additional Notes:** N/A **How to test the change?** Our existing test coverage includes libdatadog testing, so a green CI is good here :)
Co-authored-by: Ivo Anjo <ivo.anjo@datadoghq.com>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #3357 +/- ##
========================================
Coverage 98.23% 98.23%
========================================
Files 1270 1272 +2
Lines 74802 74970 +168
Branches 3510 3531 +21
========================================
+ Hits 73479 73647 +168
Misses 1323 1323 ☔ 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.
👍 LGTM
Co-authored-by: Ivo Anjo <ivo.anjo@datadoghq.com>
What does this PR do?
info.application.start_time
:Motivation:
Additional Notes:
This requires using a new release of libdatadog with DataDog/libdatadog#289 merged
How to test the change?
For Datadog employees:
credentials of any kind, I've requested a review from
@DataDog/security-design-and-guidance
.Unsure? Have a question? Request a review!