diff --git a/Appraisals b/Appraisals index 68ec3e31f6c..9ae895378f0 100644 --- a/Appraisals +++ b/Appraisals @@ -8,6 +8,16 @@ def self.gem_cucumber(version) end end +def self.apraise_opentelemetry + appraise 'opentelemetry-pre-1-0' do + gem 'opentelemetry-sdk', '< 1' + end + + appraise 'opentelemetry-1-0' do + gem 'opentelemetry-sdk', '>= 1.0.0.rc2' + end +end + if Gem::Version.new(RUBY_VERSION) < Gem::Version.new(Datadog::VERSION::MINIMUM_RUBY_VERSION) raise NotImplementedError, "Ruby versions < #{Datadog::VERSION::MINIMUM_RUBY_VERSION} are not supported!" elsif Gem::Version.new('2.1.0') <= Gem::Version.new(RUBY_VERSION) \ @@ -784,6 +794,8 @@ elsif Gem::Version.new('2.5.0') <= Gem::Version.new(RUBY_VERSION) \ gem 'resque', '>= 2.0' end + apraise_opentelemetry + (3..5).each { |v| gem_cucumber(v) } appraise 'contrib' do @@ -966,6 +978,8 @@ elsif Gem::Version.new('2.6.0') <= Gem::Version.new(RUBY_VERSION) \ gem 'resque', '>= 2.0' end + apraise_opentelemetry + (3..5).each { |v| gem_cucumber(v) } appraise 'contrib' do @@ -1149,6 +1163,8 @@ elsif Gem::Version.new('2.7.0') <= Gem::Version.new(RUBY_VERSION) \ gem 'resque', '>= 2.0' end + apraise_opentelemetry + (3..5).each { |v| gem_cucumber(v) } appraise 'contrib' do @@ -1247,6 +1263,8 @@ elsif Gem::Version.new('3.0.0') <= Gem::Version.new(RUBY_VERSION) gem 'resque', '>= 2.0' end + apraise_opentelemetry + (3..5).each { |v| gem_cucumber(v) } appraise 'contrib' do diff --git a/Gemfile b/Gemfile index b7ad45061e4..0cc1e2ce361 100644 --- a/Gemfile +++ b/Gemfile @@ -59,7 +59,6 @@ end # Optional extensions # TODO: Move this to Appraisals? gem 'dogstatsd-ruby', '< 5.0' -gem 'opentelemetry-api', '>= 0.17.0' if RUBY_VERSION >= '2.5.0' gem 'opentracing', '>= 0.4.1' # Profiler optional dependencies diff --git a/Rakefile b/Rakefile index 1bd6dbaf1b8..21fc28dce3e 100644 --- a/Rakefile +++ b/Rakefile @@ -18,7 +18,7 @@ namespace :spec do RSpec::Core::RakeTask.new(:main) do |t, args| t.pattern = 'spec/**/*_spec.rb' t.exclude_pattern = 'spec/**/{contrib,benchmark,redis,opentracer,opentelemetry,auto_instrument}/**/*_spec.rb,'\ - ' spec/**/auto_instrument_spec.rb' + ' spec/**/auto_instrument_spec.rb,spec/**/profiling/**/opentelemetry_spec.rb' t.rspec_opts = args.to_a.join(' ') end @@ -68,6 +68,11 @@ namespace :spec do t.rspec_opts = args.to_a.join(' ') end + RSpec::Core::RakeTask.new(:'profiling-opentelemetry') do |t, args| + t.pattern = 'spec/**/profiling/**/opentelemetry_spec.rb' + t.rspec_opts = args.to_a.join(' ') + end + RSpec::Core::RakeTask.new(:contrib) do |t, args| contrib_paths = [ 'analytics', @@ -628,6 +633,11 @@ task :ci do declare 'bundle exec appraisal cucumber3 rake spec:cucumber' declare 'bundle exec appraisal cucumber4 rake spec:cucumber' declare 'bundle exec appraisal cucumber5 rake spec:cucumber' + + # Profiling + declare 'bundle exec appraisal opentelemetry-pre-1-0 rake spec:profiling-opentelemetry' + declare 'bundle exec appraisal opentelemetry-1-0 rake spec:profiling-opentelemetry' + elsif Gem::Version.new('2.6.0') <= Gem::Version.new(RUBY_VERSION) \ && Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.7.0') # Main library @@ -726,6 +736,10 @@ task :ci do declare 'bundle exec appraisal cucumber3 rake spec:cucumber' declare 'bundle exec appraisal cucumber4 rake spec:cucumber' declare 'bundle exec appraisal cucumber5 rake spec:cucumber' + + # Profiling + declare 'bundle exec appraisal opentelemetry-pre-1-0 rake spec:profiling-opentelemetry' + declare 'bundle exec appraisal opentelemetry-1-0 rake spec:profiling-opentelemetry' end elsif Gem::Version.new('2.7.0') <= Gem::Version.new(RUBY_VERSION) \ && Gem::Version.new(RUBY_VERSION) < Gem::Version.new('3.0.0') @@ -824,6 +838,10 @@ task :ci do declare 'bundle exec appraisal cucumber3 rake spec:cucumber' declare 'bundle exec appraisal cucumber4 rake spec:cucumber' declare 'bundle exec appraisal cucumber5 rake spec:cucumber' + + # Profiling + declare 'bundle exec appraisal opentelemetry-pre-1-0 rake spec:profiling-opentelemetry' + declare 'bundle exec appraisal opentelemetry-1-0 rake spec:profiling-opentelemetry' end elsif Gem::Version.new('3.0.0') <= Gem::Version.new(RUBY_VERSION) # Main library @@ -898,6 +916,11 @@ task :ci do declare 'bundle exec appraisal cucumber3 rake spec:cucumber' declare 'bundle exec appraisal cucumber4 rake spec:cucumber' declare 'bundle exec appraisal cucumber5 rake spec:cucumber' + + # Profiling + declare 'bundle exec appraisal opentelemetry-pre-1-0 rake spec:profiling-opentelemetry' + declare 'bundle exec appraisal opentelemetry-1-0 rake spec:profiling-opentelemetry' + end end end diff --git a/gemfiles/jruby_9.2.0.0_opentelemetry_1_0.gemfile b/gemfiles/jruby_9.2.0.0_opentelemetry_1_0.gemfile new file mode 100644 index 00000000000..0cba89f7b08 --- /dev/null +++ b/gemfiles/jruby_9.2.0.0_opentelemetry_1_0.gemfile @@ -0,0 +1,35 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "addressable", "~> 2.4.0" +gem "appraisal", "~> 2.2" +gem "benchmark-ips", "~> 2.8" +gem "benchmark-memory", "~> 0.1" +gem "builder" +gem "climate_control", "~> 0.2.0" +gem "concurrent-ruby" +gem "memory_profiler", "~> 0.9" +gem "minitest", "= 5.10.1" +gem "minitest-around", "0.5.0" +gem "minitest-stub_any_instance", "1.0.2" +gem "pimpmychangelog", ">= 0.1.2" +gem "pry" +gem "pry-debugger-jruby" +gem "rake", ">= 10.5" +gem "rspec", "~> 3.10" +gem "rspec-collection_matchers", "~> 1.1" +gem "rspec_junit_formatter", ">= 0.4.1" +gem "rspec_n", "~> 1.3" +gem "simplecov", git: "https://github.com/DataDog/simplecov", ref: "3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db" +gem "warning", "~> 1" +gem "webmock", ">= 3.10.0" +gem "yard", "~> 0.9" +gem "rubocop", "~> 1.10", require: false +gem "rubocop-performance", "~> 1.9", require: false +gem "rubocop-rspec", "~> 2.2", require: false +gem "dogstatsd-ruby", "< 5.0" +gem "opentracing", ">= 0.4.1" +gem "opentelemetry-sdk", ">= 1.0.0.rc2" + +gemspec path: "../" diff --git a/gemfiles/jruby_9.2.0.0_opentelemetry_1_0.gemfile.lock b/gemfiles/jruby_9.2.0.0_opentelemetry_1_0.gemfile.lock new file mode 100644 index 00000000000..6d902f5b1db --- /dev/null +++ b/gemfiles/jruby_9.2.0.0_opentelemetry_1_0.gemfile.lock @@ -0,0 +1,163 @@ +GIT + remote: https://github.com/DataDog/simplecov + revision: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + ref: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + specs: + simplecov (0.21.2) + docile (~> 1.1) + simplecov-html (~> 0.11) + simplecov_json_formatter (~> 0.1) + +PATH + remote: .. + specs: + ddtrace (0.50.0) + ffi (~> 1.0) + msgpack + +GEM + remote: https://rubygems.org/ + specs: + addressable (2.4.0) + appraisal (2.4.0) + bundler + rake + thor (>= 0.14.0) + ast (2.4.2) + benchmark-ips (2.9.1) + benchmark-memory (0.1.2) + memory_profiler (~> 0.9) + builder (3.2.4) + climate_control (0.2.0) + coderay (1.1.3) + colorize (0.8.1) + concurrent-ruby (1.1.9) + crack (0.4.5) + rexml + cri (2.15.11) + diff-lcs (1.4.4) + docile (1.4.0) + dogstatsd-ruby (4.8.3) + ffi (1.15.3-java) + hashdiff (1.0.1) + memory_profiler (0.9.14) + method_source (1.0.0) + minitest (5.10.1) + minitest-around (0.5.0) + minitest (~> 5.0) + minitest-stub_any_instance (1.0.2) + msgpack (1.4.2-java) + opentelemetry-api (1.0.0.rc2) + opentelemetry-common (0.19.0) + opentelemetry-api (~> 1.0.0.rc2) + opentelemetry-instrumentation-base (0.18.1) + opentelemetry-api (~> 1.0.0.rc2) + opentelemetry-sdk (1.0.0.rc2) + opentelemetry-api (~> 1.0.0.rc2) + opentelemetry-common (~> 0.19.0) + opentelemetry-instrumentation-base (~> 0.18.1) + opentracing (0.5.0) + parallel (1.20.1) + parser (3.0.1.1) + ast (~> 2.4.1) + pimpmychangelog (0.1.3) + pry (0.13.1-java) + coderay (~> 1.1) + method_source (~> 1.0) + spoon (~> 0.0) + pry-debugger-jruby (2.0.0-java) + pry (>= 0.13, < 0.14) + ruby-debug-base (>= 0.10.4, < 0.12) + rainbow (3.0.0) + rake (13.0.3) + regexp_parser (2.1.1) + rexml (3.2.5) + rspec (3.10.0) + rspec-core (~> 3.10.0) + rspec-expectations (~> 3.10.0) + rspec-mocks (~> 3.10.0) + rspec-collection_matchers (1.2.0) + rspec-expectations (>= 2.99.0.beta1) + rspec-core (3.10.1) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-mocks (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-support (3.10.2) + rspec_junit_formatter (0.4.1) + rspec-core (>= 2, < 4, != 2.12.0) + rspec_n (1.3.0) + colorize (~> 0.8.0) + cri (~> 2.15.3) + rubocop (1.17.0) + parallel (~> 1.10) + parser (>= 3.0.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml + rubocop-ast (>= 1.7.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.7.0) + parser (>= 3.0.1.1) + rubocop-performance (1.11.3) + rubocop (>= 1.7.0, < 2.0) + rubocop-ast (>= 0.4.0) + rubocop-rspec (2.4.0) + rubocop (~> 1.0) + rubocop-ast (>= 1.1.0) + ruby-debug-base (0.11.0-java) + ruby-progressbar (1.11.0) + simplecov-html (0.12.3) + simplecov_json_formatter (0.1.3) + spoon (0.0.6) + ffi + thor (1.1.0) + unicode-display_width (2.0.0) + warning (1.2.0) + webmock (3.13.0) + addressable (>= 2.3.6) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + yard (0.9.26) + +PLATFORMS + java + +DEPENDENCIES + addressable (~> 2.4.0) + appraisal (~> 2.2) + benchmark-ips (~> 2.8) + benchmark-memory (~> 0.1) + builder + climate_control (~> 0.2.0) + concurrent-ruby + ddtrace! + dogstatsd-ruby (< 5.0) + memory_profiler (~> 0.9) + minitest (= 5.10.1) + minitest-around (= 0.5.0) + minitest-stub_any_instance (= 1.0.2) + opentelemetry-sdk (>= 1.0.0.rc2) + opentracing (>= 0.4.1) + pimpmychangelog (>= 0.1.2) + pry + pry-debugger-jruby + rake (>= 10.5) + rspec (~> 3.10) + rspec-collection_matchers (~> 1.1) + rspec_junit_formatter (>= 0.4.1) + rspec_n (~> 1.3) + rubocop (~> 1.10) + rubocop-performance (~> 1.9) + rubocop-rspec (~> 2.2) + simplecov! + warning (~> 1) + webmock (>= 3.10.0) + yard (~> 0.9) + +BUNDLED WITH + 1.17.1 diff --git a/gemfiles/jruby_9.2.0.0_opentelemetry_pre_1_0.gemfile b/gemfiles/jruby_9.2.0.0_opentelemetry_pre_1_0.gemfile new file mode 100644 index 00000000000..da6bc5b188e --- /dev/null +++ b/gemfiles/jruby_9.2.0.0_opentelemetry_pre_1_0.gemfile @@ -0,0 +1,35 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "addressable", "~> 2.4.0" +gem "appraisal", "~> 2.2" +gem "benchmark-ips", "~> 2.8" +gem "benchmark-memory", "~> 0.1" +gem "builder" +gem "climate_control", "~> 0.2.0" +gem "concurrent-ruby" +gem "memory_profiler", "~> 0.9" +gem "minitest", "= 5.10.1" +gem "minitest-around", "0.5.0" +gem "minitest-stub_any_instance", "1.0.2" +gem "pimpmychangelog", ">= 0.1.2" +gem "pry" +gem "pry-debugger-jruby" +gem "rake", ">= 10.5" +gem "rspec", "~> 3.10" +gem "rspec-collection_matchers", "~> 1.1" +gem "rspec_junit_formatter", ">= 0.4.1" +gem "rspec_n", "~> 1.3" +gem "simplecov", git: "https://github.com/DataDog/simplecov", ref: "3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db" +gem "warning", "~> 1" +gem "webmock", ">= 3.10.0" +gem "yard", "~> 0.9" +gem "rubocop", "~> 1.10", require: false +gem "rubocop-performance", "~> 1.9", require: false +gem "rubocop-rspec", "~> 2.2", require: false +gem "dogstatsd-ruby", "< 5.0" +gem "opentracing", ">= 0.4.1" +gem "opentelemetry-sdk", "< 1" + +gemspec path: "../" diff --git a/gemfiles/jruby_9.2.0.0_opentelemetry_pre_1_0.gemfile.lock b/gemfiles/jruby_9.2.0.0_opentelemetry_pre_1_0.gemfile.lock new file mode 100644 index 00000000000..083365d2f96 --- /dev/null +++ b/gemfiles/jruby_9.2.0.0_opentelemetry_pre_1_0.gemfile.lock @@ -0,0 +1,163 @@ +GIT + remote: https://github.com/DataDog/simplecov + revision: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + ref: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + specs: + simplecov (0.21.2) + docile (~> 1.1) + simplecov-html (~> 0.11) + simplecov_json_formatter (~> 0.1) + +PATH + remote: .. + specs: + ddtrace (0.50.0) + ffi (~> 1.0) + msgpack + +GEM + remote: https://rubygems.org/ + specs: + addressable (2.4.0) + appraisal (2.4.0) + bundler + rake + thor (>= 0.14.0) + ast (2.4.2) + benchmark-ips (2.9.1) + benchmark-memory (0.1.2) + memory_profiler (~> 0.9) + builder (3.2.4) + climate_control (0.2.0) + coderay (1.1.3) + colorize (0.8.1) + concurrent-ruby (1.1.9) + crack (0.4.5) + rexml + cri (2.15.11) + diff-lcs (1.4.4) + docile (1.4.0) + dogstatsd-ruby (4.8.3) + ffi (1.15.3-java) + hashdiff (1.0.1) + memory_profiler (0.9.14) + method_source (1.0.0) + minitest (5.10.1) + minitest-around (0.5.0) + minitest (~> 5.0) + minitest-stub_any_instance (1.0.2) + msgpack (1.4.2-java) + opentelemetry-api (0.17.0) + opentelemetry-common (0.17.0) + opentelemetry-api (~> 0.17.0) + opentelemetry-instrumentation-base (0.17.0) + opentelemetry-api (~> 0.17.0) + opentelemetry-sdk (0.17.0) + opentelemetry-api (~> 0.17.0) + opentelemetry-common (~> 0.17.0) + opentelemetry-instrumentation-base (~> 0.17.0) + opentracing (0.5.0) + parallel (1.20.1) + parser (3.0.1.1) + ast (~> 2.4.1) + pimpmychangelog (0.1.3) + pry (0.13.1-java) + coderay (~> 1.1) + method_source (~> 1.0) + spoon (~> 0.0) + pry-debugger-jruby (2.0.0-java) + pry (>= 0.13, < 0.14) + ruby-debug-base (>= 0.10.4, < 0.12) + rainbow (3.0.0) + rake (13.0.3) + regexp_parser (2.1.1) + rexml (3.2.5) + rspec (3.10.0) + rspec-core (~> 3.10.0) + rspec-expectations (~> 3.10.0) + rspec-mocks (~> 3.10.0) + rspec-collection_matchers (1.2.0) + rspec-expectations (>= 2.99.0.beta1) + rspec-core (3.10.1) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-mocks (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-support (3.10.2) + rspec_junit_formatter (0.4.1) + rspec-core (>= 2, < 4, != 2.12.0) + rspec_n (1.3.0) + colorize (~> 0.8.0) + cri (~> 2.15.3) + rubocop (1.17.0) + parallel (~> 1.10) + parser (>= 3.0.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml + rubocop-ast (>= 1.7.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.7.0) + parser (>= 3.0.1.1) + rubocop-performance (1.11.3) + rubocop (>= 1.7.0, < 2.0) + rubocop-ast (>= 0.4.0) + rubocop-rspec (2.4.0) + rubocop (~> 1.0) + rubocop-ast (>= 1.1.0) + ruby-debug-base (0.11.0-java) + ruby-progressbar (1.11.0) + simplecov-html (0.12.3) + simplecov_json_formatter (0.1.3) + spoon (0.0.6) + ffi + thor (1.1.0) + unicode-display_width (2.0.0) + warning (1.2.0) + webmock (3.13.0) + addressable (>= 2.3.6) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + yard (0.9.26) + +PLATFORMS + java + +DEPENDENCIES + addressable (~> 2.4.0) + appraisal (~> 2.2) + benchmark-ips (~> 2.8) + benchmark-memory (~> 0.1) + builder + climate_control (~> 0.2.0) + concurrent-ruby + ddtrace! + dogstatsd-ruby (< 5.0) + memory_profiler (~> 0.9) + minitest (= 5.10.1) + minitest-around (= 0.5.0) + minitest-stub_any_instance (= 1.0.2) + opentelemetry-sdk (< 1) + opentracing (>= 0.4.1) + pimpmychangelog (>= 0.1.2) + pry + pry-debugger-jruby + rake (>= 10.5) + rspec (~> 3.10) + rspec-collection_matchers (~> 1.1) + rspec_junit_formatter (>= 0.4.1) + rspec_n (~> 1.3) + rubocop (~> 1.10) + rubocop-performance (~> 1.9) + rubocop-rspec (~> 2.2) + simplecov! + warning (~> 1) + webmock (>= 3.10.0) + yard (~> 0.9) + +BUNDLED WITH + 1.17.1 diff --git a/gemfiles/jruby_9.2.18.0_opentelemetry_1_0.gemfile b/gemfiles/jruby_9.2.18.0_opentelemetry_1_0.gemfile new file mode 100644 index 00000000000..0cba89f7b08 --- /dev/null +++ b/gemfiles/jruby_9.2.18.0_opentelemetry_1_0.gemfile @@ -0,0 +1,35 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "addressable", "~> 2.4.0" +gem "appraisal", "~> 2.2" +gem "benchmark-ips", "~> 2.8" +gem "benchmark-memory", "~> 0.1" +gem "builder" +gem "climate_control", "~> 0.2.0" +gem "concurrent-ruby" +gem "memory_profiler", "~> 0.9" +gem "minitest", "= 5.10.1" +gem "minitest-around", "0.5.0" +gem "minitest-stub_any_instance", "1.0.2" +gem "pimpmychangelog", ">= 0.1.2" +gem "pry" +gem "pry-debugger-jruby" +gem "rake", ">= 10.5" +gem "rspec", "~> 3.10" +gem "rspec-collection_matchers", "~> 1.1" +gem "rspec_junit_formatter", ">= 0.4.1" +gem "rspec_n", "~> 1.3" +gem "simplecov", git: "https://github.com/DataDog/simplecov", ref: "3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db" +gem "warning", "~> 1" +gem "webmock", ">= 3.10.0" +gem "yard", "~> 0.9" +gem "rubocop", "~> 1.10", require: false +gem "rubocop-performance", "~> 1.9", require: false +gem "rubocop-rspec", "~> 2.2", require: false +gem "dogstatsd-ruby", "< 5.0" +gem "opentracing", ">= 0.4.1" +gem "opentelemetry-sdk", ">= 1.0.0.rc2" + +gemspec path: "../" diff --git a/gemfiles/jruby_9.2.18.0_opentelemetry_1_0.gemfile.lock b/gemfiles/jruby_9.2.18.0_opentelemetry_1_0.gemfile.lock new file mode 100644 index 00000000000..4f9ddc4b61e --- /dev/null +++ b/gemfiles/jruby_9.2.18.0_opentelemetry_1_0.gemfile.lock @@ -0,0 +1,163 @@ +GIT + remote: https://github.com/DataDog/simplecov + revision: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + ref: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + specs: + simplecov (0.21.2) + docile (~> 1.1) + simplecov-html (~> 0.11) + simplecov_json_formatter (~> 0.1) + +PATH + remote: .. + specs: + ddtrace (0.50.0) + ffi (~> 1.0) + msgpack + +GEM + remote: https://rubygems.org/ + specs: + addressable (2.4.0) + appraisal (2.4.0) + bundler + rake + thor (>= 0.14.0) + ast (2.4.2) + benchmark-ips (2.9.1) + benchmark-memory (0.1.2) + memory_profiler (~> 0.9) + builder (3.2.4) + climate_control (0.2.0) + coderay (1.1.3) + colorize (0.8.1) + concurrent-ruby (1.1.9) + crack (0.4.5) + rexml + cri (2.15.11) + diff-lcs (1.4.4) + docile (1.4.0) + dogstatsd-ruby (4.8.3) + ffi (1.15.3-java) + hashdiff (1.0.1) + memory_profiler (0.9.14) + method_source (1.0.0) + minitest (5.10.1) + minitest-around (0.5.0) + minitest (~> 5.0) + minitest-stub_any_instance (1.0.2) + msgpack (1.4.2-java) + opentelemetry-api (1.0.0.rc2) + opentelemetry-common (0.19.0) + opentelemetry-api (~> 1.0.0.rc2) + opentelemetry-instrumentation-base (0.18.1) + opentelemetry-api (~> 1.0.0.rc2) + opentelemetry-sdk (1.0.0.rc2) + opentelemetry-api (~> 1.0.0.rc2) + opentelemetry-common (~> 0.19.0) + opentelemetry-instrumentation-base (~> 0.18.1) + opentracing (0.5.0) + parallel (1.20.1) + parser (3.0.1.1) + ast (~> 2.4.1) + pimpmychangelog (0.1.3) + pry (0.13.1-java) + coderay (~> 1.1) + method_source (~> 1.0) + spoon (~> 0.0) + pry-debugger-jruby (2.0.0-java) + pry (>= 0.13, < 0.14) + ruby-debug-base (>= 0.10.4, < 0.12) + rainbow (3.0.0) + rake (13.0.3) + regexp_parser (2.1.1) + rexml (3.2.5) + rspec (3.10.0) + rspec-core (~> 3.10.0) + rspec-expectations (~> 3.10.0) + rspec-mocks (~> 3.10.0) + rspec-collection_matchers (1.2.0) + rspec-expectations (>= 2.99.0.beta1) + rspec-core (3.10.1) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-mocks (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-support (3.10.2) + rspec_junit_formatter (0.4.1) + rspec-core (>= 2, < 4, != 2.12.0) + rspec_n (1.3.0) + colorize (~> 0.8.0) + cri (~> 2.15.3) + rubocop (1.17.0) + parallel (~> 1.10) + parser (>= 3.0.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml + rubocop-ast (>= 1.7.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.7.0) + parser (>= 3.0.1.1) + rubocop-performance (1.11.3) + rubocop (>= 1.7.0, < 2.0) + rubocop-ast (>= 0.4.0) + rubocop-rspec (2.4.0) + rubocop (~> 1.0) + rubocop-ast (>= 1.1.0) + ruby-debug-base (0.11.0-java) + ruby-progressbar (1.11.0) + simplecov-html (0.12.3) + simplecov_json_formatter (0.1.3) + spoon (0.0.6) + ffi + thor (1.1.0) + unicode-display_width (2.0.0) + warning (1.2.0) + webmock (3.13.0) + addressable (>= 2.3.6) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + yard (0.9.26) + +PLATFORMS + universal-java-1.8 + +DEPENDENCIES + addressable (~> 2.4.0) + appraisal (~> 2.2) + benchmark-ips (~> 2.8) + benchmark-memory (~> 0.1) + builder + climate_control (~> 0.2.0) + concurrent-ruby + ddtrace! + dogstatsd-ruby (< 5.0) + memory_profiler (~> 0.9) + minitest (= 5.10.1) + minitest-around (= 0.5.0) + minitest-stub_any_instance (= 1.0.2) + opentelemetry-sdk (>= 1.0.0.rc2) + opentracing (>= 0.4.1) + pimpmychangelog (>= 0.1.2) + pry + pry-debugger-jruby + rake (>= 10.5) + rspec (~> 3.10) + rspec-collection_matchers (~> 1.1) + rspec_junit_formatter (>= 0.4.1) + rspec_n (~> 1.3) + rubocop (~> 1.10) + rubocop-performance (~> 1.9) + rubocop-rspec (~> 2.2) + simplecov! + warning (~> 1) + webmock (>= 3.10.0) + yard (~> 0.9) + +BUNDLED WITH + 2.2.19 diff --git a/gemfiles/jruby_9.2.18.0_opentelemetry_pre_1_0.gemfile b/gemfiles/jruby_9.2.18.0_opentelemetry_pre_1_0.gemfile new file mode 100644 index 00000000000..da6bc5b188e --- /dev/null +++ b/gemfiles/jruby_9.2.18.0_opentelemetry_pre_1_0.gemfile @@ -0,0 +1,35 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "addressable", "~> 2.4.0" +gem "appraisal", "~> 2.2" +gem "benchmark-ips", "~> 2.8" +gem "benchmark-memory", "~> 0.1" +gem "builder" +gem "climate_control", "~> 0.2.0" +gem "concurrent-ruby" +gem "memory_profiler", "~> 0.9" +gem "minitest", "= 5.10.1" +gem "minitest-around", "0.5.0" +gem "minitest-stub_any_instance", "1.0.2" +gem "pimpmychangelog", ">= 0.1.2" +gem "pry" +gem "pry-debugger-jruby" +gem "rake", ">= 10.5" +gem "rspec", "~> 3.10" +gem "rspec-collection_matchers", "~> 1.1" +gem "rspec_junit_formatter", ">= 0.4.1" +gem "rspec_n", "~> 1.3" +gem "simplecov", git: "https://github.com/DataDog/simplecov", ref: "3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db" +gem "warning", "~> 1" +gem "webmock", ">= 3.10.0" +gem "yard", "~> 0.9" +gem "rubocop", "~> 1.10", require: false +gem "rubocop-performance", "~> 1.9", require: false +gem "rubocop-rspec", "~> 2.2", require: false +gem "dogstatsd-ruby", "< 5.0" +gem "opentracing", ">= 0.4.1" +gem "opentelemetry-sdk", "< 1" + +gemspec path: "../" diff --git a/gemfiles/jruby_9.2.18.0_opentelemetry_pre_1_0.gemfile.lock b/gemfiles/jruby_9.2.18.0_opentelemetry_pre_1_0.gemfile.lock new file mode 100644 index 00000000000..1a62e8348a7 --- /dev/null +++ b/gemfiles/jruby_9.2.18.0_opentelemetry_pre_1_0.gemfile.lock @@ -0,0 +1,163 @@ +GIT + remote: https://github.com/DataDog/simplecov + revision: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + ref: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + specs: + simplecov (0.21.2) + docile (~> 1.1) + simplecov-html (~> 0.11) + simplecov_json_formatter (~> 0.1) + +PATH + remote: .. + specs: + ddtrace (0.50.0) + ffi (~> 1.0) + msgpack + +GEM + remote: https://rubygems.org/ + specs: + addressable (2.4.0) + appraisal (2.4.0) + bundler + rake + thor (>= 0.14.0) + ast (2.4.2) + benchmark-ips (2.9.1) + benchmark-memory (0.1.2) + memory_profiler (~> 0.9) + builder (3.2.4) + climate_control (0.2.0) + coderay (1.1.3) + colorize (0.8.1) + concurrent-ruby (1.1.9) + crack (0.4.5) + rexml + cri (2.15.11) + diff-lcs (1.4.4) + docile (1.4.0) + dogstatsd-ruby (4.8.3) + ffi (1.15.3-java) + hashdiff (1.0.1) + memory_profiler (0.9.14) + method_source (1.0.0) + minitest (5.10.1) + minitest-around (0.5.0) + minitest (~> 5.0) + minitest-stub_any_instance (1.0.2) + msgpack (1.4.2-java) + opentelemetry-api (0.17.0) + opentelemetry-common (0.17.0) + opentelemetry-api (~> 0.17.0) + opentelemetry-instrumentation-base (0.17.0) + opentelemetry-api (~> 0.17.0) + opentelemetry-sdk (0.17.0) + opentelemetry-api (~> 0.17.0) + opentelemetry-common (~> 0.17.0) + opentelemetry-instrumentation-base (~> 0.17.0) + opentracing (0.5.0) + parallel (1.20.1) + parser (3.0.1.1) + ast (~> 2.4.1) + pimpmychangelog (0.1.3) + pry (0.13.1-java) + coderay (~> 1.1) + method_source (~> 1.0) + spoon (~> 0.0) + pry-debugger-jruby (2.0.0-java) + pry (>= 0.13, < 0.14) + ruby-debug-base (>= 0.10.4, < 0.12) + rainbow (3.0.0) + rake (13.0.3) + regexp_parser (2.1.1) + rexml (3.2.5) + rspec (3.10.0) + rspec-core (~> 3.10.0) + rspec-expectations (~> 3.10.0) + rspec-mocks (~> 3.10.0) + rspec-collection_matchers (1.2.0) + rspec-expectations (>= 2.99.0.beta1) + rspec-core (3.10.1) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-mocks (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-support (3.10.2) + rspec_junit_formatter (0.4.1) + rspec-core (>= 2, < 4, != 2.12.0) + rspec_n (1.3.0) + colorize (~> 0.8.0) + cri (~> 2.15.3) + rubocop (1.17.0) + parallel (~> 1.10) + parser (>= 3.0.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml + rubocop-ast (>= 1.7.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.7.0) + parser (>= 3.0.1.1) + rubocop-performance (1.11.3) + rubocop (>= 1.7.0, < 2.0) + rubocop-ast (>= 0.4.0) + rubocop-rspec (2.4.0) + rubocop (~> 1.0) + rubocop-ast (>= 1.1.0) + ruby-debug-base (0.11.0-java) + ruby-progressbar (1.11.0) + simplecov-html (0.12.3) + simplecov_json_formatter (0.1.3) + spoon (0.0.6) + ffi + thor (1.1.0) + unicode-display_width (2.0.0) + warning (1.2.0) + webmock (3.13.0) + addressable (>= 2.3.6) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + yard (0.9.26) + +PLATFORMS + universal-java-1.8 + +DEPENDENCIES + addressable (~> 2.4.0) + appraisal (~> 2.2) + benchmark-ips (~> 2.8) + benchmark-memory (~> 0.1) + builder + climate_control (~> 0.2.0) + concurrent-ruby + ddtrace! + dogstatsd-ruby (< 5.0) + memory_profiler (~> 0.9) + minitest (= 5.10.1) + minitest-around (= 0.5.0) + minitest-stub_any_instance (= 1.0.2) + opentelemetry-sdk (< 1) + opentracing (>= 0.4.1) + pimpmychangelog (>= 0.1.2) + pry + pry-debugger-jruby + rake (>= 10.5) + rspec (~> 3.10) + rspec-collection_matchers (~> 1.1) + rspec_junit_formatter (>= 0.4.1) + rspec_n (~> 1.3) + rubocop (~> 1.10) + rubocop-performance (~> 1.9) + rubocop-rspec (~> 2.2) + simplecov! + warning (~> 1) + webmock (>= 3.10.0) + yard (~> 0.9) + +BUNDLED WITH + 2.2.19 diff --git a/gemfiles/ruby_2.5.9_opentelemetry_1_0.gemfile b/gemfiles/ruby_2.5.9_opentelemetry_1_0.gemfile new file mode 100644 index 00000000000..4702f8bee7c --- /dev/null +++ b/gemfiles/ruby_2.5.9_opentelemetry_1_0.gemfile @@ -0,0 +1,39 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "addressable", "~> 2.4.0" +gem "appraisal", "~> 2.2" +gem "benchmark-ips", "~> 2.8" +gem "benchmark-memory", "~> 0.1" +gem "builder" +gem "climate_control", "~> 0.2.0" +gem "concurrent-ruby" +gem "memory_profiler", "~> 0.9" +gem "minitest", "= 5.10.1" +gem "minitest-around", "0.5.0" +gem "minitest-stub_any_instance", "1.0.2" +gem "pimpmychangelog", ">= 0.1.2" +gem "pry" +gem "pry-nav" +gem "pry-stack_explorer" +gem "rake", ">= 10.5" +gem "redcarpet", "~> 3.4" +gem "rspec", "~> 3.10" +gem "rspec-collection_matchers", "~> 1.1" +gem "rspec_junit_formatter", ">= 0.4.1" +gem "rspec_n", "~> 1.3" +gem "ruby-prof", "~> 1.4" +gem "simplecov", git: "https://github.com/DataDog/simplecov", ref: "3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db" +gem "warning", "~> 1" +gem "webmock", ">= 3.10.0" +gem "yard", "~> 0.9" +gem "rubocop", "~> 1.10", require: false +gem "rubocop-performance", "~> 1.9", require: false +gem "rubocop-rspec", "~> 2.2", require: false +gem "dogstatsd-ruby", "< 5.0" +gem "opentracing", ">= 0.4.1" +gem "google-protobuf", ["~> 3.0", "!= 3.7.0", "!= 3.7.1"] +gem "opentelemetry-sdk", ">= 1.0.0.rc2" + +gemspec path: "../" diff --git a/gemfiles/ruby_2.5.9_opentelemetry_1_0.gemfile.lock b/gemfiles/ruby_2.5.9_opentelemetry_1_0.gemfile.lock new file mode 100644 index 00000000000..fe4e30f2f44 --- /dev/null +++ b/gemfiles/ruby_2.5.9_opentelemetry_1_0.gemfile.lock @@ -0,0 +1,171 @@ +GIT + remote: https://github.com/DataDog/simplecov + revision: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + ref: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + specs: + simplecov (0.21.2) + docile (~> 1.1) + simplecov-html (~> 0.11) + simplecov_json_formatter (~> 0.1) + +PATH + remote: .. + specs: + ddtrace (0.50.0) + ffi (~> 1.0) + msgpack + +GEM + remote: https://rubygems.org/ + specs: + addressable (2.4.0) + appraisal (2.4.0) + bundler + rake + thor (>= 0.14.0) + ast (2.4.2) + benchmark-ips (2.9.1) + benchmark-memory (0.1.2) + memory_profiler (~> 0.9) + binding_of_caller (1.0.0) + debug_inspector (>= 0.0.1) + builder (3.2.4) + climate_control (0.2.0) + coderay (1.1.3) + colorize (0.8.1) + concurrent-ruby (1.1.9) + crack (0.4.5) + rexml + cri (2.15.11) + debug_inspector (1.1.0) + diff-lcs (1.4.4) + docile (1.4.0) + dogstatsd-ruby (4.8.3) + ffi (1.15.3) + google-protobuf (3.17.3-x86_64-linux) + hashdiff (1.0.1) + memory_profiler (0.9.14) + method_source (0.9.2) + minitest (5.10.1) + minitest-around (0.5.0) + minitest (~> 5.0) + minitest-stub_any_instance (1.0.2) + msgpack (1.4.2) + opentelemetry-api (1.0.0.rc2) + opentelemetry-common (0.19.0) + opentelemetry-api (~> 1.0.0.rc2) + opentelemetry-instrumentation-base (0.18.1) + opentelemetry-api (~> 1.0.0.rc2) + opentelemetry-sdk (1.0.0.rc2) + opentelemetry-api (~> 1.0.0.rc2) + opentelemetry-common (~> 0.19.0) + opentelemetry-instrumentation-base (~> 0.18.1) + opentracing (0.5.0) + parallel (1.20.1) + parser (3.0.1.1) + ast (~> 2.4.1) + pimpmychangelog (0.1.3) + pry (0.12.2) + coderay (~> 1.1.0) + method_source (~> 0.9.0) + pry-nav (0.3.0) + pry (>= 0.9.10, < 0.13.0) + pry-stack_explorer (0.4.9.3) + binding_of_caller (>= 0.7) + pry (>= 0.9.11) + rainbow (3.0.0) + rake (13.0.3) + redcarpet (3.5.1) + regexp_parser (2.1.1) + rexml (3.2.5) + rspec (3.10.0) + rspec-core (~> 3.10.0) + rspec-expectations (~> 3.10.0) + rspec-mocks (~> 3.10.0) + rspec-collection_matchers (1.2.0) + rspec-expectations (>= 2.99.0.beta1) + rspec-core (3.10.1) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-mocks (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-support (3.10.2) + rspec_junit_formatter (0.4.1) + rspec-core (>= 2, < 4, != 2.12.0) + rspec_n (1.3.0) + colorize (~> 0.8.0) + cri (~> 2.15.3) + rubocop (1.17.0) + parallel (~> 1.10) + parser (>= 3.0.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml + rubocop-ast (>= 1.7.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.7.0) + parser (>= 3.0.1.1) + rubocop-performance (1.11.3) + rubocop (>= 1.7.0, < 2.0) + rubocop-ast (>= 0.4.0) + rubocop-rspec (2.4.0) + rubocop (~> 1.0) + rubocop-ast (>= 1.1.0) + ruby-prof (1.4.3) + ruby-progressbar (1.11.0) + simplecov-html (0.12.3) + simplecov_json_formatter (0.1.3) + thor (1.1.0) + unicode-display_width (2.0.0) + warning (1.2.0) + webmock (3.13.0) + addressable (>= 2.3.6) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + yard (0.9.26) + +PLATFORMS + x86_64-linux + +DEPENDENCIES + addressable (~> 2.4.0) + appraisal (~> 2.2) + benchmark-ips (~> 2.8) + benchmark-memory (~> 0.1) + builder + climate_control (~> 0.2.0) + concurrent-ruby + ddtrace! + dogstatsd-ruby (< 5.0) + google-protobuf (~> 3.0, != 3.7.1, != 3.7.0) + memory_profiler (~> 0.9) + minitest (= 5.10.1) + minitest-around (= 0.5.0) + minitest-stub_any_instance (= 1.0.2) + opentelemetry-sdk (>= 1.0.0.rc2) + opentracing (>= 0.4.1) + pimpmychangelog (>= 0.1.2) + pry + pry-nav + pry-stack_explorer + rake (>= 10.5) + redcarpet (~> 3.4) + rspec (~> 3.10) + rspec-collection_matchers (~> 1.1) + rspec_junit_formatter (>= 0.4.1) + rspec_n (~> 1.3) + rubocop (~> 1.10) + rubocop-performance (~> 1.9) + rubocop-rspec (~> 2.2) + ruby-prof (~> 1.4) + simplecov! + warning (~> 1) + webmock (>= 3.10.0) + yard (~> 0.9) + +BUNDLED WITH + 2.2.19 diff --git a/gemfiles/ruby_2.5.9_opentelemetry_pre_1_0.gemfile b/gemfiles/ruby_2.5.9_opentelemetry_pre_1_0.gemfile new file mode 100644 index 00000000000..20b02179e47 --- /dev/null +++ b/gemfiles/ruby_2.5.9_opentelemetry_pre_1_0.gemfile @@ -0,0 +1,39 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "addressable", "~> 2.4.0" +gem "appraisal", "~> 2.2" +gem "benchmark-ips", "~> 2.8" +gem "benchmark-memory", "~> 0.1" +gem "builder" +gem "climate_control", "~> 0.2.0" +gem "concurrent-ruby" +gem "memory_profiler", "~> 0.9" +gem "minitest", "= 5.10.1" +gem "minitest-around", "0.5.0" +gem "minitest-stub_any_instance", "1.0.2" +gem "pimpmychangelog", ">= 0.1.2" +gem "pry" +gem "pry-nav" +gem "pry-stack_explorer" +gem "rake", ">= 10.5" +gem "redcarpet", "~> 3.4" +gem "rspec", "~> 3.10" +gem "rspec-collection_matchers", "~> 1.1" +gem "rspec_junit_formatter", ">= 0.4.1" +gem "rspec_n", "~> 1.3" +gem "ruby-prof", "~> 1.4" +gem "simplecov", git: "https://github.com/DataDog/simplecov", ref: "3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db" +gem "warning", "~> 1" +gem "webmock", ">= 3.10.0" +gem "yard", "~> 0.9" +gem "rubocop", "~> 1.10", require: false +gem "rubocop-performance", "~> 1.9", require: false +gem "rubocop-rspec", "~> 2.2", require: false +gem "dogstatsd-ruby", "< 5.0" +gem "opentracing", ">= 0.4.1" +gem "google-protobuf", ["~> 3.0", "!= 3.7.0", "!= 3.7.1"] +gem "opentelemetry-sdk", "< 1" + +gemspec path: "../" diff --git a/gemfiles/ruby_2.5.9_opentelemetry_pre_1_0.gemfile.lock b/gemfiles/ruby_2.5.9_opentelemetry_pre_1_0.gemfile.lock new file mode 100644 index 00000000000..204b1f6971b --- /dev/null +++ b/gemfiles/ruby_2.5.9_opentelemetry_pre_1_0.gemfile.lock @@ -0,0 +1,171 @@ +GIT + remote: https://github.com/DataDog/simplecov + revision: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + ref: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + specs: + simplecov (0.21.2) + docile (~> 1.1) + simplecov-html (~> 0.11) + simplecov_json_formatter (~> 0.1) + +PATH + remote: .. + specs: + ddtrace (0.50.0) + ffi (~> 1.0) + msgpack + +GEM + remote: https://rubygems.org/ + specs: + addressable (2.4.0) + appraisal (2.4.0) + bundler + rake + thor (>= 0.14.0) + ast (2.4.2) + benchmark-ips (2.9.1) + benchmark-memory (0.1.2) + memory_profiler (~> 0.9) + binding_of_caller (1.0.0) + debug_inspector (>= 0.0.1) + builder (3.2.4) + climate_control (0.2.0) + coderay (1.1.3) + colorize (0.8.1) + concurrent-ruby (1.1.9) + crack (0.4.5) + rexml + cri (2.15.11) + debug_inspector (1.1.0) + diff-lcs (1.4.4) + docile (1.4.0) + dogstatsd-ruby (4.8.3) + ffi (1.15.3) + google-protobuf (3.17.3-x86_64-linux) + hashdiff (1.0.1) + memory_profiler (0.9.14) + method_source (0.9.2) + minitest (5.10.1) + minitest-around (0.5.0) + minitest (~> 5.0) + minitest-stub_any_instance (1.0.2) + msgpack (1.4.2) + opentelemetry-api (0.17.0) + opentelemetry-common (0.17.0) + opentelemetry-api (~> 0.17.0) + opentelemetry-instrumentation-base (0.17.0) + opentelemetry-api (~> 0.17.0) + opentelemetry-sdk (0.17.0) + opentelemetry-api (~> 0.17.0) + opentelemetry-common (~> 0.17.0) + opentelemetry-instrumentation-base (~> 0.17.0) + opentracing (0.5.0) + parallel (1.20.1) + parser (3.0.1.1) + ast (~> 2.4.1) + pimpmychangelog (0.1.3) + pry (0.12.2) + coderay (~> 1.1.0) + method_source (~> 0.9.0) + pry-nav (0.3.0) + pry (>= 0.9.10, < 0.13.0) + pry-stack_explorer (0.4.9.3) + binding_of_caller (>= 0.7) + pry (>= 0.9.11) + rainbow (3.0.0) + rake (13.0.3) + redcarpet (3.5.1) + regexp_parser (2.1.1) + rexml (3.2.5) + rspec (3.10.0) + rspec-core (~> 3.10.0) + rspec-expectations (~> 3.10.0) + rspec-mocks (~> 3.10.0) + rspec-collection_matchers (1.2.0) + rspec-expectations (>= 2.99.0.beta1) + rspec-core (3.10.1) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-mocks (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-support (3.10.2) + rspec_junit_formatter (0.4.1) + rspec-core (>= 2, < 4, != 2.12.0) + rspec_n (1.3.0) + colorize (~> 0.8.0) + cri (~> 2.15.3) + rubocop (1.17.0) + parallel (~> 1.10) + parser (>= 3.0.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml + rubocop-ast (>= 1.7.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.7.0) + parser (>= 3.0.1.1) + rubocop-performance (1.11.3) + rubocop (>= 1.7.0, < 2.0) + rubocop-ast (>= 0.4.0) + rubocop-rspec (2.4.0) + rubocop (~> 1.0) + rubocop-ast (>= 1.1.0) + ruby-prof (1.4.3) + ruby-progressbar (1.11.0) + simplecov-html (0.12.3) + simplecov_json_formatter (0.1.3) + thor (1.1.0) + unicode-display_width (2.0.0) + warning (1.2.0) + webmock (3.13.0) + addressable (>= 2.3.6) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + yard (0.9.26) + +PLATFORMS + x86_64-linux + +DEPENDENCIES + addressable (~> 2.4.0) + appraisal (~> 2.2) + benchmark-ips (~> 2.8) + benchmark-memory (~> 0.1) + builder + climate_control (~> 0.2.0) + concurrent-ruby + ddtrace! + dogstatsd-ruby (< 5.0) + google-protobuf (~> 3.0, != 3.7.1, != 3.7.0) + memory_profiler (~> 0.9) + minitest (= 5.10.1) + minitest-around (= 0.5.0) + minitest-stub_any_instance (= 1.0.2) + opentelemetry-sdk (< 1) + opentracing (>= 0.4.1) + pimpmychangelog (>= 0.1.2) + pry + pry-nav + pry-stack_explorer + rake (>= 10.5) + redcarpet (~> 3.4) + rspec (~> 3.10) + rspec-collection_matchers (~> 1.1) + rspec_junit_formatter (>= 0.4.1) + rspec_n (~> 1.3) + rubocop (~> 1.10) + rubocop-performance (~> 1.9) + rubocop-rspec (~> 2.2) + ruby-prof (~> 1.4) + simplecov! + warning (~> 1) + webmock (>= 3.10.0) + yard (~> 0.9) + +BUNDLED WITH + 2.2.19 diff --git a/gemfiles/ruby_2.6.7_opentelemetry_1_0.gemfile b/gemfiles/ruby_2.6.7_opentelemetry_1_0.gemfile new file mode 100644 index 00000000000..e22eecddc4a --- /dev/null +++ b/gemfiles/ruby_2.6.7_opentelemetry_1_0.gemfile @@ -0,0 +1,39 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "addressable", "~> 2.4.0" +gem "appraisal", "~> 2.2" +gem "benchmark-ips", "~> 2.8" +gem "benchmark-memory", "~> 0.1" +gem "builder" +gem "climate_control", "~> 0.2.0" +gem "concurrent-ruby" +gem "memory_profiler", "~> 0.9" +gem "minitest", "= 5.10.1" +gem "minitest-around", "0.5.0" +gem "minitest-stub_any_instance", "1.0.2" +gem "pimpmychangelog", ">= 0.1.2" +gem "pry" +gem "pry-byebug" +gem "pry-stack_explorer" +gem "rake", ">= 10.5" +gem "redcarpet", "~> 3.4" +gem "rspec", "~> 3.10" +gem "rspec-collection_matchers", "~> 1.1" +gem "rspec_junit_formatter", ">= 0.4.1" +gem "rspec_n", "~> 1.3" +gem "ruby-prof", "~> 1.4" +gem "simplecov", git: "https://github.com/DataDog/simplecov", ref: "3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db" +gem "warning", "~> 1" +gem "webmock", ">= 3.10.0" +gem "yard", "~> 0.9" +gem "rubocop", "~> 1.10", require: false +gem "rubocop-performance", "~> 1.9", require: false +gem "rubocop-rspec", "~> 2.2", require: false +gem "dogstatsd-ruby", "< 5.0" +gem "opentracing", ">= 0.4.1" +gem "google-protobuf", ["~> 3.0", "!= 3.7.0", "!= 3.7.1"] +gem "opentelemetry-sdk", ">= 1.0.0.rc2" + +gemspec path: "../" diff --git a/gemfiles/ruby_2.6.7_opentelemetry_1_0.gemfile.lock b/gemfiles/ruby_2.6.7_opentelemetry_1_0.gemfile.lock new file mode 100644 index 00000000000..de86d55c187 --- /dev/null +++ b/gemfiles/ruby_2.6.7_opentelemetry_1_0.gemfile.lock @@ -0,0 +1,173 @@ +GIT + remote: https://github.com/DataDog/simplecov + revision: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + ref: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + specs: + simplecov (0.21.2) + docile (~> 1.1) + simplecov-html (~> 0.11) + simplecov_json_formatter (~> 0.1) + +PATH + remote: .. + specs: + ddtrace (0.50.0) + ffi (~> 1.0) + msgpack + +GEM + remote: https://rubygems.org/ + specs: + addressable (2.4.0) + appraisal (2.4.0) + bundler + rake + thor (>= 0.14.0) + ast (2.4.2) + benchmark-ips (2.9.1) + benchmark-memory (0.1.2) + memory_profiler (~> 0.9) + binding_of_caller (1.0.0) + debug_inspector (>= 0.0.1) + builder (3.2.4) + byebug (11.1.3) + climate_control (0.2.0) + coderay (1.1.3) + colorize (0.8.1) + concurrent-ruby (1.1.9) + crack (0.4.5) + rexml + cri (2.15.11) + debug_inspector (1.1.0) + diff-lcs (1.4.4) + docile (1.4.0) + dogstatsd-ruby (4.8.3) + ffi (1.15.3) + google-protobuf (3.17.3-x86_64-linux) + hashdiff (1.0.1) + memory_profiler (0.9.14) + method_source (1.0.0) + minitest (5.10.1) + minitest-around (0.5.0) + minitest (~> 5.0) + minitest-stub_any_instance (1.0.2) + msgpack (1.4.2) + opentelemetry-api (1.0.0.rc2) + opentelemetry-common (0.19.0) + opentelemetry-api (~> 1.0.0.rc2) + opentelemetry-instrumentation-base (0.18.1) + opentelemetry-api (~> 1.0.0.rc2) + opentelemetry-sdk (1.0.0.rc2) + opentelemetry-api (~> 1.0.0.rc2) + opentelemetry-common (~> 0.19.0) + opentelemetry-instrumentation-base (~> 0.18.1) + opentracing (0.5.0) + parallel (1.20.1) + parser (3.0.1.1) + ast (~> 2.4.1) + pimpmychangelog (0.1.3) + pry (0.14.1) + coderay (~> 1.1) + method_source (~> 1.0) + pry-byebug (3.8.0) + byebug (~> 11.0) + pry (~> 0.10) + pry-stack_explorer (0.6.1) + binding_of_caller (~> 1.0) + pry (~> 0.13) + rainbow (3.0.0) + rake (13.0.3) + redcarpet (3.5.1) + regexp_parser (2.1.1) + rexml (3.2.5) + rspec (3.10.0) + rspec-core (~> 3.10.0) + rspec-expectations (~> 3.10.0) + rspec-mocks (~> 3.10.0) + rspec-collection_matchers (1.2.0) + rspec-expectations (>= 2.99.0.beta1) + rspec-core (3.10.1) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-mocks (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-support (3.10.2) + rspec_junit_formatter (0.4.1) + rspec-core (>= 2, < 4, != 2.12.0) + rspec_n (1.4.0) + colorize (~> 0.8.0) + cri (~> 2.15.3) + rubocop (1.17.0) + parallel (~> 1.10) + parser (>= 3.0.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml + rubocop-ast (>= 1.7.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.7.0) + parser (>= 3.0.1.1) + rubocop-performance (1.11.3) + rubocop (>= 1.7.0, < 2.0) + rubocop-ast (>= 0.4.0) + rubocop-rspec (2.4.0) + rubocop (~> 1.0) + rubocop-ast (>= 1.1.0) + ruby-prof (1.4.3) + ruby-progressbar (1.11.0) + simplecov-html (0.12.3) + simplecov_json_formatter (0.1.3) + thor (1.1.0) + unicode-display_width (2.0.0) + warning (1.2.0) + webmock (3.13.0) + addressable (>= 2.3.6) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + yard (0.9.26) + +PLATFORMS + x86_64-linux + +DEPENDENCIES + addressable (~> 2.4.0) + appraisal (~> 2.2) + benchmark-ips (~> 2.8) + benchmark-memory (~> 0.1) + builder + climate_control (~> 0.2.0) + concurrent-ruby + ddtrace! + dogstatsd-ruby (< 5.0) + google-protobuf (~> 3.0, != 3.7.1, != 3.7.0) + memory_profiler (~> 0.9) + minitest (= 5.10.1) + minitest-around (= 0.5.0) + minitest-stub_any_instance (= 1.0.2) + opentelemetry-sdk (>= 1.0.0.rc2) + opentracing (>= 0.4.1) + pimpmychangelog (>= 0.1.2) + pry + pry-byebug + pry-stack_explorer + rake (>= 10.5) + redcarpet (~> 3.4) + rspec (~> 3.10) + rspec-collection_matchers (~> 1.1) + rspec_junit_formatter (>= 0.4.1) + rspec_n (~> 1.3) + rubocop (~> 1.10) + rubocop-performance (~> 1.9) + rubocop-rspec (~> 2.2) + ruby-prof (~> 1.4) + simplecov! + warning (~> 1) + webmock (>= 3.10.0) + yard (~> 0.9) + +BUNDLED WITH + 2.2.19 diff --git a/gemfiles/ruby_2.6.7_opentelemetry_pre_1_0.gemfile b/gemfiles/ruby_2.6.7_opentelemetry_pre_1_0.gemfile new file mode 100644 index 00000000000..3505ffe3d97 --- /dev/null +++ b/gemfiles/ruby_2.6.7_opentelemetry_pre_1_0.gemfile @@ -0,0 +1,39 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "addressable", "~> 2.4.0" +gem "appraisal", "~> 2.2" +gem "benchmark-ips", "~> 2.8" +gem "benchmark-memory", "~> 0.1" +gem "builder" +gem "climate_control", "~> 0.2.0" +gem "concurrent-ruby" +gem "memory_profiler", "~> 0.9" +gem "minitest", "= 5.10.1" +gem "minitest-around", "0.5.0" +gem "minitest-stub_any_instance", "1.0.2" +gem "pimpmychangelog", ">= 0.1.2" +gem "pry" +gem "pry-byebug" +gem "pry-stack_explorer" +gem "rake", ">= 10.5" +gem "redcarpet", "~> 3.4" +gem "rspec", "~> 3.10" +gem "rspec-collection_matchers", "~> 1.1" +gem "rspec_junit_formatter", ">= 0.4.1" +gem "rspec_n", "~> 1.3" +gem "ruby-prof", "~> 1.4" +gem "simplecov", git: "https://github.com/DataDog/simplecov", ref: "3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db" +gem "warning", "~> 1" +gem "webmock", ">= 3.10.0" +gem "yard", "~> 0.9" +gem "rubocop", "~> 1.10", require: false +gem "rubocop-performance", "~> 1.9", require: false +gem "rubocop-rspec", "~> 2.2", require: false +gem "dogstatsd-ruby", "< 5.0" +gem "opentracing", ">= 0.4.1" +gem "google-protobuf", ["~> 3.0", "!= 3.7.0", "!= 3.7.1"] +gem "opentelemetry-sdk", "< 1" + +gemspec path: "../" diff --git a/gemfiles/ruby_2.6.7_opentelemetry_pre_1_0.gemfile.lock b/gemfiles/ruby_2.6.7_opentelemetry_pre_1_0.gemfile.lock new file mode 100644 index 00000000000..62edf0480a8 --- /dev/null +++ b/gemfiles/ruby_2.6.7_opentelemetry_pre_1_0.gemfile.lock @@ -0,0 +1,173 @@ +GIT + remote: https://github.com/DataDog/simplecov + revision: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + ref: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + specs: + simplecov (0.21.2) + docile (~> 1.1) + simplecov-html (~> 0.11) + simplecov_json_formatter (~> 0.1) + +PATH + remote: .. + specs: + ddtrace (0.50.0) + ffi (~> 1.0) + msgpack + +GEM + remote: https://rubygems.org/ + specs: + addressable (2.4.0) + appraisal (2.4.0) + bundler + rake + thor (>= 0.14.0) + ast (2.4.2) + benchmark-ips (2.9.1) + benchmark-memory (0.1.2) + memory_profiler (~> 0.9) + binding_of_caller (1.0.0) + debug_inspector (>= 0.0.1) + builder (3.2.4) + byebug (11.1.3) + climate_control (0.2.0) + coderay (1.1.3) + colorize (0.8.1) + concurrent-ruby (1.1.9) + crack (0.4.5) + rexml + cri (2.15.11) + debug_inspector (1.1.0) + diff-lcs (1.4.4) + docile (1.4.0) + dogstatsd-ruby (4.8.3) + ffi (1.15.3) + google-protobuf (3.17.3-x86_64-linux) + hashdiff (1.0.1) + memory_profiler (0.9.14) + method_source (1.0.0) + minitest (5.10.1) + minitest-around (0.5.0) + minitest (~> 5.0) + minitest-stub_any_instance (1.0.2) + msgpack (1.4.2) + opentelemetry-api (0.17.0) + opentelemetry-common (0.17.0) + opentelemetry-api (~> 0.17.0) + opentelemetry-instrumentation-base (0.17.0) + opentelemetry-api (~> 0.17.0) + opentelemetry-sdk (0.17.0) + opentelemetry-api (~> 0.17.0) + opentelemetry-common (~> 0.17.0) + opentelemetry-instrumentation-base (~> 0.17.0) + opentracing (0.5.0) + parallel (1.20.1) + parser (3.0.1.1) + ast (~> 2.4.1) + pimpmychangelog (0.1.3) + pry (0.14.1) + coderay (~> 1.1) + method_source (~> 1.0) + pry-byebug (3.8.0) + byebug (~> 11.0) + pry (~> 0.10) + pry-stack_explorer (0.6.1) + binding_of_caller (~> 1.0) + pry (~> 0.13) + rainbow (3.0.0) + rake (13.0.3) + redcarpet (3.5.1) + regexp_parser (2.1.1) + rexml (3.2.5) + rspec (3.10.0) + rspec-core (~> 3.10.0) + rspec-expectations (~> 3.10.0) + rspec-mocks (~> 3.10.0) + rspec-collection_matchers (1.2.0) + rspec-expectations (>= 2.99.0.beta1) + rspec-core (3.10.1) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-mocks (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-support (3.10.2) + rspec_junit_formatter (0.4.1) + rspec-core (>= 2, < 4, != 2.12.0) + rspec_n (1.4.0) + colorize (~> 0.8.0) + cri (~> 2.15.3) + rubocop (1.17.0) + parallel (~> 1.10) + parser (>= 3.0.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml + rubocop-ast (>= 1.7.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.7.0) + parser (>= 3.0.1.1) + rubocop-performance (1.11.3) + rubocop (>= 1.7.0, < 2.0) + rubocop-ast (>= 0.4.0) + rubocop-rspec (2.4.0) + rubocop (~> 1.0) + rubocop-ast (>= 1.1.0) + ruby-prof (1.4.3) + ruby-progressbar (1.11.0) + simplecov-html (0.12.3) + simplecov_json_formatter (0.1.3) + thor (1.1.0) + unicode-display_width (2.0.0) + warning (1.2.0) + webmock (3.13.0) + addressable (>= 2.3.6) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + yard (0.9.26) + +PLATFORMS + x86_64-linux + +DEPENDENCIES + addressable (~> 2.4.0) + appraisal (~> 2.2) + benchmark-ips (~> 2.8) + benchmark-memory (~> 0.1) + builder + climate_control (~> 0.2.0) + concurrent-ruby + ddtrace! + dogstatsd-ruby (< 5.0) + google-protobuf (~> 3.0, != 3.7.1, != 3.7.0) + memory_profiler (~> 0.9) + minitest (= 5.10.1) + minitest-around (= 0.5.0) + minitest-stub_any_instance (= 1.0.2) + opentelemetry-sdk (< 1) + opentracing (>= 0.4.1) + pimpmychangelog (>= 0.1.2) + pry + pry-byebug + pry-stack_explorer + rake (>= 10.5) + redcarpet (~> 3.4) + rspec (~> 3.10) + rspec-collection_matchers (~> 1.1) + rspec_junit_formatter (>= 0.4.1) + rspec_n (~> 1.3) + rubocop (~> 1.10) + rubocop-performance (~> 1.9) + rubocop-rspec (~> 2.2) + ruby-prof (~> 1.4) + simplecov! + warning (~> 1) + webmock (>= 3.10.0) + yard (~> 0.9) + +BUNDLED WITH + 2.2.19 diff --git a/gemfiles/ruby_2.7.3_opentelemetry_1_0.gemfile b/gemfiles/ruby_2.7.3_opentelemetry_1_0.gemfile new file mode 100644 index 00000000000..e22eecddc4a --- /dev/null +++ b/gemfiles/ruby_2.7.3_opentelemetry_1_0.gemfile @@ -0,0 +1,39 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "addressable", "~> 2.4.0" +gem "appraisal", "~> 2.2" +gem "benchmark-ips", "~> 2.8" +gem "benchmark-memory", "~> 0.1" +gem "builder" +gem "climate_control", "~> 0.2.0" +gem "concurrent-ruby" +gem "memory_profiler", "~> 0.9" +gem "minitest", "= 5.10.1" +gem "minitest-around", "0.5.0" +gem "minitest-stub_any_instance", "1.0.2" +gem "pimpmychangelog", ">= 0.1.2" +gem "pry" +gem "pry-byebug" +gem "pry-stack_explorer" +gem "rake", ">= 10.5" +gem "redcarpet", "~> 3.4" +gem "rspec", "~> 3.10" +gem "rspec-collection_matchers", "~> 1.1" +gem "rspec_junit_formatter", ">= 0.4.1" +gem "rspec_n", "~> 1.3" +gem "ruby-prof", "~> 1.4" +gem "simplecov", git: "https://github.com/DataDog/simplecov", ref: "3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db" +gem "warning", "~> 1" +gem "webmock", ">= 3.10.0" +gem "yard", "~> 0.9" +gem "rubocop", "~> 1.10", require: false +gem "rubocop-performance", "~> 1.9", require: false +gem "rubocop-rspec", "~> 2.2", require: false +gem "dogstatsd-ruby", "< 5.0" +gem "opentracing", ">= 0.4.1" +gem "google-protobuf", ["~> 3.0", "!= 3.7.0", "!= 3.7.1"] +gem "opentelemetry-sdk", ">= 1.0.0.rc2" + +gemspec path: "../" diff --git a/gemfiles/ruby_2.7.3_opentelemetry_1_0.gemfile.lock b/gemfiles/ruby_2.7.3_opentelemetry_1_0.gemfile.lock new file mode 100644 index 00000000000..71fd34eaa24 --- /dev/null +++ b/gemfiles/ruby_2.7.3_opentelemetry_1_0.gemfile.lock @@ -0,0 +1,173 @@ +GIT + remote: https://github.com/DataDog/simplecov + revision: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + ref: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + specs: + simplecov (0.21.2) + docile (~> 1.1) + simplecov-html (~> 0.11) + simplecov_json_formatter (~> 0.1) + +PATH + remote: .. + specs: + ddtrace (0.50.0) + ffi (~> 1.0) + msgpack + +GEM + remote: https://rubygems.org/ + specs: + addressable (2.4.0) + appraisal (2.4.0) + bundler + rake + thor (>= 0.14.0) + ast (2.4.2) + benchmark-ips (2.9.1) + benchmark-memory (0.1.2) + memory_profiler (~> 0.9) + binding_of_caller (1.0.0) + debug_inspector (>= 0.0.1) + builder (3.2.4) + byebug (11.1.3) + climate_control (0.2.0) + coderay (1.1.3) + colorize (0.8.1) + concurrent-ruby (1.1.9) + crack (0.4.5) + rexml + cri (2.15.11) + debug_inspector (1.1.0) + diff-lcs (1.4.4) + docile (1.4.0) + dogstatsd-ruby (4.8.3) + ffi (1.15.3) + google-protobuf (3.17.3) + hashdiff (1.0.1) + memory_profiler (0.9.14) + method_source (1.0.0) + minitest (5.10.1) + minitest-around (0.5.0) + minitest (~> 5.0) + minitest-stub_any_instance (1.0.2) + msgpack (1.4.2) + opentelemetry-api (1.0.0.rc2) + opentelemetry-common (0.19.0) + opentelemetry-api (~> 1.0.0.rc2) + opentelemetry-instrumentation-base (0.18.1) + opentelemetry-api (~> 1.0.0.rc2) + opentelemetry-sdk (1.0.0.rc2) + opentelemetry-api (~> 1.0.0.rc2) + opentelemetry-common (~> 0.19.0) + opentelemetry-instrumentation-base (~> 0.18.1) + opentracing (0.5.0) + parallel (1.20.1) + parser (3.0.1.1) + ast (~> 2.4.1) + pimpmychangelog (0.1.3) + pry (0.14.1) + coderay (~> 1.1) + method_source (~> 1.0) + pry-byebug (3.8.0) + byebug (~> 11.0) + pry (~> 0.10) + pry-stack_explorer (0.6.1) + binding_of_caller (~> 1.0) + pry (~> 0.13) + rainbow (3.0.0) + rake (13.0.3) + redcarpet (3.5.1) + regexp_parser (2.1.1) + rexml (3.2.5) + rspec (3.10.0) + rspec-core (~> 3.10.0) + rspec-expectations (~> 3.10.0) + rspec-mocks (~> 3.10.0) + rspec-collection_matchers (1.2.0) + rspec-expectations (>= 2.99.0.beta1) + rspec-core (3.10.1) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-mocks (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-support (3.10.2) + rspec_junit_formatter (0.4.1) + rspec-core (>= 2, < 4, != 2.12.0) + rspec_n (1.4.0) + colorize (~> 0.8.0) + cri (~> 2.15.3) + rubocop (1.17.0) + parallel (~> 1.10) + parser (>= 3.0.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml + rubocop-ast (>= 1.7.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.7.0) + parser (>= 3.0.1.1) + rubocop-performance (1.11.3) + rubocop (>= 1.7.0, < 2.0) + rubocop-ast (>= 0.4.0) + rubocop-rspec (2.4.0) + rubocop (~> 1.0) + rubocop-ast (>= 1.1.0) + ruby-prof (1.4.3) + ruby-progressbar (1.11.0) + simplecov-html (0.12.3) + simplecov_json_formatter (0.1.3) + thor (1.1.0) + unicode-display_width (2.0.0) + warning (1.2.0) + webmock (3.13.0) + addressable (>= 2.3.6) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + yard (0.9.26) + +PLATFORMS + ruby + +DEPENDENCIES + addressable (~> 2.4.0) + appraisal (~> 2.2) + benchmark-ips (~> 2.8) + benchmark-memory (~> 0.1) + builder + climate_control (~> 0.2.0) + concurrent-ruby + ddtrace! + dogstatsd-ruby (< 5.0) + google-protobuf (~> 3.0, != 3.7.1, != 3.7.0) + memory_profiler (~> 0.9) + minitest (= 5.10.1) + minitest-around (= 0.5.0) + minitest-stub_any_instance (= 1.0.2) + opentelemetry-sdk (>= 1.0.0.rc2) + opentracing (>= 0.4.1) + pimpmychangelog (>= 0.1.2) + pry + pry-byebug + pry-stack_explorer + rake (>= 10.5) + redcarpet (~> 3.4) + rspec (~> 3.10) + rspec-collection_matchers (~> 1.1) + rspec_junit_formatter (>= 0.4.1) + rspec_n (~> 1.3) + rubocop (~> 1.10) + rubocop-performance (~> 1.9) + rubocop-rspec (~> 2.2) + ruby-prof (~> 1.4) + simplecov! + warning (~> 1) + webmock (>= 3.10.0) + yard (~> 0.9) + +BUNDLED WITH + 2.1.4 diff --git a/gemfiles/ruby_2.7.3_opentelemetry_pre_1_0.gemfile b/gemfiles/ruby_2.7.3_opentelemetry_pre_1_0.gemfile new file mode 100644 index 00000000000..3505ffe3d97 --- /dev/null +++ b/gemfiles/ruby_2.7.3_opentelemetry_pre_1_0.gemfile @@ -0,0 +1,39 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "addressable", "~> 2.4.0" +gem "appraisal", "~> 2.2" +gem "benchmark-ips", "~> 2.8" +gem "benchmark-memory", "~> 0.1" +gem "builder" +gem "climate_control", "~> 0.2.0" +gem "concurrent-ruby" +gem "memory_profiler", "~> 0.9" +gem "minitest", "= 5.10.1" +gem "minitest-around", "0.5.0" +gem "minitest-stub_any_instance", "1.0.2" +gem "pimpmychangelog", ">= 0.1.2" +gem "pry" +gem "pry-byebug" +gem "pry-stack_explorer" +gem "rake", ">= 10.5" +gem "redcarpet", "~> 3.4" +gem "rspec", "~> 3.10" +gem "rspec-collection_matchers", "~> 1.1" +gem "rspec_junit_formatter", ">= 0.4.1" +gem "rspec_n", "~> 1.3" +gem "ruby-prof", "~> 1.4" +gem "simplecov", git: "https://github.com/DataDog/simplecov", ref: "3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db" +gem "warning", "~> 1" +gem "webmock", ">= 3.10.0" +gem "yard", "~> 0.9" +gem "rubocop", "~> 1.10", require: false +gem "rubocop-performance", "~> 1.9", require: false +gem "rubocop-rspec", "~> 2.2", require: false +gem "dogstatsd-ruby", "< 5.0" +gem "opentracing", ">= 0.4.1" +gem "google-protobuf", ["~> 3.0", "!= 3.7.0", "!= 3.7.1"] +gem "opentelemetry-sdk", "< 1" + +gemspec path: "../" diff --git a/gemfiles/ruby_2.7.3_opentelemetry_pre_1_0.gemfile.lock b/gemfiles/ruby_2.7.3_opentelemetry_pre_1_0.gemfile.lock new file mode 100644 index 00000000000..6aa343815c9 --- /dev/null +++ b/gemfiles/ruby_2.7.3_opentelemetry_pre_1_0.gemfile.lock @@ -0,0 +1,173 @@ +GIT + remote: https://github.com/DataDog/simplecov + revision: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + ref: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + specs: + simplecov (0.21.2) + docile (~> 1.1) + simplecov-html (~> 0.11) + simplecov_json_formatter (~> 0.1) + +PATH + remote: .. + specs: + ddtrace (0.50.0) + ffi (~> 1.0) + msgpack + +GEM + remote: https://rubygems.org/ + specs: + addressable (2.4.0) + appraisal (2.4.0) + bundler + rake + thor (>= 0.14.0) + ast (2.4.2) + benchmark-ips (2.9.1) + benchmark-memory (0.1.2) + memory_profiler (~> 0.9) + binding_of_caller (1.0.0) + debug_inspector (>= 0.0.1) + builder (3.2.4) + byebug (11.1.3) + climate_control (0.2.0) + coderay (1.1.3) + colorize (0.8.1) + concurrent-ruby (1.1.9) + crack (0.4.5) + rexml + cri (2.15.11) + debug_inspector (1.1.0) + diff-lcs (1.4.4) + docile (1.4.0) + dogstatsd-ruby (4.8.3) + ffi (1.15.3) + google-protobuf (3.17.3) + hashdiff (1.0.1) + memory_profiler (0.9.14) + method_source (1.0.0) + minitest (5.10.1) + minitest-around (0.5.0) + minitest (~> 5.0) + minitest-stub_any_instance (1.0.2) + msgpack (1.4.2) + opentelemetry-api (0.17.0) + opentelemetry-common (0.17.0) + opentelemetry-api (~> 0.17.0) + opentelemetry-instrumentation-base (0.17.0) + opentelemetry-api (~> 0.17.0) + opentelemetry-sdk (0.17.0) + opentelemetry-api (~> 0.17.0) + opentelemetry-common (~> 0.17.0) + opentelemetry-instrumentation-base (~> 0.17.0) + opentracing (0.5.0) + parallel (1.20.1) + parser (3.0.1.1) + ast (~> 2.4.1) + pimpmychangelog (0.1.3) + pry (0.14.1) + coderay (~> 1.1) + method_source (~> 1.0) + pry-byebug (3.8.0) + byebug (~> 11.0) + pry (~> 0.10) + pry-stack_explorer (0.6.1) + binding_of_caller (~> 1.0) + pry (~> 0.13) + rainbow (3.0.0) + rake (13.0.3) + redcarpet (3.5.1) + regexp_parser (2.1.1) + rexml (3.2.5) + rspec (3.10.0) + rspec-core (~> 3.10.0) + rspec-expectations (~> 3.10.0) + rspec-mocks (~> 3.10.0) + rspec-collection_matchers (1.2.0) + rspec-expectations (>= 2.99.0.beta1) + rspec-core (3.10.1) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-mocks (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-support (3.10.2) + rspec_junit_formatter (0.4.1) + rspec-core (>= 2, < 4, != 2.12.0) + rspec_n (1.4.0) + colorize (~> 0.8.0) + cri (~> 2.15.3) + rubocop (1.17.0) + parallel (~> 1.10) + parser (>= 3.0.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml + rubocop-ast (>= 1.7.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.7.0) + parser (>= 3.0.1.1) + rubocop-performance (1.11.3) + rubocop (>= 1.7.0, < 2.0) + rubocop-ast (>= 0.4.0) + rubocop-rspec (2.4.0) + rubocop (~> 1.0) + rubocop-ast (>= 1.1.0) + ruby-prof (1.4.3) + ruby-progressbar (1.11.0) + simplecov-html (0.12.3) + simplecov_json_formatter (0.1.3) + thor (1.1.0) + unicode-display_width (2.0.0) + warning (1.2.0) + webmock (3.13.0) + addressable (>= 2.3.6) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + yard (0.9.26) + +PLATFORMS + ruby + +DEPENDENCIES + addressable (~> 2.4.0) + appraisal (~> 2.2) + benchmark-ips (~> 2.8) + benchmark-memory (~> 0.1) + builder + climate_control (~> 0.2.0) + concurrent-ruby + ddtrace! + dogstatsd-ruby (< 5.0) + google-protobuf (~> 3.0, != 3.7.1, != 3.7.0) + memory_profiler (~> 0.9) + minitest (= 5.10.1) + minitest-around (= 0.5.0) + minitest-stub_any_instance (= 1.0.2) + opentelemetry-sdk (< 1) + opentracing (>= 0.4.1) + pimpmychangelog (>= 0.1.2) + pry + pry-byebug + pry-stack_explorer + rake (>= 10.5) + redcarpet (~> 3.4) + rspec (~> 3.10) + rspec-collection_matchers (~> 1.1) + rspec_junit_formatter (>= 0.4.1) + rspec_n (~> 1.3) + rubocop (~> 1.10) + rubocop-performance (~> 1.9) + rubocop-rspec (~> 2.2) + ruby-prof (~> 1.4) + simplecov! + warning (~> 1) + webmock (>= 3.10.0) + yard (~> 0.9) + +BUNDLED WITH + 2.1.4 diff --git a/gemfiles/ruby_3.0.1_opentelemetry_1_0.gemfile b/gemfiles/ruby_3.0.1_opentelemetry_1_0.gemfile new file mode 100644 index 00000000000..f286002acd1 --- /dev/null +++ b/gemfiles/ruby_3.0.1_opentelemetry_1_0.gemfile @@ -0,0 +1,40 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "addressable", "~> 2.4.0" +gem "appraisal", "~> 2.2" +gem "benchmark-ips", "~> 2.8" +gem "benchmark-memory", "~> 0.1" +gem "builder" +gem "climate_control", "~> 0.2.0" +gem "concurrent-ruby" +gem "memory_profiler", "~> 0.9" +gem "minitest", "= 5.10.1" +gem "minitest-around", "0.5.0" +gem "minitest-stub_any_instance", "1.0.2" +gem "pimpmychangelog", ">= 0.1.2" +gem "pry" +gem "pry-byebug" +gem "pry-stack_explorer" +gem "rake", ">= 10.5" +gem "redcarpet", "~> 3.4" +gem "rspec", "~> 3.10" +gem "rspec-collection_matchers", "~> 1.1" +gem "rspec_junit_formatter", ">= 0.4.1" +gem "rspec_n", "~> 1.3" +gem "ruby-prof", "~> 1.4" +gem "simplecov", git: "https://github.com/DataDog/simplecov", ref: "3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db" +gem "warning", "~> 1" +gem "webmock", ">= 3.10.0" +gem "webrick", ">= 1.7.0" +gem "yard", "~> 0.9" +gem "rubocop", "~> 1.10", require: false +gem "rubocop-performance", "~> 1.9", require: false +gem "rubocop-rspec", "~> 2.2", require: false +gem "dogstatsd-ruby", "< 5.0" +gem "opentracing", ">= 0.4.1" +gem "google-protobuf", ["~> 3.0", "!= 3.7.0", "!= 3.7.1"] +gem "opentelemetry-sdk", ">= 1.0.0.rc2" + +gemspec path: "../" diff --git a/gemfiles/ruby_3.0.1_opentelemetry_1_0.gemfile.lock b/gemfiles/ruby_3.0.1_opentelemetry_1_0.gemfile.lock new file mode 100644 index 00000000000..df9195ad827 --- /dev/null +++ b/gemfiles/ruby_3.0.1_opentelemetry_1_0.gemfile.lock @@ -0,0 +1,175 @@ +GIT + remote: https://github.com/DataDog/simplecov + revision: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + ref: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + specs: + simplecov (0.21.2) + docile (~> 1.1) + simplecov-html (~> 0.11) + simplecov_json_formatter (~> 0.1) + +PATH + remote: .. + specs: + ddtrace (0.50.0) + ffi (~> 1.0) + msgpack + +GEM + remote: https://rubygems.org/ + specs: + addressable (2.4.0) + appraisal (2.4.0) + bundler + rake + thor (>= 0.14.0) + ast (2.4.2) + benchmark-ips (2.9.1) + benchmark-memory (0.1.2) + memory_profiler (~> 0.9) + binding_of_caller (1.0.0) + debug_inspector (>= 0.0.1) + builder (3.2.4) + byebug (11.1.3) + climate_control (0.2.0) + coderay (1.1.3) + colorize (0.8.1) + concurrent-ruby (1.1.9) + crack (0.4.5) + rexml + cri (2.15.11) + debug_inspector (1.1.0) + diff-lcs (1.4.4) + docile (1.4.0) + dogstatsd-ruby (4.8.3) + ffi (1.15.3) + google-protobuf (3.17.3-x86_64-linux) + hashdiff (1.0.1) + memory_profiler (0.9.14) + method_source (1.0.0) + minitest (5.10.1) + minitest-around (0.5.0) + minitest (~> 5.0) + minitest-stub_any_instance (1.0.2) + msgpack (1.4.2) + opentelemetry-api (1.0.0.rc2) + opentelemetry-common (0.19.0) + opentelemetry-api (~> 1.0.0.rc2) + opentelemetry-instrumentation-base (0.18.1) + opentelemetry-api (~> 1.0.0.rc2) + opentelemetry-sdk (1.0.0.rc2) + opentelemetry-api (~> 1.0.0.rc2) + opentelemetry-common (~> 0.19.0) + opentelemetry-instrumentation-base (~> 0.18.1) + opentracing (0.5.0) + parallel (1.20.1) + parser (3.0.1.1) + ast (~> 2.4.1) + pimpmychangelog (0.1.3) + pry (0.14.1) + coderay (~> 1.1) + method_source (~> 1.0) + pry-byebug (3.8.0) + byebug (~> 11.0) + pry (~> 0.10) + pry-stack_explorer (0.6.1) + binding_of_caller (~> 1.0) + pry (~> 0.13) + rainbow (3.0.0) + rake (13.0.3) + redcarpet (3.5.1) + regexp_parser (2.1.1) + rexml (3.2.5) + rspec (3.10.0) + rspec-core (~> 3.10.0) + rspec-expectations (~> 3.10.0) + rspec-mocks (~> 3.10.0) + rspec-collection_matchers (1.2.0) + rspec-expectations (>= 2.99.0.beta1) + rspec-core (3.10.1) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-mocks (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-support (3.10.2) + rspec_junit_formatter (0.4.1) + rspec-core (>= 2, < 4, != 2.12.0) + rspec_n (1.4.0) + colorize (~> 0.8.0) + cri (~> 2.15.3) + rubocop (1.17.0) + parallel (~> 1.10) + parser (>= 3.0.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml + rubocop-ast (>= 1.7.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.7.0) + parser (>= 3.0.1.1) + rubocop-performance (1.11.3) + rubocop (>= 1.7.0, < 2.0) + rubocop-ast (>= 0.4.0) + rubocop-rspec (2.4.0) + rubocop (~> 1.0) + rubocop-ast (>= 1.1.0) + ruby-prof (1.4.3) + ruby-progressbar (1.11.0) + simplecov-html (0.12.3) + simplecov_json_formatter (0.1.3) + thor (1.1.0) + unicode-display_width (2.0.0) + warning (1.2.0) + webmock (3.13.0) + addressable (>= 2.3.6) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + webrick (1.7.0) + yard (0.9.26) + +PLATFORMS + x86_64-linux + +DEPENDENCIES + addressable (~> 2.4.0) + appraisal (~> 2.2) + benchmark-ips (~> 2.8) + benchmark-memory (~> 0.1) + builder + climate_control (~> 0.2.0) + concurrent-ruby + ddtrace! + dogstatsd-ruby (< 5.0) + google-protobuf (~> 3.0, != 3.7.1, != 3.7.0) + memory_profiler (~> 0.9) + minitest (= 5.10.1) + minitest-around (= 0.5.0) + minitest-stub_any_instance (= 1.0.2) + opentelemetry-sdk (>= 1.0.0.rc2) + opentracing (>= 0.4.1) + pimpmychangelog (>= 0.1.2) + pry + pry-byebug + pry-stack_explorer + rake (>= 10.5) + redcarpet (~> 3.4) + rspec (~> 3.10) + rspec-collection_matchers (~> 1.1) + rspec_junit_formatter (>= 0.4.1) + rspec_n (~> 1.3) + rubocop (~> 1.10) + rubocop-performance (~> 1.9) + rubocop-rspec (~> 2.2) + ruby-prof (~> 1.4) + simplecov! + warning (~> 1) + webmock (>= 3.10.0) + webrick (>= 1.7.0) + yard (~> 0.9) + +BUNDLED WITH + 2.2.19 diff --git a/gemfiles/ruby_3.0.1_opentelemetry_pre_1_0.gemfile b/gemfiles/ruby_3.0.1_opentelemetry_pre_1_0.gemfile new file mode 100644 index 00000000000..727c79e11ab --- /dev/null +++ b/gemfiles/ruby_3.0.1_opentelemetry_pre_1_0.gemfile @@ -0,0 +1,40 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "addressable", "~> 2.4.0" +gem "appraisal", "~> 2.2" +gem "benchmark-ips", "~> 2.8" +gem "benchmark-memory", "~> 0.1" +gem "builder" +gem "climate_control", "~> 0.2.0" +gem "concurrent-ruby" +gem "memory_profiler", "~> 0.9" +gem "minitest", "= 5.10.1" +gem "minitest-around", "0.5.0" +gem "minitest-stub_any_instance", "1.0.2" +gem "pimpmychangelog", ">= 0.1.2" +gem "pry" +gem "pry-byebug" +gem "pry-stack_explorer" +gem "rake", ">= 10.5" +gem "redcarpet", "~> 3.4" +gem "rspec", "~> 3.10" +gem "rspec-collection_matchers", "~> 1.1" +gem "rspec_junit_formatter", ">= 0.4.1" +gem "rspec_n", "~> 1.3" +gem "ruby-prof", "~> 1.4" +gem "simplecov", git: "https://github.com/DataDog/simplecov", ref: "3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db" +gem "warning", "~> 1" +gem "webmock", ">= 3.10.0" +gem "webrick", ">= 1.7.0" +gem "yard", "~> 0.9" +gem "rubocop", "~> 1.10", require: false +gem "rubocop-performance", "~> 1.9", require: false +gem "rubocop-rspec", "~> 2.2", require: false +gem "dogstatsd-ruby", "< 5.0" +gem "opentracing", ">= 0.4.1" +gem "google-protobuf", ["~> 3.0", "!= 3.7.0", "!= 3.7.1"] +gem "opentelemetry-sdk", "< 1" + +gemspec path: "../" diff --git a/gemfiles/ruby_3.0.1_opentelemetry_pre_1_0.gemfile.lock b/gemfiles/ruby_3.0.1_opentelemetry_pre_1_0.gemfile.lock new file mode 100644 index 00000000000..463245faf96 --- /dev/null +++ b/gemfiles/ruby_3.0.1_opentelemetry_pre_1_0.gemfile.lock @@ -0,0 +1,175 @@ +GIT + remote: https://github.com/DataDog/simplecov + revision: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + ref: 3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db + specs: + simplecov (0.21.2) + docile (~> 1.1) + simplecov-html (~> 0.11) + simplecov_json_formatter (~> 0.1) + +PATH + remote: .. + specs: + ddtrace (0.50.0) + ffi (~> 1.0) + msgpack + +GEM + remote: https://rubygems.org/ + specs: + addressable (2.4.0) + appraisal (2.4.0) + bundler + rake + thor (>= 0.14.0) + ast (2.4.2) + benchmark-ips (2.9.1) + benchmark-memory (0.1.2) + memory_profiler (~> 0.9) + binding_of_caller (1.0.0) + debug_inspector (>= 0.0.1) + builder (3.2.4) + byebug (11.1.3) + climate_control (0.2.0) + coderay (1.1.3) + colorize (0.8.1) + concurrent-ruby (1.1.9) + crack (0.4.5) + rexml + cri (2.15.11) + debug_inspector (1.1.0) + diff-lcs (1.4.4) + docile (1.4.0) + dogstatsd-ruby (4.8.3) + ffi (1.15.3) + google-protobuf (3.17.3-x86_64-linux) + hashdiff (1.0.1) + memory_profiler (0.9.14) + method_source (1.0.0) + minitest (5.10.1) + minitest-around (0.5.0) + minitest (~> 5.0) + minitest-stub_any_instance (1.0.2) + msgpack (1.4.2) + opentelemetry-api (0.17.0) + opentelemetry-common (0.17.0) + opentelemetry-api (~> 0.17.0) + opentelemetry-instrumentation-base (0.17.0) + opentelemetry-api (~> 0.17.0) + opentelemetry-sdk (0.17.0) + opentelemetry-api (~> 0.17.0) + opentelemetry-common (~> 0.17.0) + opentelemetry-instrumentation-base (~> 0.17.0) + opentracing (0.5.0) + parallel (1.20.1) + parser (3.0.1.1) + ast (~> 2.4.1) + pimpmychangelog (0.1.3) + pry (0.14.1) + coderay (~> 1.1) + method_source (~> 1.0) + pry-byebug (3.8.0) + byebug (~> 11.0) + pry (~> 0.10) + pry-stack_explorer (0.6.1) + binding_of_caller (~> 1.0) + pry (~> 0.13) + rainbow (3.0.0) + rake (13.0.3) + redcarpet (3.5.1) + regexp_parser (2.1.1) + rexml (3.2.5) + rspec (3.10.0) + rspec-core (~> 3.10.0) + rspec-expectations (~> 3.10.0) + rspec-mocks (~> 3.10.0) + rspec-collection_matchers (1.2.0) + rspec-expectations (>= 2.99.0.beta1) + rspec-core (3.10.1) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-mocks (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-support (3.10.2) + rspec_junit_formatter (0.4.1) + rspec-core (>= 2, < 4, != 2.12.0) + rspec_n (1.4.0) + colorize (~> 0.8.0) + cri (~> 2.15.3) + rubocop (1.17.0) + parallel (~> 1.10) + parser (>= 3.0.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml + rubocop-ast (>= 1.7.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.7.0) + parser (>= 3.0.1.1) + rubocop-performance (1.11.3) + rubocop (>= 1.7.0, < 2.0) + rubocop-ast (>= 0.4.0) + rubocop-rspec (2.4.0) + rubocop (~> 1.0) + rubocop-ast (>= 1.1.0) + ruby-prof (1.4.3) + ruby-progressbar (1.11.0) + simplecov-html (0.12.3) + simplecov_json_formatter (0.1.3) + thor (1.1.0) + unicode-display_width (2.0.0) + warning (1.2.0) + webmock (3.13.0) + addressable (>= 2.3.6) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + webrick (1.7.0) + yard (0.9.26) + +PLATFORMS + x86_64-linux + +DEPENDENCIES + addressable (~> 2.4.0) + appraisal (~> 2.2) + benchmark-ips (~> 2.8) + benchmark-memory (~> 0.1) + builder + climate_control (~> 0.2.0) + concurrent-ruby + ddtrace! + dogstatsd-ruby (< 5.0) + google-protobuf (~> 3.0, != 3.7.1, != 3.7.0) + memory_profiler (~> 0.9) + minitest (= 5.10.1) + minitest-around (= 0.5.0) + minitest-stub_any_instance (= 1.0.2) + opentelemetry-sdk (< 1) + opentracing (>= 0.4.1) + pimpmychangelog (>= 0.1.2) + pry + pry-byebug + pry-stack_explorer + rake (>= 10.5) + redcarpet (~> 3.4) + rspec (~> 3.10) + rspec-collection_matchers (~> 1.1) + rspec_junit_formatter (>= 0.4.1) + rspec_n (~> 1.3) + rubocop (~> 1.10) + rubocop-performance (~> 1.9) + rubocop-rspec (~> 2.2) + ruby-prof (~> 1.4) + simplecov! + warning (~> 1) + webmock (>= 3.10.0) + webrick (>= 1.7.0) + yard (~> 0.9) + +BUNDLED WITH + 2.2.19 diff --git a/lib/ddtrace/profiling/trace_identifiers/opentelemetry.rb b/lib/ddtrace/profiling/trace_identifiers/opentelemetry.rb index 0eace9ad9c0..89f738c8bb0 100644 --- a/lib/ddtrace/profiling/trace_identifiers/opentelemetry.rb +++ b/lib/ddtrace/profiling/trace_identifiers/opentelemetry.rb @@ -19,12 +19,16 @@ class OpenTelemetry def initialize @available = false @checked_version = false + @current_context_key = nil end def trace_identifiers_for(thread) return unless available? - span = ::OpenTelemetry::Trace.current_span(thread[::OpenTelemetry::Context::KEY]) + current_context = Array(thread[@current_context_key]).last # <= 1.0.0.rc1 single value; > 1.0.0.rc1 array + return unless current_context + + span = ::OpenTelemetry::Trace.current_span(current_context) if span && span != ::OpenTelemetry::Trace::Span::INVALID context = span.context @@ -69,10 +73,8 @@ def trace_id_to_datadog(trace_id) end def supported? - if defined?(::OpenTelemetry::VERSION) && - SUPPORTED_VERSIONS.satisfied_by?(Gem::Version.new(::OpenTelemetry::VERSION)) - true - else + unless defined?(::OpenTelemetry::VERSION) && + SUPPORTED_VERSIONS.satisfied_by?(Gem::Version.new(::OpenTelemetry::VERSION)) UNSUPPORTED_VERSION_ONLY_ONCE.run do Datadog.logger.warn( 'Profiler: Incompatible version of opentelemetry-api detected; ' \ @@ -82,7 +84,21 @@ def supported? ) end - false + return false + end + + key = retrieve_current_context_key + return false unless key + + @current_context_key = key + true + end + + def retrieve_current_context_key + if defined?(::OpenTelemetry::Context::KEY) # <= 1.0.0.rc1 + ::OpenTelemetry::Context::KEY + elsif ::OpenTelemetry::Context.const_defined?(:STACK_KEY) + ::OpenTelemetry::Context.const_get(:STACK_KEY) end end end diff --git a/spec/ddtrace/profiling/trace_identifiers/opentelemetry_spec.rb b/spec/ddtrace/profiling/trace_identifiers/opentelemetry_spec.rb index 8ccab2bc78b..354b766b07a 100644 --- a/spec/ddtrace/profiling/trace_identifiers/opentelemetry_spec.rb +++ b/spec/ddtrace/profiling/trace_identifiers/opentelemetry_spec.rb @@ -4,7 +4,9 @@ before(:all) do skip 'opentelemetry-api not supported on Ruby < 2.5' if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.5.0') - require 'opentelemetry-api' + require 'opentelemetry-sdk' + + OpenTelemetry::SDK.configure end let(:thread) { Thread.new { sleep } } @@ -38,9 +40,39 @@ end end + context 'when there is no available context for the thread' do + before do + expect(thread).to receive(:[]).and_return(nil) + end + + it do + expect(trace_identifiers_for).to be nil + end + + it 'does not try to invoke the opentelemetry api' do + expect(OpenTelemetry::Trace).to_not receive(:current_span) + + trace_identifiers_for + end + end + + context 'when context for the thread is an array of values' do + before do + allow(thread).to receive(:[]).and_return([:context1, :context2]) + end + + it 'retrieves the span from the last context' do + expect(OpenTelemetry::Trace).to receive(:current_span).with(:context2) + + trace_identifiers_for + end + end + context 'when there there is no opentelemetry span (nil) for the thread' do before do - allow(OpenTelemetry::Trace).to receive(:current_span).and_return(nil) + allow(thread).to receive(:[]).and_return(:dummy_context) + expect(OpenTelemetry::Trace) + .to receive(:current_span).with(:dummy_context).and_return(nil) end it do @@ -50,7 +82,9 @@ context 'when there there is no opentelemetry span (invalid) for the thread' do before do - allow(OpenTelemetry::Trace).to receive(:current_span).and_return(OpenTelemetry::Trace::Span::INVALID) + allow(thread).to receive(:[]).and_return(:dummy_context) + expect(OpenTelemetry::Trace) + .to receive(:current_span).with(:dummy_context).and_return(OpenTelemetry::Trace::Span::INVALID) end it do @@ -65,6 +99,10 @@ described_class.const_get('UNSUPPORTED_VERSION_ONLY_ONCE').send(:reset_ran_once_state_for_tests) end + it do + expect(trace_identifiers_for).to be nil + end + it 'does not try to invoke the opentelemetry api' do expect(OpenTelemetry::Trace).to_not receive(:current_span) @@ -79,7 +117,7 @@ end context 'when opentelemetry-api gem is not available' do - let!(:original_opentelemetry) { ::OpenTelemetry } + let!(:original_opentelemetry) { OpenTelemetry } before do hide_const('::OpenTelemetry')