Skip to content

Commit 12d5c82

Browse files
committed
[PROF-12941] Upgrade libdatadog dependency to version 23.0.0
**What does this PR do?** This PR bumps the libdatadog dependency from version 22.0.1.1.0 to version 23.0.0.1.0. As this new libdatadog version now compresses profiles using zstd instead of lz4, I've replaced one with the other on our tests. **Motivation:** Adopt the new, better compression for the Ruby profiler. **Additional Notes:** Other than the switch from lz4 to zstd on the Ruby profiler, I did not need to change anything to get a green test suite locally. **How to test the change?** I've tested this locally as I'm preparing to release the libdatadog gem change. I'm going to open this PR as a draft until the libdatadog gem is up on rubygems.
1 parent 8c1e731 commit 12d5c82

13 files changed

+14
-14
lines changed

datadog.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Gem::Specification.new do |spec|
6969

7070
# When updating the version here, please also update the version in `libdatadog_extconf_helpers.rb`
7171
# (and yes we have a test for it)
72-
spec.add_dependency 'libdatadog', '~> 22.0.1.1.0'
72+
spec.add_dependency 'libdatadog', '~> 23.0.0.1.0'
7373

7474
# Will no longer be a default gem on Ruby 3.5, see
7575
# https://github.com/ruby/ruby/commit/d7e558e3c48c213d0e8bedca4fb547db55613f7c and

ext/libdatadog_extconf_helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module Datadog
1010
module LibdatadogExtconfHelpers
1111
# Used to make sure the correct gem version gets loaded, as extconf.rb does not get run with "bundle exec" and thus
1212
# may see multiple libdatadog versions. See https://github.com/DataDog/dd-trace-rb/pull/2531 for the horror story.
13-
LIBDATADOG_VERSION = '~> 22.0.1.1.0'
13+
LIBDATADOG_VERSION = '~> 23.0.0.1.0'
1414

1515
# Used as an workaround for a limitation with how dynamic linking works in environments where the datadog gem and
1616
# libdatadog are moved after the extension gets compiled.

ruby-2.5.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ gem 'concurrent-ruby'
1313
# @see https://github.com/DataDog/dogstatsd-ruby/issues/182
1414
gem 'dogstatsd-ruby', '>= 3.3.0', '!= 5.0.0', '!= 5.0.1', '!= 5.1.0'
1515

16-
gem 'extlz4', '~> 0.3', '>= 0.3.3'
16+
gem 'zstd-ruby'
1717

1818
# Profiler testing dependencies
1919
# NOTE: We're excluding versions 3.7.0 and 3.7.1 for the reasons documented in #1424.

ruby-2.6.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ gem 'concurrent-ruby'
1313
# @see https://github.com/DataDog/dogstatsd-ruby/issues/182
1414
gem 'dogstatsd-ruby', '>= 3.3.0', '!= 5.0.0', '!= 5.0.1', '!= 5.1.0'
1515

16-
gem 'extlz4', '~> 0.3', '>= 0.3.3'
16+
gem 'zstd-ruby'
1717

1818
# Profiler testing dependencies
1919
# NOTE: We're excluding versions 3.7.0 and 3.7.1 for the reasons documented in #1424.

ruby-2.7.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ gem 'concurrent-ruby'
1313
# @see https://github.com/DataDog/dogstatsd-ruby/issues/182
1414
gem 'dogstatsd-ruby', '>= 3.3.0', '!= 5.0.0', '!= 5.0.1', '!= 5.1.0'
1515

16-
gem 'extlz4', '~> 0.3', '>= 0.3.3'
16+
gem 'zstd-ruby'
1717

1818
# Profiler testing dependencies
1919
# NOTE: We're excluding versions 3.7.0 and 3.7.1 for the reasons documented in #1424.

ruby-3.0.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ gem 'concurrent-ruby'
1313
# @see https://github.com/DataDog/dogstatsd-ruby/issues/182
1414
gem 'dogstatsd-ruby', '>= 3.3.0', '!= 5.0.0', '!= 5.0.1', '!= 5.1.0'
1515

16-
gem 'extlz4', '~> 0.3', '>= 0.3.3'
16+
gem 'zstd-ruby'
1717

1818
# Profiler testing dependencies
1919
# NOTE: We're excluding versions 3.7.0 and 3.7.1 for the reasons documented in #1424.

ruby-3.1.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ gem 'concurrent-ruby'
1313
# @see https://github.com/DataDog/dogstatsd-ruby/issues/182
1414
gem 'dogstatsd-ruby', '>= 3.3.0', '!= 5.0.0', '!= 5.0.1', '!= 5.1.0'
1515

16-
gem 'extlz4', '~> 0.3', '>= 0.3.3'
16+
gem 'zstd-ruby'
1717

1818
# Profiler testing dependencies
1919
# NOTE: We're excluding versions 3.7.0 and 3.7.1 for the reasons documented in #1424.

ruby-3.2.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ gem 'concurrent-ruby'
1313
# @see https://github.com/DataDog/dogstatsd-ruby/issues/182
1414
gem 'dogstatsd-ruby', '>= 3.3.0', '!= 5.0.0', '!= 5.0.1', '!= 5.1.0'
1515

16-
gem 'extlz4', '~> 0.3', '>= 0.3.3'
16+
gem 'zstd-ruby'
1717

1818
# Profiler testing dependencies
1919
# NOTE: We're excluding versions 3.7.0 and 3.7.1 for the reasons documented in #1424.

ruby-3.3.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ gem 'concurrent-ruby'
1313
# @see https://github.com/DataDog/dogstatsd-ruby/issues/182
1414
gem 'dogstatsd-ruby', '>= 3.3.0', '!= 5.0.0', '!= 5.0.1', '!= 5.1.0'
1515

16-
gem 'extlz4', '~> 0.3', '>= 0.3.3'
16+
gem 'zstd-ruby'
1717

1818
# Profiler testing dependencies
1919
# NOTE: We're excluding versions 3.7.0 and 3.7.1 for the reasons documented in #1424.

ruby-3.4.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ gem 'concurrent-ruby'
1515
# @see https://github.com/DataDog/dogstatsd-ruby/issues/182
1616
gem 'dogstatsd-ruby', '>= 3.3.0', '!= 5.0.0', '!= 5.0.1', '!= 5.1.0'
1717

18-
gem 'extlz4', '~> 0.3', '>= 0.3.3'
18+
gem 'zstd-ruby'
1919

2020
# Profiler testing dependencies
2121
# NOTE: We're excluding versions 3.7.0 and 3.7.1 for the reasons documented in #1424.

0 commit comments

Comments
 (0)