Skip to content
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-10208] Upgrade to libdatadog 11 #3799

Merged
merged 2 commits into from
Jul 22, 2024

Conversation

ivoanjo
Copy link
Member

@ivoanjo ivoanjo commented Jul 22, 2024

What does this PR do?

This PR upgrades the datadog gem to use libdatadog 11.

There were some minor tweaks needed in the crashtracker APIs, but otherwise it's a drop-in upgrade.

Motivation:

Staying on the latest libdatadog enables us to pick up the latest improvements and also makes it easier to develop new features that need libdatadog changes.

Additional Notes:

As usual, I'm opening this PR as a draft as libdatadog 11 is not yet available on rubygems.org, and I'll come back to re-trigger CI and mark this as non-draft once it is.

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 the datadog gem to use libdatadog 11.

There were some minor tweaks needed in the crashtracker APIs, but
otherwise it's a drop-in upgrade.

**Motivation:**

Staying on the latest libdatadog enables us to pick up the
latest improvements and also makes it easier to develop new features
that need libdatadog changes.

**Additional Notes:**

As usual, I'm opening this PR as a draft as libdatadog 11 is not yet
available on rubygems.org, and I'll come back to re-trigger CI and mark
this as non-draft once it is.

**How to test the change?**

Our existing test coverage includes libdatadog testing, so a green CI
is good here :)
@ivoanjo ivoanjo requested review from a team as code owners July 22, 2024 13:12
@ivoanjo ivoanjo marked this pull request as draft July 22, 2024 13:12
@github-actions github-actions bot added the profiling Involves Datadog profiling label Jul 22, 2024
ivoanjo added a commit to DataDog/libdatadog that referenced this pull request Jul 22, 2024
 # What does this PR do?

This PR includes the changes documented in the "Releasing a new version
to rubygems.org" part of the README:
https://github.com/datadog/libdatadog/tree/main/ruby#releasing-a-new-version-to-rubygemsorg

The v11 version bump PR (#529) had already bumped the version itself,
so I just needed to add the hashes.

 # Motivation

Enable Ruby to use libdatadog v11.0.0.

 # Additional Notes

N/A

 # How to test the change?

I've tested this release locally using the changes in
DataDog/dd-trace-rb#3799 .

As a reminder, new libdatadog releases don't get automatically picked
up by dd-trace-rb, so the PR that bumps the Ruby profiler will also
test this release against all supported Ruby versions.
ivoanjo added a commit to DataDog/libdatadog that referenced this pull request Jul 22, 2024
# What does this PR do?

This PR includes the changes documented in the "Releasing a new version
to rubygems.org" part of the README:
https://github.com/datadog/libdatadog/tree/main/ruby#releasing-a-new-version-to-rubygemsorg

The v11 version bump PR (#529) had already bumped the version itself,
so I just needed to add the hashes.

 # Motivation

Enable Ruby to use libdatadog v11.0.0.

 # Additional Notes

N/A

 # How to test the change?

I've tested this release locally using the changes in
DataDog/dd-trace-rb#3799 .

As a reminder, new libdatadog releases don't get automatically picked
up by dd-trace-rb, so the PR that bumps the Ruby profiler will also
test this release against all supported Ruby versions.
@ivoanjo ivoanjo force-pushed the ivoanjo/prof-10208-libdatadog11-upgrade branch from e93e8a6 to d3f1ac4 Compare July 22, 2024 13:52
@pr-commenter
Copy link

pr-commenter bot commented Jul 22, 2024

Benchmarks

Benchmark execution time: 2024-07-22 14:02:40

Comparing candidate commit d3f1ac4 in PR branch ivoanjo/prof-10208-libdatadog11-upgrade with baseline commit 40d80cd in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 10 metrics, 2 unstable metrics.

@ivoanjo ivoanjo marked this pull request as ready for review July 22, 2024 14:20
@ivoanjo ivoanjo merged commit 2505c2d into master Jul 22, 2024
171 checks passed
@ivoanjo ivoanjo deleted the ivoanjo/prof-10208-libdatadog11-upgrade branch July 22, 2024 14:35
@github-actions github-actions bot added this to the 2.3.0 milestone Jul 22, 2024
ekump pushed a commit to DataDog/libdatadog that referenced this pull request Jul 22, 2024
# What does this PR do?

This PR includes the changes documented in the "Releasing a new version
to rubygems.org" part of the README:
https://github.com/datadog/libdatadog/tree/main/ruby#releasing-a-new-version-to-rubygemsorg

The v11 version bump PR (#529) had already bumped the version itself,
so I just needed to add the hashes.

 # Motivation

Enable Ruby to use libdatadog v11.0.0.

 # Additional Notes

N/A

 # How to test the change?

I've tested this release locally using the changes in
DataDog/dd-trace-rb#3799 .

As a reminder, new libdatadog releases don't get automatically picked
up by dd-trace-rb, so the PR that bumps the Ruby profiler will also
test this release against all supported Ruby versions.
@TonyCTHsu TonyCTHsu mentioned this pull request Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
profiling Involves Datadog profiling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants