ddtrace 0.45.0 → 0.50.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +360 -56
- data/.circleci/images/primary/Dockerfile-2.1.10 +11 -1
- data/.circleci/images/primary/Dockerfile-2.2.10 +11 -1
- data/.circleci/images/primary/Dockerfile-2.3.8 +10 -0
- data/.circleci/images/primary/Dockerfile-2.4.6 +10 -0
- data/.circleci/images/primary/Dockerfile-2.5.6 +10 -0
- data/.circleci/images/primary/Dockerfile-2.6.4 +10 -0
- data/.circleci/images/primary/Dockerfile-2.7.0 +10 -0
- data/.circleci/images/primary/Dockerfile-jruby-9.2-latest +88 -0
- data/.circleci/images/primary/{Dockerfile-jruby-9.2 → Dockerfile-jruby-9.2.0.0} +1 -5
- data/.circleci/images/primary/{Dockerfile-2.0.0 → Dockerfile-truffleruby-21.1.0} +8 -8
- data/.dockerignore +0 -1
- data/.github/workflows/create-next-milestone.yml +2 -2
- data/.gitignore +0 -1
- data/.gitlab-ci.yml +18 -18
- data/.rubocop.yml +273 -7
- data/.rubocop_todo.yml +438 -0
- data/.simplecov +6 -0
- data/Appraisals +74 -101
- data/CHANGELOG.md +275 -1
- data/Gemfile +63 -3
- data/LICENSE-3rdparty.csv +2 -0
- data/Rakefile +299 -353
- data/benchmarks/data/profiler-submission-marshal.gz +0 -0
- data/benchmarks/profiler_sample_loop.rb +69 -0
- data/benchmarks/profiler_submission.rb +93 -0
- data/bin/ddtracerb +15 -0
- data/ddtrace.gemspec +10 -38
- data/docker-compose.yml +68 -54
- data/docs/DevelopmentGuide.md +28 -0
- data/docs/GettingStarted.md +123 -73
- data/docs/ProfilingDevelopment.md +88 -0
- data/gemfiles/jruby_9.2.0.0_contrib.gemfile +79 -0
- data/gemfiles/jruby_9.2.0.0_contrib.gemfile.lock +1518 -0
- data/gemfiles/jruby_9.2.0.0_contrib_old.gemfile +35 -0
- data/gemfiles/jruby_9.2.0.0_contrib_old.gemfile.lock +157 -0
- data/gemfiles/jruby_9.2.0.0_core_old.gemfile +34 -0
- data/gemfiles/jruby_9.2.0.0_core_old.gemfile.lock +153 -0
- data/gemfiles/jruby_9.2.0.0_cucumber3.gemfile +35 -0
- data/gemfiles/jruby_9.2.0.0_cucumber3.gemfile.lock +174 -0
- data/gemfiles/jruby_9.2.0.0_cucumber4.gemfile +35 -0
- data/gemfiles/jruby_9.2.0.0_cucumber4.gemfile.lock +206 -0
- data/gemfiles/jruby_9.2.0.0_cucumber5.gemfile +35 -0
- data/gemfiles/jruby_9.2.0.0_cucumber5.gemfile.lock +206 -0
- data/gemfiles/jruby_9.2.0.0_rails5_mysql2.gemfile +40 -0
- data/gemfiles/jruby_9.2.0.0_rails5_mysql2.gemfile.lock +271 -0
- data/gemfiles/jruby_9.2.0.0_rails5_postgres.gemfile +40 -0
- data/gemfiles/jruby_9.2.0.0_rails5_postgres.gemfile.lock +271 -0
- data/gemfiles/jruby_9.2.0.0_rails5_postgres_redis.gemfile +41 -0
- data/gemfiles/jruby_9.2.0.0_rails5_postgres_redis.gemfile.lock +273 -0
- data/gemfiles/jruby_9.2.0.0_rails5_postgres_redis_activesupport.gemfile +41 -0
- data/gemfiles/jruby_9.2.0.0_rails5_postgres_redis_activesupport.gemfile.lock +273 -0
- data/gemfiles/jruby_9.2.0.0_rails5_postgres_sidekiq.gemfile +42 -0
- data/gemfiles/jruby_9.2.0.0_rails5_postgres_sidekiq.gemfile.lock +279 -0
- data/gemfiles/jruby_9.2.0.0_rails61_mysql2.gemfile +40 -0
- data/gemfiles/jruby_9.2.0.0_rails61_mysql2.gemfile.lock +290 -0
- data/gemfiles/jruby_9.2.0.0_rails61_postgres.gemfile +40 -0
- data/gemfiles/jruby_9.2.0.0_rails61_postgres.gemfile.lock +290 -0
- data/gemfiles/jruby_9.2.0.0_rails61_postgres_redis.gemfile +41 -0
- data/gemfiles/jruby_9.2.0.0_rails61_postgres_redis.gemfile.lock +292 -0
- data/gemfiles/jruby_9.2.0.0_rails61_postgres_sidekiq.gemfile +41 -0
- data/gemfiles/jruby_9.2.0.0_rails61_postgres_sidekiq.gemfile.lock +297 -0
- data/gemfiles/jruby_9.2.0.0_rails6_mysql2.gemfile +40 -0
- data/gemfiles/jruby_9.2.0.0_rails6_mysql2.gemfile.lock +287 -0
- data/gemfiles/jruby_9.2.0.0_rails6_postgres.gemfile +40 -0
- data/gemfiles/jruby_9.2.0.0_rails6_postgres.gemfile.lock +287 -0
- data/gemfiles/jruby_9.2.0.0_rails6_postgres_redis.gemfile +41 -0
- data/gemfiles/jruby_9.2.0.0_rails6_postgres_redis.gemfile.lock +289 -0
- data/gemfiles/jruby_9.2.0.0_rails6_postgres_redis_activesupport.gemfile +41 -0
- data/gemfiles/jruby_9.2.0.0_rails6_postgres_redis_activesupport.gemfile.lock +289 -0
- data/gemfiles/jruby_9.2.0.0_rails6_postgres_sidekiq.gemfile +42 -0
- data/gemfiles/jruby_9.2.0.0_rails6_postgres_sidekiq.gemfile.lock +295 -0
- data/gemfiles/jruby_9.2.0.0_resque2_redis3.gemfile +36 -0
- data/gemfiles/jruby_9.2.0.0_resque2_redis3.gemfile.lock +180 -0
- data/gemfiles/jruby_9.2.0.0_resque2_redis4.gemfile +36 -0
- data/gemfiles/jruby_9.2.0.0_resque2_redis4.gemfile.lock +180 -0
- data/gemfiles/jruby_9.2.11.1_contrib.gemfile +79 -0
- data/gemfiles/jruby_9.2.11.1_contrib.gemfile.lock +1518 -0
- data/gemfiles/jruby_9.2.11.1_contrib_old.gemfile +35 -0
- data/gemfiles/jruby_9.2.11.1_contrib_old.gemfile.lock +157 -0
- data/gemfiles/jruby_9.2.11.1_core_old.gemfile +34 -0
- data/gemfiles/jruby_9.2.11.1_core_old.gemfile.lock +153 -0
- data/gemfiles/jruby_9.2.11.1_cucumber3.gemfile +35 -0
- data/gemfiles/jruby_9.2.11.1_cucumber3.gemfile.lock +174 -0
- data/gemfiles/jruby_9.2.11.1_cucumber4.gemfile +35 -0
- data/gemfiles/jruby_9.2.11.1_cucumber4.gemfile.lock +206 -0
- data/gemfiles/jruby_9.2.11.1_cucumber5.gemfile +35 -0
- data/gemfiles/jruby_9.2.11.1_cucumber5.gemfile.lock +206 -0
- data/gemfiles/jruby_9.2.11.1_rails5_mysql2.gemfile +40 -0
- data/gemfiles/jruby_9.2.11.1_rails5_mysql2.gemfile.lock +271 -0
- data/gemfiles/jruby_9.2.11.1_rails5_postgres.gemfile +40 -0
- data/gemfiles/jruby_9.2.11.1_rails5_postgres.gemfile.lock +271 -0
- data/gemfiles/jruby_9.2.11.1_rails5_postgres_redis.gemfile +41 -0
- data/gemfiles/jruby_9.2.11.1_rails5_postgres_redis.gemfile.lock +273 -0
- data/gemfiles/jruby_9.2.11.1_rails5_postgres_redis_activesupport.gemfile +41 -0
- data/gemfiles/jruby_9.2.11.1_rails5_postgres_redis_activesupport.gemfile.lock +273 -0
- data/gemfiles/jruby_9.2.11.1_rails5_postgres_sidekiq.gemfile +42 -0
- data/gemfiles/jruby_9.2.11.1_rails5_postgres_sidekiq.gemfile.lock +279 -0
- data/gemfiles/jruby_9.2.11.1_rails61_mysql2.gemfile +40 -0
- data/gemfiles/jruby_9.2.11.1_rails61_mysql2.gemfile.lock +290 -0
- data/gemfiles/jruby_9.2.11.1_rails61_postgres.gemfile +40 -0
- data/gemfiles/jruby_9.2.11.1_rails61_postgres.gemfile.lock +290 -0
- data/gemfiles/jruby_9.2.11.1_rails61_postgres_redis.gemfile +41 -0
- data/gemfiles/jruby_9.2.11.1_rails61_postgres_redis.gemfile.lock +292 -0
- data/gemfiles/jruby_9.2.11.1_rails61_postgres_sidekiq.gemfile +41 -0
- data/gemfiles/jruby_9.2.11.1_rails61_postgres_sidekiq.gemfile.lock +297 -0
- data/gemfiles/jruby_9.2.11.1_rails6_mysql2.gemfile +40 -0
- data/gemfiles/jruby_9.2.11.1_rails6_mysql2.gemfile.lock +287 -0
- data/gemfiles/jruby_9.2.11.1_rails6_postgres.gemfile +40 -0
- data/gemfiles/jruby_9.2.11.1_rails6_postgres.gemfile.lock +287 -0
- data/gemfiles/jruby_9.2.11.1_rails6_postgres_redis.gemfile +41 -0
- data/gemfiles/jruby_9.2.11.1_rails6_postgres_redis.gemfile.lock +289 -0
- data/gemfiles/jruby_9.2.11.1_rails6_postgres_redis_activesupport.gemfile +41 -0
- data/gemfiles/jruby_9.2.11.1_rails6_postgres_redis_activesupport.gemfile.lock +289 -0
- data/gemfiles/jruby_9.2.11.1_rails6_postgres_sidekiq.gemfile +42 -0
- data/gemfiles/jruby_9.2.11.1_rails6_postgres_sidekiq.gemfile.lock +295 -0
- data/gemfiles/jruby_9.2.11.1_resque2_redis3.gemfile +36 -0
- data/gemfiles/jruby_9.2.11.1_resque2_redis3.gemfile.lock +180 -0
- data/gemfiles/jruby_9.2.11.1_resque2_redis4.gemfile +36 -0
- data/gemfiles/jruby_9.2.11.1_resque2_redis4.gemfile.lock +180 -0
- data/gemfiles/ruby_2.1.10_contrib_old.gemfile +66 -0
- data/gemfiles/ruby_2.1.10_contrib_old.gemfile.lock +305 -0
- data/gemfiles/ruby_2.1.10_core_old.gemfile +33 -0
- data/gemfiles/ruby_2.1.10_core_old.gemfile.lock +118 -0
- data/gemfiles/ruby_2.1.10_rails30_postgres.gemfile +39 -0
- data/gemfiles/ruby_2.1.10_rails30_postgres.gemfile.lock +196 -0
- data/gemfiles/ruby_2.1.10_rails30_postgres_sidekiq.gemfile +40 -0
- data/gemfiles/ruby_2.1.10_rails30_postgres_sidekiq.gemfile.lock +205 -0
- data/gemfiles/ruby_2.1.10_rails32_mysql2.gemfile +42 -0
- data/gemfiles/ruby_2.1.10_rails32_mysql2.gemfile.lock +215 -0
- data/gemfiles/ruby_2.1.10_rails32_postgres.gemfile +39 -0
- data/gemfiles/ruby_2.1.10_rails32_postgres.gemfile.lock +204 -0
- data/gemfiles/ruby_2.1.10_rails32_postgres_redis.gemfile +41 -0
- data/gemfiles/ruby_2.1.10_rails32_postgres_redis.gemfile.lock +223 -0
- data/gemfiles/ruby_2.1.10_rails32_postgres_sidekiq.gemfile +40 -0
- data/gemfiles/ruby_2.1.10_rails32_postgres_sidekiq.gemfile.lock +213 -0
- data/gemfiles/ruby_2.1.10_rails4_mysql2.gemfile +38 -0
- data/gemfiles/ruby_2.1.10_rails4_mysql2.gemfile.lock +218 -0
- data/gemfiles/ruby_2.1.10_rails4_postgres.gemfile +38 -0
- data/gemfiles/ruby_2.1.10_rails4_postgres.gemfile.lock +218 -0
- data/gemfiles/ruby_2.1.10_rails4_postgres_redis.gemfile +40 -0
- data/gemfiles/ruby_2.1.10_rails4_postgres_redis.gemfile.lock +237 -0
- data/gemfiles/ruby_2.2.10_contrib.gemfile +73 -0
- data/gemfiles/ruby_2.2.10_contrib.gemfile.lock +1450 -0
- data/gemfiles/ruby_2.2.10_core_old.gemfile +33 -0
- data/gemfiles/ruby_2.2.10_core_old.gemfile.lock +118 -0
- data/gemfiles/ruby_2.2.10_rails30_postgres.gemfile +39 -0
- data/gemfiles/ruby_2.2.10_rails30_postgres.gemfile.lock +196 -0
- data/gemfiles/ruby_2.2.10_rails30_postgres_sidekiq.gemfile +40 -0
- data/gemfiles/ruby_2.2.10_rails30_postgres_sidekiq.gemfile.lock +205 -0
- data/gemfiles/ruby_2.2.10_rails32_mysql2.gemfile +41 -0
- data/gemfiles/ruby_2.2.10_rails32_mysql2.gemfile.lock +212 -0
- data/gemfiles/ruby_2.2.10_rails32_postgres.gemfile +39 -0
- data/gemfiles/ruby_2.2.10_rails32_postgres.gemfile.lock +204 -0
- data/gemfiles/ruby_2.2.10_rails32_postgres_redis.gemfile +41 -0
- data/gemfiles/ruby_2.2.10_rails32_postgres_redis.gemfile.lock +223 -0
- data/gemfiles/ruby_2.2.10_rails32_postgres_sidekiq.gemfile +40 -0
- data/gemfiles/ruby_2.2.10_rails32_postgres_sidekiq.gemfile.lock +213 -0
- data/gemfiles/ruby_2.2.10_rails4_mysql2.gemfile +38 -0
- data/gemfiles/ruby_2.2.10_rails4_mysql2.gemfile.lock +218 -0
- data/gemfiles/ruby_2.2.10_rails4_postgres.gemfile +38 -0
- data/gemfiles/ruby_2.2.10_rails4_postgres.gemfile.lock +218 -0
- data/gemfiles/ruby_2.2.10_rails4_postgres_redis.gemfile +40 -0
- data/gemfiles/ruby_2.2.10_rails4_postgres_redis.gemfile.lock +237 -0
- data/gemfiles/ruby_2.2.10_rails4_postgres_sidekiq.gemfile +40 -0
- data/gemfiles/ruby_2.2.10_rails4_postgres_sidekiq.gemfile.lock +229 -0
- data/gemfiles/ruby_2.2.10_rails5_mysql2.gemfile +38 -0
- data/gemfiles/ruby_2.2.10_rails5_mysql2.gemfile.lock +234 -0
- data/gemfiles/ruby_2.2.10_rails5_postgres.gemfile +38 -0
- data/gemfiles/ruby_2.2.10_rails5_postgres.gemfile.lock +234 -0
- data/gemfiles/ruby_2.2.10_rails5_postgres_redis.gemfile +39 -0
- data/gemfiles/ruby_2.2.10_rails5_postgres_redis.gemfile.lock +236 -0
- data/gemfiles/ruby_2.2.10_rails5_postgres_redis_activesupport.gemfile +39 -0
- data/gemfiles/ruby_2.2.10_rails5_postgres_redis_activesupport.gemfile.lock +236 -0
- data/gemfiles/ruby_2.2.10_rails5_postgres_sidekiq.gemfile +40 -0
- data/gemfiles/ruby_2.2.10_rails5_postgres_sidekiq.gemfile.lock +245 -0
- data/gemfiles/ruby_2.3.8_contrib.gemfile +73 -0
- data/gemfiles/ruby_2.3.8_contrib.gemfile.lock +1459 -0
- data/gemfiles/ruby_2.3.8_contrib_old.gemfile +34 -0
- data/gemfiles/ruby_2.3.8_contrib_old.gemfile.lock +127 -0
- data/gemfiles/ruby_2.3.8_core_old.gemfile +33 -0
- data/gemfiles/ruby_2.3.8_core_old.gemfile.lock +123 -0
- data/gemfiles/ruby_2.3.8_cucumber3.gemfile +34 -0
- data/gemfiles/ruby_2.3.8_cucumber3.gemfile.lock +144 -0
- data/gemfiles/ruby_2.3.8_cucumber4.gemfile +34 -0
- data/gemfiles/ruby_2.3.8_cucumber4.gemfile.lock +174 -0
- data/gemfiles/ruby_2.3.8_rails30_postgres.gemfile +39 -0
- data/gemfiles/ruby_2.3.8_rails30_postgres.gemfile.lock +201 -0
- data/gemfiles/ruby_2.3.8_rails30_postgres_sidekiq.gemfile +40 -0
- data/gemfiles/ruby_2.3.8_rails30_postgres_sidekiq.gemfile.lock +210 -0
- data/gemfiles/ruby_2.3.8_rails32_mysql2.gemfile +41 -0
- data/gemfiles/ruby_2.3.8_rails32_mysql2.gemfile.lock +217 -0
- data/gemfiles/ruby_2.3.8_rails32_postgres.gemfile +39 -0
- data/gemfiles/ruby_2.3.8_rails32_postgres.gemfile.lock +209 -0
- data/gemfiles/ruby_2.3.8_rails32_postgres_redis.gemfile +41 -0
- data/gemfiles/ruby_2.3.8_rails32_postgres_redis.gemfile.lock +228 -0
- data/gemfiles/ruby_2.3.8_rails32_postgres_sidekiq.gemfile +40 -0
- data/gemfiles/ruby_2.3.8_rails32_postgres_sidekiq.gemfile.lock +218 -0
- data/gemfiles/ruby_2.3.8_rails4_mysql2.gemfile +38 -0
- data/gemfiles/ruby_2.3.8_rails4_mysql2.gemfile.lock +223 -0
- data/gemfiles/ruby_2.3.8_rails4_postgres.gemfile +38 -0
- data/gemfiles/ruby_2.3.8_rails4_postgres.gemfile.lock +223 -0
- data/gemfiles/ruby_2.3.8_rails4_postgres_redis.gemfile +40 -0
- data/gemfiles/ruby_2.3.8_rails4_postgres_redis.gemfile.lock +242 -0
- data/gemfiles/ruby_2.3.8_rails4_postgres_sidekiq.gemfile +40 -0
- data/gemfiles/ruby_2.3.8_rails4_postgres_sidekiq.gemfile.lock +234 -0
- data/gemfiles/ruby_2.3.8_rails5_mysql2.gemfile +37 -0
- data/gemfiles/ruby_2.3.8_rails5_mysql2.gemfile.lock +234 -0
- data/gemfiles/ruby_2.3.8_rails5_postgres.gemfile +37 -0
- data/gemfiles/ruby_2.3.8_rails5_postgres.gemfile.lock +234 -0
- data/gemfiles/ruby_2.3.8_rails5_postgres_redis.gemfile +38 -0
- data/gemfiles/ruby_2.3.8_rails5_postgres_redis.gemfile.lock +236 -0
- data/gemfiles/ruby_2.3.8_rails5_postgres_redis_activesupport.gemfile +38 -0
- data/gemfiles/ruby_2.3.8_rails5_postgres_redis_activesupport.gemfile.lock +236 -0
- data/gemfiles/ruby_2.3.8_rails5_postgres_sidekiq.gemfile +39 -0
- data/gemfiles/ruby_2.3.8_rails5_postgres_sidekiq.gemfile.lock +245 -0
- data/gemfiles/ruby_2.3.8_resque2_redis3.gemfile +35 -0
- data/gemfiles/ruby_2.3.8_resque2_redis3.gemfile.lock +150 -0
- data/gemfiles/ruby_2.3.8_resque2_redis4.gemfile +35 -0
- data/gemfiles/ruby_2.3.8_resque2_redis4.gemfile.lock +150 -0
- data/gemfiles/ruby_2.4.6_contrib.gemfile +78 -0
- data/gemfiles/ruby_2.4.6_contrib.gemfile.lock +1513 -0
- data/gemfiles/ruby_2.4.6_contrib_old.gemfile +38 -0
- data/gemfiles/ruby_2.4.6_contrib_old.gemfile.lock +155 -0
- data/gemfiles/ruby_2.4.6_core_old.gemfile +37 -0
- data/gemfiles/ruby_2.4.6_core_old.gemfile.lock +151 -0
- data/gemfiles/ruby_2.4.6_cucumber3.gemfile +38 -0
- data/gemfiles/ruby_2.4.6_cucumber3.gemfile.lock +172 -0
- data/gemfiles/ruby_2.4.6_cucumber4.gemfile +38 -0
- data/gemfiles/ruby_2.4.6_cucumber4.gemfile.lock +202 -0
- data/gemfiles/ruby_2.4.6_rails5_mysql2.gemfile +41 -0
- data/gemfiles/ruby_2.4.6_rails5_mysql2.gemfile.lock +262 -0
- data/gemfiles/ruby_2.4.6_rails5_postgres.gemfile +41 -0
- data/gemfiles/ruby_2.4.6_rails5_postgres.gemfile.lock +262 -0
- data/gemfiles/ruby_2.4.6_rails5_postgres_redis.gemfile +42 -0
- data/gemfiles/ruby_2.4.6_rails5_postgres_redis.gemfile.lock +264 -0
- data/gemfiles/ruby_2.4.6_rails5_postgres_redis_activesupport.gemfile +42 -0
- data/gemfiles/ruby_2.4.6_rails5_postgres_redis_activesupport.gemfile.lock +264 -0
- data/gemfiles/ruby_2.4.6_rails5_postgres_sidekiq.gemfile +43 -0
- data/gemfiles/ruby_2.4.6_rails5_postgres_sidekiq.gemfile.lock +273 -0
- data/gemfiles/ruby_2.4.6_resque2_redis3.gemfile +39 -0
- data/gemfiles/ruby_2.4.6_resque2_redis3.gemfile.lock +178 -0
- data/gemfiles/ruby_2.4.6_resque2_redis4.gemfile +39 -0
- data/gemfiles/ruby_2.4.6_resque2_redis4.gemfile.lock +178 -0
- data/gemfiles/ruby_2.5.6_contrib.gemfile +83 -0
- data/gemfiles/ruby_2.5.6_contrib.gemfile.lock +1526 -0
- data/gemfiles/ruby_2.5.6_contrib_old.gemfile +39 -0
- data/gemfiles/ruby_2.5.6_contrib_old.gemfile.lock +165 -0
- data/gemfiles/ruby_2.5.6_core_old.gemfile +38 -0
- data/gemfiles/ruby_2.5.6_core_old.gemfile.lock +161 -0
- data/gemfiles/ruby_2.5.6_cucumber3.gemfile +39 -0
- data/gemfiles/ruby_2.5.6_cucumber3.gemfile.lock +182 -0
- data/gemfiles/ruby_2.5.6_cucumber4.gemfile +39 -0
- data/gemfiles/ruby_2.5.6_cucumber4.gemfile.lock +214 -0
- data/gemfiles/ruby_2.5.6_cucumber5.gemfile +39 -0
- data/gemfiles/ruby_2.5.6_cucumber5.gemfile.lock +214 -0
- data/gemfiles/ruby_2.5.6_rails5_mysql2.gemfile +44 -0
- data/gemfiles/ruby_2.5.6_rails5_mysql2.gemfile.lock +276 -0
- data/gemfiles/ruby_2.5.6_rails5_postgres.gemfile +44 -0
- data/gemfiles/ruby_2.5.6_rails5_postgres.gemfile.lock +276 -0
- data/gemfiles/ruby_2.5.6_rails5_postgres_redis.gemfile +45 -0
- data/gemfiles/ruby_2.5.6_rails5_postgres_redis.gemfile.lock +278 -0
- data/gemfiles/ruby_2.5.6_rails5_postgres_redis_activesupport.gemfile +45 -0
- data/gemfiles/ruby_2.5.6_rails5_postgres_redis_activesupport.gemfile.lock +278 -0
- data/gemfiles/ruby_2.5.6_rails5_postgres_sidekiq.gemfile +46 -0
- data/gemfiles/ruby_2.5.6_rails5_postgres_sidekiq.gemfile.lock +284 -0
- data/gemfiles/ruby_2.5.6_rails61_mysql2.gemfile +44 -0
- data/gemfiles/ruby_2.5.6_rails61_mysql2.gemfile.lock +295 -0
- data/gemfiles/ruby_2.5.6_rails61_postgres.gemfile +44 -0
- data/gemfiles/ruby_2.5.6_rails61_postgres.gemfile.lock +295 -0
- data/gemfiles/ruby_2.5.6_rails61_postgres_redis.gemfile +45 -0
- data/gemfiles/ruby_2.5.6_rails61_postgres_redis.gemfile.lock +297 -0
- data/gemfiles/ruby_2.5.6_rails61_postgres_sidekiq.gemfile +45 -0
- data/gemfiles/ruby_2.5.6_rails61_postgres_sidekiq.gemfile.lock +302 -0
- data/gemfiles/ruby_2.5.6_rails6_mysql2.gemfile +44 -0
- data/gemfiles/ruby_2.5.6_rails6_mysql2.gemfile.lock +292 -0
- data/gemfiles/ruby_2.5.6_rails6_postgres.gemfile +44 -0
- data/gemfiles/ruby_2.5.6_rails6_postgres.gemfile.lock +292 -0
- data/gemfiles/ruby_2.5.6_rails6_postgres_redis.gemfile +45 -0
- data/gemfiles/ruby_2.5.6_rails6_postgres_redis.gemfile.lock +294 -0
- data/gemfiles/ruby_2.5.6_rails6_postgres_redis_activesupport.gemfile +45 -0
- data/gemfiles/ruby_2.5.6_rails6_postgres_redis_activesupport.gemfile.lock +294 -0
- data/gemfiles/ruby_2.5.6_rails6_postgres_sidekiq.gemfile +46 -0
- data/gemfiles/ruby_2.5.6_rails6_postgres_sidekiq.gemfile.lock +300 -0
- data/gemfiles/ruby_2.5.6_resque2_redis3.gemfile +40 -0
- data/gemfiles/ruby_2.5.6_resque2_redis3.gemfile.lock +188 -0
- data/gemfiles/ruby_2.5.6_resque2_redis4.gemfile +40 -0
- data/gemfiles/ruby_2.5.6_resque2_redis4.gemfile.lock +188 -0
- data/gemfiles/ruby_2.6.4_contrib.gemfile +79 -0
- data/gemfiles/ruby_2.6.4_contrib.gemfile.lock +1524 -0
- data/gemfiles/ruby_2.6.4_contrib_old.gemfile +39 -0
- data/gemfiles/ruby_2.6.4_contrib_old.gemfile.lock +167 -0
- data/gemfiles/ruby_2.6.4_core_old.gemfile +38 -0
- data/gemfiles/ruby_2.6.4_core_old.gemfile.lock +163 -0
- data/gemfiles/ruby_2.6.4_cucumber3.gemfile +39 -0
- data/gemfiles/ruby_2.6.4_cucumber3.gemfile.lock +184 -0
- data/gemfiles/ruby_2.6.4_cucumber4.gemfile +39 -0
- data/gemfiles/ruby_2.6.4_cucumber4.gemfile.lock +216 -0
- data/gemfiles/ruby_2.6.4_cucumber5.gemfile +39 -0
- data/gemfiles/ruby_2.6.4_cucumber5.gemfile.lock +216 -0
- data/gemfiles/ruby_2.6.4_rails5_mysql2.gemfile +42 -0
- data/gemfiles/ruby_2.6.4_rails5_mysql2.gemfile.lock +276 -0
- data/gemfiles/ruby_2.6.4_rails5_postgres.gemfile +42 -0
- data/gemfiles/ruby_2.6.4_rails5_postgres.gemfile.lock +276 -0
- data/gemfiles/ruby_2.6.4_rails5_postgres_redis.gemfile +43 -0
- data/gemfiles/ruby_2.6.4_rails5_postgres_redis.gemfile.lock +278 -0
- data/gemfiles/ruby_2.6.4_rails5_postgres_redis_activesupport.gemfile +43 -0
- data/gemfiles/ruby_2.6.4_rails5_postgres_redis_activesupport.gemfile.lock +278 -0
- data/gemfiles/ruby_2.6.4_rails5_postgres_sidekiq.gemfile +44 -0
- data/gemfiles/ruby_2.6.4_rails5_postgres_sidekiq.gemfile.lock +284 -0
- data/gemfiles/ruby_2.6.4_rails61_mysql2.gemfile +42 -0
- data/gemfiles/ruby_2.6.4_rails61_mysql2.gemfile.lock +295 -0
- data/gemfiles/ruby_2.6.4_rails61_postgres.gemfile +42 -0
- data/gemfiles/ruby_2.6.4_rails61_postgres.gemfile.lock +295 -0
- data/gemfiles/ruby_2.6.4_rails61_postgres_redis.gemfile +43 -0
- data/gemfiles/ruby_2.6.4_rails61_postgres_redis.gemfile.lock +297 -0
- data/gemfiles/ruby_2.6.4_rails61_postgres_sidekiq.gemfile +43 -0
- data/gemfiles/ruby_2.6.4_rails61_postgres_sidekiq.gemfile.lock +302 -0
- data/gemfiles/ruby_2.6.4_rails6_mysql2.gemfile +42 -0
- data/gemfiles/ruby_2.6.4_rails6_mysql2.gemfile.lock +292 -0
- data/gemfiles/ruby_2.6.4_rails6_postgres.gemfile +42 -0
- data/gemfiles/ruby_2.6.4_rails6_postgres.gemfile.lock +292 -0
- data/gemfiles/ruby_2.6.4_rails6_postgres_redis.gemfile +43 -0
- data/gemfiles/ruby_2.6.4_rails6_postgres_redis.gemfile.lock +294 -0
- data/gemfiles/ruby_2.6.4_rails6_postgres_redis_activesupport.gemfile +43 -0
- data/gemfiles/ruby_2.6.4_rails6_postgres_redis_activesupport.gemfile.lock +294 -0
- data/gemfiles/ruby_2.6.4_rails6_postgres_sidekiq.gemfile +44 -0
- data/gemfiles/ruby_2.6.4_rails6_postgres_sidekiq.gemfile.lock +300 -0
- data/gemfiles/ruby_2.6.4_resque2_redis3.gemfile +40 -0
- data/gemfiles/ruby_2.6.4_resque2_redis3.gemfile.lock +190 -0
- data/gemfiles/ruby_2.6.4_resque2_redis4.gemfile +40 -0
- data/gemfiles/ruby_2.6.4_resque2_redis4.gemfile.lock +190 -0
- data/gemfiles/ruby_2.7.0_contrib.gemfile +78 -0
- data/gemfiles/ruby_2.7.0_contrib.gemfile.lock +1523 -0
- data/gemfiles/ruby_2.7.0_contrib_old.gemfile +39 -0
- data/gemfiles/ruby_2.7.0_contrib_old.gemfile.lock +167 -0
- data/gemfiles/ruby_2.7.0_core_old.gemfile +38 -0
- data/gemfiles/ruby_2.7.0_core_old.gemfile.lock +163 -0
- data/gemfiles/ruby_2.7.0_cucumber3.gemfile +39 -0
- data/gemfiles/ruby_2.7.0_cucumber3.gemfile.lock +184 -0
- data/gemfiles/ruby_2.7.0_cucumber4.gemfile +39 -0
- data/gemfiles/ruby_2.7.0_cucumber4.gemfile.lock +216 -0
- data/gemfiles/ruby_2.7.0_cucumber5.gemfile +39 -0
- data/gemfiles/ruby_2.7.0_cucumber5.gemfile.lock +216 -0
- data/gemfiles/ruby_2.7.0_rails5_mysql2.gemfile +42 -0
- data/gemfiles/ruby_2.7.0_rails5_mysql2.gemfile.lock +276 -0
- data/gemfiles/ruby_2.7.0_rails5_postgres.gemfile +42 -0
- data/gemfiles/ruby_2.7.0_rails5_postgres.gemfile.lock +276 -0
- data/gemfiles/ruby_2.7.0_rails5_postgres_redis.gemfile +44 -0
- data/gemfiles/ruby_2.7.0_rails5_postgres_redis.gemfile.lock +295 -0
- data/gemfiles/ruby_2.7.0_rails5_postgres_redis_activesupport.gemfile +44 -0
- data/gemfiles/ruby_2.7.0_rails5_postgres_redis_activesupport.gemfile.lock +295 -0
- data/gemfiles/ruby_2.7.0_rails5_postgres_sidekiq.gemfile +44 -0
- data/gemfiles/ruby_2.7.0_rails5_postgres_sidekiq.gemfile.lock +284 -0
- data/gemfiles/ruby_2.7.0_rails61_mysql2.gemfile +42 -0
- data/gemfiles/ruby_2.7.0_rails61_mysql2.gemfile.lock +295 -0
- data/gemfiles/ruby_2.7.0_rails61_postgres.gemfile +42 -0
- data/gemfiles/ruby_2.7.0_rails61_postgres.gemfile.lock +295 -0
- data/gemfiles/ruby_2.7.0_rails61_postgres_redis.gemfile +43 -0
- data/gemfiles/ruby_2.7.0_rails61_postgres_redis.gemfile.lock +297 -0
- data/gemfiles/ruby_2.7.0_rails61_postgres_sidekiq.gemfile +43 -0
- data/gemfiles/ruby_2.7.0_rails61_postgres_sidekiq.gemfile.lock +302 -0
- data/gemfiles/ruby_2.7.0_rails6_mysql2.gemfile +42 -0
- data/gemfiles/ruby_2.7.0_rails6_mysql2.gemfile.lock +292 -0
- data/gemfiles/ruby_2.7.0_rails6_postgres.gemfile +42 -0
- data/gemfiles/ruby_2.7.0_rails6_postgres.gemfile.lock +292 -0
- data/gemfiles/ruby_2.7.0_rails6_postgres_redis.gemfile +44 -0
- data/gemfiles/ruby_2.7.0_rails6_postgres_redis.gemfile.lock +311 -0
- data/gemfiles/ruby_2.7.0_rails6_postgres_redis_activesupport.gemfile +44 -0
- data/gemfiles/ruby_2.7.0_rails6_postgres_redis_activesupport.gemfile.lock +311 -0
- data/gemfiles/ruby_2.7.0_rails6_postgres_sidekiq.gemfile +44 -0
- data/gemfiles/ruby_2.7.0_rails6_postgres_sidekiq.gemfile.lock +300 -0
- data/gemfiles/ruby_2.7.0_resque2_redis3.gemfile +40 -0
- data/gemfiles/ruby_2.7.0_resque2_redis3.gemfile.lock +190 -0
- data/gemfiles/ruby_2.7.0_resque2_redis4.gemfile +40 -0
- data/gemfiles/ruby_2.7.0_resque2_redis4.gemfile.lock +190 -0
- data/gemfiles/ruby_3.0.0_contrib.gemfile +78 -0
- data/gemfiles/ruby_3.0.0_contrib.gemfile.lock +1540 -0
- data/gemfiles/ruby_3.0.0_core_old.gemfile +39 -0
- data/gemfiles/ruby_3.0.0_core_old.gemfile.lock +165 -0
- data/gemfiles/ruby_3.0.0_cucumber3.gemfile +40 -0
- data/gemfiles/ruby_3.0.0_cucumber3.gemfile.lock +186 -0
- data/gemfiles/ruby_3.0.0_cucumber4.gemfile +40 -0
- data/gemfiles/ruby_3.0.0_cucumber4.gemfile.lock +218 -0
- data/gemfiles/ruby_3.0.0_cucumber5.gemfile +40 -0
- data/gemfiles/ruby_3.0.0_cucumber5.gemfile.lock +218 -0
- data/gemfiles/ruby_3.0.0_rails61_mysql2.gemfile +43 -0
- data/gemfiles/ruby_3.0.0_rails61_mysql2.gemfile.lock +295 -0
- data/gemfiles/ruby_3.0.0_rails61_postgres.gemfile +43 -0
- data/gemfiles/ruby_3.0.0_rails61_postgres.gemfile.lock +295 -0
- data/gemfiles/ruby_3.0.0_rails61_postgres_redis.gemfile +44 -0
- data/gemfiles/ruby_3.0.0_rails61_postgres_redis.gemfile.lock +297 -0
- data/gemfiles/ruby_3.0.0_rails61_postgres_sidekiq.gemfile +44 -0
- data/gemfiles/ruby_3.0.0_rails61_postgres_sidekiq.gemfile.lock +302 -0
- data/gemfiles/ruby_3.0.0_resque2_redis3.gemfile +41 -0
- data/gemfiles/ruby_3.0.0_resque2_redis3.gemfile.lock +192 -0
- data/gemfiles/ruby_3.0.0_resque2_redis4.gemfile +41 -0
- data/gemfiles/ruby_3.0.0_resque2_redis4.gemfile.lock +192 -0
- data/integration/README.md +67 -0
- data/integration/apps/rack/.dockerignore +1 -0
- data/integration/apps/rack/.envrc.sample +1 -0
- data/integration/apps/rack/.gitignore +4 -0
- data/integration/apps/rack/.rspec +1 -0
- data/integration/apps/rack/Dockerfile +28 -0
- data/integration/apps/rack/Dockerfile-ci +11 -0
- data/integration/apps/rack/Gemfile +24 -0
- data/integration/apps/rack/README.md +93 -0
- data/integration/apps/rack/app/acme.rb +80 -0
- data/integration/apps/rack/app/datadog.rb +17 -0
- data/integration/apps/rack/bin/run +22 -0
- data/integration/apps/rack/bin/setup +17 -0
- data/integration/apps/rack/bin/test +24 -0
- data/integration/apps/rack/config.ru +6 -0
- data/integration/apps/rack/config/puma.rb +14 -0
- data/integration/apps/rack/config/unicorn.rb +23 -0
- data/integration/apps/rack/docker-compose.ci.yml +62 -0
- data/integration/apps/rack/docker-compose.yml +78 -0
- data/integration/apps/rack/script/build-images +38 -0
- data/integration/apps/rack/script/ci +51 -0
- data/integration/apps/rack/spec/integration/basic_spec.rb +10 -0
- data/integration/apps/rack/spec/spec_helper.rb +16 -0
- data/integration/apps/rack/spec/support/integration_helper.rb +22 -0
- data/integration/apps/rails-five/.dockerignore +1 -0
- data/integration/apps/rails-five/.env +3 -0
- data/integration/apps/rails-five/.envrc.sample +1 -0
- data/integration/apps/rails-five/.gitignore +30 -0
- data/integration/apps/rails-five/Dockerfile +25 -0
- data/integration/apps/rails-five/Dockerfile-ci +11 -0
- data/integration/apps/rails-five/Gemfile +104 -0
- data/integration/apps/rails-five/README.md +94 -0
- data/integration/apps/rails-five/Rakefile +6 -0
- data/integration/apps/rails-five/app/channels/application_cable/channel.rb +4 -0
- data/integration/apps/rails-five/app/channels/application_cable/connection.rb +4 -0
- data/integration/apps/rails-five/app/controllers/application_controller.rb +2 -0
- data/integration/apps/rails-five/app/controllers/basic_controller.rb +36 -0
- data/integration/apps/rails-five/app/controllers/concerns/.keep +0 -0
- data/integration/apps/rails-five/app/controllers/health_controller.rb +9 -0
- data/integration/apps/rails-five/app/controllers/jobs_controller.rb +12 -0
- data/integration/apps/rails-five/app/jobs/application_job.rb +2 -0
- data/integration/apps/rails-five/app/jobs/test_job.rb +12 -0
- data/integration/apps/rails-five/app/mailers/application_mailer.rb +4 -0
- data/integration/apps/rails-five/app/models/application_record.rb +3 -0
- data/integration/apps/rails-five/app/models/concerns/.keep +0 -0
- data/integration/apps/rails-five/app/models/test.rb +2 -0
- data/integration/apps/rails-five/app/views/layouts/mailer.html.erb +13 -0
- data/integration/apps/rails-five/app/views/layouts/mailer.text.erb +1 -0
- data/integration/apps/rails-five/bin/bundle +3 -0
- data/integration/apps/rails-five/bin/rails +9 -0
- data/integration/apps/rails-five/bin/rake +9 -0
- data/integration/apps/rails-five/bin/run +24 -0
- data/integration/apps/rails-five/bin/setup +27 -0
- data/integration/apps/rails-five/bin/spring +17 -0
- data/integration/apps/rails-five/bin/test +21 -0
- data/integration/apps/rails-five/bin/update +28 -0
- data/integration/apps/rails-five/config.ru +5 -0
- data/integration/apps/rails-five/config/application.rb +97 -0
- data/integration/apps/rails-five/config/boot.rb +4 -0
- data/integration/apps/rails-five/config/cable.yml +10 -0
- data/integration/apps/rails-five/config/credentials.yml.enc +1 -0
- data/integration/apps/rails-five/config/database.yml +28 -0
- data/integration/apps/rails-five/config/environment.rb +5 -0
- data/integration/apps/rails-five/config/environments/development.rb +51 -0
- data/integration/apps/rails-five/config/environments/production.rb +82 -0
- data/integration/apps/rails-five/config/environments/test.rb +43 -0
- data/integration/apps/rails-five/config/initializers/datadog.rb +18 -0
- data/integration/apps/rails-five/config/initializers/filter_parameter_logging.rb +4 -0
- data/integration/apps/rails-five/config/initializers/resque.rb +4 -0
- data/integration/apps/rails-five/config/initializers/rollbar.rb +5 -0
- data/integration/apps/rails-five/config/initializers/wrap_parameters.rb +14 -0
- data/integration/apps/rails-five/config/locales/en.yml +33 -0
- data/integration/apps/rails-five/config/puma.rb +24 -0
- data/integration/apps/rails-five/config/routes.rb +11 -0
- data/integration/apps/rails-five/config/spring.rb +6 -0
- data/integration/apps/rails-five/config/unicorn.rb +29 -0
- data/integration/apps/rails-five/db/migrate/20190927215052_create_tests.rb +11 -0
- data/integration/apps/rails-five/db/schema.rb +23 -0
- data/integration/apps/rails-five/db/seeds.rb +7 -0
- data/integration/apps/rails-five/docker-compose.ci.yml +98 -0
- data/integration/apps/rails-five/docker-compose.yml +100 -0
- data/integration/apps/rails-five/lib/tasks/.keep +0 -0
- data/integration/apps/rails-five/log/.keep +0 -0
- data/integration/apps/rails-five/public/robots.txt +1 -0
- data/integration/apps/rails-five/script/build-images +35 -0
- data/integration/apps/rails-five/script/ci +51 -0
- data/integration/apps/rails-five/spec/integration/basic_spec.rb +10 -0
- data/integration/apps/rails-five/spec/spec_helper.rb +16 -0
- data/integration/apps/rails-five/spec/support/integration_helper.rb +22 -0
- data/integration/apps/rails-five/storage/.keep +0 -0
- data/integration/apps/rails-five/tmp/.keep +0 -0
- data/integration/apps/rails-five/vendor/.keep +0 -0
- data/integration/apps/rspec/.dockerignore +1 -0
- data/integration/apps/rspec/.envrc.sample +1 -0
- data/integration/apps/rspec/.gitignore +2 -0
- data/integration/apps/rspec/.rspec +1 -0
- data/integration/apps/rspec/Dockerfile +25 -0
- data/integration/apps/rspec/Dockerfile-ci +11 -0
- data/integration/apps/rspec/Gemfile +14 -0
- data/integration/apps/rspec/README.md +70 -0
- data/integration/apps/rspec/agent.yaml +3 -0
- data/integration/apps/rspec/app/datadog.rb +13 -0
- data/integration/apps/rspec/app/fibonacci.rb +30 -0
- data/integration/apps/rspec/bin/run +20 -0
- data/integration/apps/rspec/bin/setup +17 -0
- data/integration/apps/rspec/bin/test +21 -0
- data/integration/apps/rspec/docker-compose.ci.yml +51 -0
- data/integration/apps/rspec/docker-compose.yml +63 -0
- data/integration/apps/rspec/script/build-images +37 -0
- data/integration/apps/rspec/script/ci +53 -0
- data/integration/apps/rspec/spec/fibonacci_spec.rb +16 -0
- data/integration/apps/rspec/spec/rspec_spec.rb +58 -0
- data/integration/apps/rspec/spec/spec_helper.rb +24 -0
- data/integration/apps/ruby/.dockerignore +1 -0
- data/integration/apps/ruby/.envrc.sample +1 -0
- data/integration/apps/ruby/.gitignore +2 -0
- data/integration/apps/ruby/Dockerfile +25 -0
- data/integration/apps/ruby/Dockerfile-ci +11 -0
- data/integration/apps/ruby/Gemfile +11 -0
- data/integration/apps/ruby/README.md +70 -0
- data/integration/apps/ruby/agent.yaml +3 -0
- data/integration/apps/ruby/app/datadog.rb +13 -0
- data/integration/apps/ruby/app/fibonacci.rb +58 -0
- data/integration/apps/ruby/bin/run +20 -0
- data/integration/apps/ruby/bin/setup +17 -0
- data/integration/apps/ruby/bin/test +21 -0
- data/integration/apps/ruby/docker-compose.ci.yml +51 -0
- data/integration/apps/ruby/docker-compose.yml +63 -0
- data/integration/apps/ruby/script/build-images +38 -0
- data/integration/apps/ruby/script/ci +51 -0
- data/integration/images/agent/Dockerfile +2 -0
- data/integration/images/agent/agent.yaml +3 -0
- data/integration/images/include/datadog/analyzer.rb +71 -0
- data/integration/images/include/datadog/demo_env.rb +101 -0
- data/integration/images/include/http-health-check +33 -0
- data/integration/images/ruby/2.1/Dockerfile +54 -0
- data/integration/images/ruby/2.2/Dockerfile +54 -0
- data/integration/images/ruby/2.3/Dockerfile +70 -0
- data/integration/images/ruby/2.4/Dockerfile +54 -0
- data/integration/images/ruby/2.5/Dockerfile +54 -0
- data/integration/images/ruby/2.6/Dockerfile +54 -0
- data/integration/images/ruby/2.7/Dockerfile +54 -0
- data/integration/images/ruby/3.0/Dockerfile +54 -0
- data/integration/images/wrk/Dockerfile +33 -0
- data/integration/images/wrk/scripts/entrypoint.sh +17 -0
- data/integration/images/wrk/scripts/scenarios/basic/default.lua +1 -0
- data/integration/images/wrk/scripts/scenarios/basic/fibonacci.lua +1 -0
- data/integration/script/build-images +43 -0
- data/lib/datadog/ci.rb +16 -0
- data/lib/datadog/ci/configuration/components.rb +30 -0
- data/lib/datadog/ci/configuration/settings.rb +36 -0
- data/lib/datadog/ci/context_flush.rb +28 -0
- data/lib/datadog/ci/contrib/cucumber/configuration/settings.rb +30 -0
- data/lib/datadog/ci/contrib/cucumber/ext.rb +19 -0
- data/lib/datadog/ci/contrib/cucumber/formatter.rb +97 -0
- data/lib/datadog/ci/contrib/cucumber/instrumentation.rb +26 -0
- data/lib/datadog/ci/contrib/cucumber/integration.rb +47 -0
- data/lib/datadog/ci/contrib/cucumber/patcher.rb +25 -0
- data/lib/datadog/ci/contrib/rspec/configuration/settings.rb +30 -0
- data/lib/datadog/ci/contrib/rspec/example.rb +73 -0
- data/lib/datadog/ci/contrib/rspec/ext.rb +18 -0
- data/lib/datadog/ci/contrib/rspec/integration.rb +48 -0
- data/lib/datadog/ci/contrib/rspec/patcher.rb +25 -0
- data/lib/datadog/ci/ext/app_types.rb +9 -0
- data/lib/datadog/ci/ext/environment.rb +303 -0
- data/lib/datadog/ci/ext/settings.rb +10 -0
- data/lib/datadog/ci/ext/test.rb +28 -0
- data/lib/datadog/ci/extensions.rb +17 -0
- data/lib/datadog/ci/test.rb +63 -0
- data/lib/ddtrace.rb +1 -7
- data/lib/ddtrace/analytics.rb +2 -0
- data/lib/ddtrace/buffer.rb +4 -4
- data/lib/ddtrace/configuration.rb +98 -25
- data/lib/ddtrace/configuration/agent_settings_resolver.rb +230 -0
- data/lib/ddtrace/configuration/base.rb +7 -10
- data/lib/ddtrace/configuration/components.rb +119 -21
- data/lib/ddtrace/configuration/option_definition.rb +1 -3
- data/lib/ddtrace/configuration/options.rb +6 -9
- data/lib/ddtrace/configuration/settings.rb +110 -7
- data/lib/ddtrace/context.rb +22 -20
- data/lib/ddtrace/context_flush.rb +14 -2
- data/lib/ddtrace/context_provider.rb +0 -1
- data/lib/ddtrace/contrib/action_cable/event.rb +5 -4
- data/lib/ddtrace/contrib/action_pack/action_controller/instrumentation.rb +2 -4
- data/lib/ddtrace/contrib/action_pack/action_controller/patcher.rb +1 -1
- data/lib/ddtrace/contrib/action_pack/utils.rb +1 -1
- data/lib/ddtrace/contrib/action_view/event.rb +3 -3
- data/lib/ddtrace/contrib/action_view/patcher.rb +4 -4
- data/lib/ddtrace/contrib/action_view/utils.rb +1 -1
- data/lib/ddtrace/contrib/active_model_serializers/event.rb +2 -2
- data/lib/ddtrace/contrib/active_record/configuration/makara_resolver.rb +30 -0
- data/lib/ddtrace/contrib/active_record/configuration/resolver.rb +107 -18
- data/lib/ddtrace/contrib/active_record/event.rb +2 -2
- data/lib/ddtrace/contrib/active_record/utils.rb +1 -0
- data/lib/ddtrace/contrib/active_support/cache/patcher.rb +7 -7
- data/lib/ddtrace/contrib/active_support/cache/redis.rb +1 -5
- data/lib/ddtrace/contrib/active_support/notifications/event.rb +4 -3
- data/lib/ddtrace/contrib/active_support/notifications/subscriber.rb +2 -1
- data/lib/ddtrace/contrib/active_support/notifications/subscription.rb +9 -5
- data/lib/ddtrace/contrib/auto_instrument.rb +2 -2
- data/lib/ddtrace/contrib/aws/instrumentation.rb +29 -0
- data/lib/ddtrace/contrib/aws/patcher.rb +5 -0
- data/lib/ddtrace/contrib/aws/services.rb +2 -0
- data/lib/ddtrace/contrib/concurrent_ruby/patcher.rb +1 -1
- data/lib/ddtrace/contrib/configurable.rb +64 -40
- data/lib/ddtrace/contrib/configuration/resolver.rb +70 -5
- data/lib/ddtrace/contrib/configuration/resolvers/pattern_resolver.rb +19 -20
- data/lib/ddtrace/contrib/configuration/settings.rb +7 -6
- data/lib/ddtrace/contrib/dalli/instrumentation.rb +1 -1
- data/lib/ddtrace/contrib/dalli/patcher.rb +1 -39
- data/lib/ddtrace/contrib/delayed_job/plugin.rb +0 -1
- data/lib/ddtrace/contrib/elasticsearch/patcher.rb +1 -0
- data/lib/ddtrace/contrib/elasticsearch/quantize.rb +3 -2
- data/lib/ddtrace/contrib/ethon/easy_patch.rb +6 -6
- data/lib/ddtrace/contrib/ethon/multi_patch.rb +1 -1
- data/lib/ddtrace/contrib/ethon/patcher.rb +2 -2
- data/lib/ddtrace/contrib/excon/middleware.rb +2 -6
- data/lib/ddtrace/contrib/extensions.rb +30 -6
- data/lib/ddtrace/contrib/faraday/middleware.rb +1 -3
- data/lib/ddtrace/contrib/faraday/patcher.rb +2 -38
- data/lib/ddtrace/contrib/grape/endpoint.rb +8 -15
- data/lib/ddtrace/contrib/grape/instrumentation.rb +2 -2
- data/lib/ddtrace/contrib/grape/patcher.rb +1 -43
- data/lib/ddtrace/contrib/grpc/datadog_interceptor.rb +8 -8
- data/lib/ddtrace/contrib/grpc/datadog_interceptor/server.rb +1 -0
- data/lib/ddtrace/contrib/grpc/patcher.rb +1 -37
- data/lib/ddtrace/contrib/http/circuit_breaker.rb +1 -3
- data/lib/ddtrace/contrib/http/instrumentation.rb +6 -6
- data/lib/ddtrace/contrib/http/patcher.rb +1 -1
- data/lib/ddtrace/contrib/httpclient/instrumentation.rb +15 -20
- data/lib/ddtrace/contrib/httpclient/patcher.rb +6 -3
- data/lib/ddtrace/contrib/httprb/instrumentation.rb +15 -21
- data/lib/ddtrace/contrib/httprb/patcher.rb +6 -3
- data/lib/ddtrace/contrib/integration.rb +3 -3
- data/lib/ddtrace/contrib/kafka/event.rb +2 -2
- data/lib/ddtrace/contrib/mongodb/instrumentation.rb +4 -2
- data/lib/ddtrace/contrib/mongodb/patcher.rb +2 -2
- data/lib/ddtrace/contrib/mongodb/subscribers.rb +2 -3
- data/lib/ddtrace/contrib/mysql2/instrumentation.rb +1 -1
- data/lib/ddtrace/contrib/mysql2/patcher.rb +1 -1
- data/lib/ddtrace/contrib/patchable.rb +2 -2
- data/lib/ddtrace/contrib/patcher.rb +10 -7
- data/lib/ddtrace/contrib/presto/instrumentation.rb +1 -1
- data/lib/ddtrace/contrib/presto/patcher.rb +6 -3
- data/lib/ddtrace/contrib/qless/patcher.rb +3 -5
- data/lib/ddtrace/contrib/qless/qless_job.rb +1 -0
- data/lib/ddtrace/contrib/qless/tracer_cleaner.rb +1 -0
- data/lib/ddtrace/contrib/que/ext.rb +19 -19
- data/lib/ddtrace/contrib/que/tracer.rb +1 -1
- data/lib/ddtrace/contrib/racecar/event.rb +3 -2
- data/lib/ddtrace/contrib/rack/configuration/settings.rb +3 -3
- data/lib/ddtrace/contrib/rack/middlewares.rb +5 -10
- data/lib/ddtrace/contrib/rack/patcher.rb +1 -3
- data/lib/ddtrace/contrib/rails/patcher.rb +6 -2
- data/lib/ddtrace/contrib/rake/instrumentation.rb +5 -3
- data/lib/ddtrace/contrib/rake/patcher.rb +1 -1
- data/lib/ddtrace/contrib/redis/configuration/resolver.rb +11 -4
- data/lib/ddtrace/contrib/redis/quantize.rb +1 -0
- data/lib/ddtrace/contrib/redis/vendor/LICENSE +20 -0
- data/lib/ddtrace/contrib/redis/vendor/resolver.rb +6 -7
- data/lib/ddtrace/contrib/registerable.rb +2 -2
- data/lib/ddtrace/contrib/registry.rb +2 -2
- data/lib/ddtrace/contrib/resque/configuration/settings.rb +17 -1
- data/lib/ddtrace/contrib/resque/integration.rb +1 -1
- data/lib/ddtrace/contrib/resque/patcher.rb +4 -4
- data/lib/ddtrace/contrib/resque/resque_job.rb +24 -1
- data/lib/ddtrace/contrib/rest_client/patcher.rb +1 -1
- data/lib/ddtrace/contrib/rest_client/request_patch.rb +2 -4
- data/lib/ddtrace/contrib/sequel/database.rb +1 -1
- data/lib/ddtrace/contrib/sequel/dataset.rb +1 -1
- data/lib/ddtrace/contrib/sequel/patcher.rb +2 -2
- data/lib/ddtrace/contrib/sequel/utils.rb +5 -6
- data/lib/ddtrace/contrib/shoryuken/configuration/settings.rb +1 -0
- data/lib/ddtrace/contrib/shoryuken/tracer.rb +7 -4
- data/lib/ddtrace/contrib/sidekiq/server_tracer.rb +2 -7
- data/lib/ddtrace/contrib/sidekiq/tracing.rb +0 -1
- data/lib/ddtrace/contrib/sinatra/env.rb +1 -3
- data/lib/ddtrace/contrib/sinatra/headers.rb +1 -3
- data/lib/ddtrace/contrib/sinatra/patcher.rb +1 -1
- data/lib/ddtrace/contrib/sinatra/tracer.rb +1 -3
- data/lib/ddtrace/contrib/sinatra/tracer_middleware.rb +3 -3
- data/lib/ddtrace/contrib/sneakers/ext.rb +11 -11
- data/lib/ddtrace/contrib/sneakers/tracer.rb +2 -4
- data/lib/ddtrace/contrib/status_code_matcher.rb +5 -3
- data/lib/ddtrace/contrib/sucker_punch/exception_handler.rb +4 -6
- data/lib/ddtrace/contrib/sucker_punch/instrumentation.rb +4 -0
- data/lib/ddtrace/correlation.rb +1 -0
- data/lib/ddtrace/diagnostics/environment_logger.rb +5 -4
- data/lib/ddtrace/distributed_tracing/headers/headers.rb +1 -0
- data/lib/ddtrace/distributed_tracing/headers/helpers.rb +1 -3
- data/lib/ddtrace/error.rb +77 -8
- data/lib/ddtrace/ext/app_types.rb +0 -1
- data/lib/ddtrace/ext/distributed.rb +1 -1
- data/lib/ddtrace/ext/http.rb +1 -1
- data/lib/ddtrace/ext/profiling.rb +53 -0
- data/lib/ddtrace/ext/runtime.rb +3 -1
- data/lib/ddtrace/ext/test.rb +2 -18
- data/lib/ddtrace/ext/transport.rb +2 -0
- data/lib/ddtrace/forced_tracing.rb +2 -0
- data/lib/ddtrace/logger.rb +1 -1
- data/lib/ddtrace/metrics.rb +42 -9
- data/lib/ddtrace/opentelemetry/extensions.rb +1 -1
- data/lib/ddtrace/opentracer.rb +20 -39
- data/lib/ddtrace/opentracer/distributed_headers.rb +3 -0
- data/lib/ddtrace/opentracer/span.rb +2 -6
- data/lib/ddtrace/opentracer/thread_local_scope.rb +1 -0
- data/lib/ddtrace/patcher.rb +27 -6
- data/lib/ddtrace/pin.rb +8 -61
- data/lib/ddtrace/pipeline/span_filter.rb +1 -1
- data/lib/ddtrace/profiling.rb +107 -0
- data/lib/ddtrace/profiling/backtrace_location.rb +32 -0
- data/lib/ddtrace/profiling/buffer.rb +41 -0
- data/lib/ddtrace/profiling/collectors/stack.rb +262 -0
- data/lib/ddtrace/profiling/encoding/profile.rb +37 -0
- data/lib/ddtrace/profiling/event.rb +13 -0
- data/lib/ddtrace/profiling/events/stack.rb +102 -0
- data/lib/ddtrace/profiling/exporter.rb +23 -0
- data/lib/ddtrace/profiling/ext/cpu.rb +52 -0
- data/lib/ddtrace/profiling/ext/cthread.rb +155 -0
- data/lib/ddtrace/profiling/ext/forking.rb +97 -0
- data/lib/ddtrace/profiling/flush.rb +43 -0
- data/lib/ddtrace/profiling/pprof/builder.rb +119 -0
- data/lib/ddtrace/profiling/pprof/converter.rb +89 -0
- data/lib/ddtrace/profiling/pprof/message_set.rb +12 -0
- data/lib/ddtrace/profiling/pprof/payload.rb +18 -0
- data/lib/ddtrace/profiling/pprof/pprof.proto +212 -0
- data/lib/ddtrace/profiling/pprof/pprof_pb.rb +81 -0
- data/lib/ddtrace/profiling/pprof/stack_sample.rb +106 -0
- data/lib/ddtrace/profiling/pprof/string_table.rb +10 -0
- data/lib/ddtrace/profiling/pprof/template.rb +118 -0
- data/lib/ddtrace/profiling/preload.rb +3 -0
- data/lib/ddtrace/profiling/profiler.rb +30 -0
- data/lib/ddtrace/profiling/recorder.rb +95 -0
- data/lib/ddtrace/profiling/scheduler.rb +116 -0
- data/lib/ddtrace/profiling/tasks/setup.rb +77 -0
- data/lib/ddtrace/profiling/transport/client.rb +12 -0
- data/lib/ddtrace/profiling/transport/http.rb +118 -0
- data/lib/ddtrace/profiling/transport/http/api.rb +43 -0
- data/lib/ddtrace/profiling/transport/http/api/endpoint.rb +100 -0
- data/lib/ddtrace/profiling/transport/http/api/instance.rb +36 -0
- data/lib/ddtrace/profiling/transport/http/api/spec.rb +40 -0
- data/lib/ddtrace/profiling/transport/http/builder.rb +28 -0
- data/lib/ddtrace/profiling/transport/http/client.rb +33 -0
- data/lib/ddtrace/profiling/transport/http/response.rb +21 -0
- data/lib/ddtrace/profiling/transport/io.rb +30 -0
- data/lib/ddtrace/profiling/transport/io/client.rb +27 -0
- data/lib/ddtrace/profiling/transport/io/response.rb +16 -0
- data/lib/ddtrace/profiling/transport/parcel.rb +17 -0
- data/lib/ddtrace/profiling/transport/request.rb +15 -0
- data/lib/ddtrace/profiling/transport/response.rb +8 -0
- data/lib/ddtrace/propagation/grpc_propagator.rb +1 -0
- data/lib/ddtrace/quantization/http.rb +1 -0
- data/lib/ddtrace/runtime/cgroup.rb +2 -2
- data/lib/ddtrace/runtime/container.rb +43 -29
- data/lib/ddtrace/runtime/identity.rb +8 -0
- data/lib/ddtrace/runtime/metrics.rb +3 -5
- data/lib/ddtrace/sampler.rb +1 -1
- data/lib/ddtrace/sampling/rule_sampler.rb +4 -9
- data/lib/ddtrace/span.rb +7 -7
- data/lib/ddtrace/sync_writer.rb +14 -13
- data/lib/ddtrace/tasks/exec.rb +48 -0
- data/lib/ddtrace/tasks/help.rb +14 -0
- data/lib/ddtrace/tracer.rb +43 -37
- data/lib/ddtrace/transport/http.rb +41 -31
- data/lib/ddtrace/transport/http/adapters/net.rb +27 -8
- data/lib/ddtrace/transport/http/adapters/registry.rb +1 -0
- data/lib/ddtrace/transport/http/adapters/unix_socket.rb +2 -4
- data/lib/ddtrace/transport/http/builder.rb +7 -1
- data/lib/ddtrace/transport/http/env.rb +8 -0
- data/lib/ddtrace/transport/http/statistics.rb +2 -2
- data/lib/ddtrace/transport/http/traces.rb +5 -6
- data/lib/ddtrace/transport/io.rb +1 -1
- data/lib/ddtrace/transport/io/client.rb +15 -8
- data/lib/ddtrace/transport/io/response.rb +1 -3
- data/lib/ddtrace/transport/io/traces.rb +7 -1
- data/lib/ddtrace/transport/parcel.rb +4 -0
- data/lib/ddtrace/transport/traces.rb +18 -1
- data/lib/ddtrace/utils/compression.rb +27 -0
- data/lib/ddtrace/utils/forking.rb +1 -1
- data/lib/ddtrace/utils/object_set.rb +39 -0
- data/lib/ddtrace/utils/only_once.rb +40 -0
- data/lib/ddtrace/utils/sequence.rb +17 -0
- data/lib/ddtrace/utils/string_table.rb +45 -0
- data/lib/ddtrace/utils/time.rb +32 -3
- data/lib/ddtrace/vendor/active_record/MIT-LICENSE +20 -0
- data/lib/ddtrace/vendor/multipart-post/LICENSE +11 -0
- data/lib/ddtrace/vendor/multipart-post/multipart.rb +12 -0
- data/lib/ddtrace/vendor/multipart-post/multipart/post.rb +8 -0
- data/lib/ddtrace/vendor/multipart-post/multipart/post/composite_read_io.rb +116 -0
- data/lib/ddtrace/vendor/multipart-post/multipart/post/multipartable.rb +57 -0
- data/lib/ddtrace/vendor/multipart-post/multipart/post/parts.rb +135 -0
- data/lib/ddtrace/vendor/multipart-post/multipart/post/version.rb +9 -0
- data/lib/ddtrace/vendor/multipart-post/net/http/post/multipart.rb +32 -0
- data/lib/ddtrace/version.rb +14 -2
- data/lib/ddtrace/workers.rb +6 -1
- data/lib/ddtrace/workers/async.rb +13 -4
- data/lib/ddtrace/workers/loop.rb +31 -5
- data/lib/ddtrace/workers/polling.rb +12 -5
- data/lib/ddtrace/workers/queue.rb +2 -1
- data/lib/ddtrace/workers/runtime_metrics.rb +14 -1
- data/lib/ddtrace/workers/trace_writer.rb +11 -14
- data/lib/ddtrace/writer.rb +11 -5
- metadata +620 -408
- data/lib/ddtrace/augmentation.rb +0 -13
- data/lib/ddtrace/augmentation/method_wrapper.rb +0 -20
- data/lib/ddtrace/augmentation/method_wrapping.rb +0 -38
- data/lib/ddtrace/augmentation/shim.rb +0 -102
- data/lib/ddtrace/contrib/cucumber/configuration/settings.rb +0 -38
- data/lib/ddtrace/contrib/cucumber/ext.rb +0 -19
- data/lib/ddtrace/contrib/cucumber/formatter.rb +0 -104
- data/lib/ddtrace/contrib/cucumber/instrumentation.rb +0 -24
- data/lib/ddtrace/contrib/cucumber/integration.rb +0 -45
- data/lib/ddtrace/contrib/cucumber/patcher.rb +0 -23
- data/lib/ddtrace/contrib/rspec/configuration/settings.rb +0 -38
- data/lib/ddtrace/contrib/rspec/example.rb +0 -61
- data/lib/ddtrace/contrib/rspec/example_group.rb +0 -61
- data/lib/ddtrace/contrib/rspec/ext.rb +0 -19
- data/lib/ddtrace/contrib/rspec/integration.rb +0 -46
- data/lib/ddtrace/contrib/rspec/patcher.rb +0 -25
- data/lib/ddtrace/ext/ci.rb +0 -297
- data/lib/ddtrace/monkey.rb +0 -58
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,172 @@
|
|
2
2
|
|
3
3
|
## [Unreleased]
|
4
4
|
|
5
|
+
## [0.50.0] - 2021-06-07
|
6
|
+
|
7
|
+
Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v0.50.0
|
8
|
+
|
9
|
+
Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.49.0...v0.50.0
|
10
|
+
|
11
|
+
### Added
|
12
|
+
|
13
|
+
- Add warning, update documentation, for incompatible dogstastd-ruby version ([#1544][][#1533][])
|
14
|
+
- Add CI mode and Test mode feature ([#1504][])
|
15
|
+
- Add Gem.loaded_specs fallback behavior if protobuf or dogstatsd-ruby already loaded([#1506][][#1510][])
|
16
|
+
|
17
|
+
### Changed
|
18
|
+
|
19
|
+
- Declare EOL for Ruby 2.0 support ([#1534][])
|
20
|
+
- Rename Thread#native_thread_id to #pthread_thread_id to avoid conflict with Ruby 3.1 ([#1537][])
|
21
|
+
|
22
|
+
### Fixed
|
23
|
+
|
24
|
+
- Fix tracer ignoring value for service tag (service.name) in DD_TAGS ([#1543][])
|
25
|
+
- Fix nested error reporting to correctly walk clause chain ([#1535][])
|
26
|
+
- Fix AWS integration to prevent S3 URL presigning from generating a remote request span ([#1494][])
|
27
|
+
- Fix backtrace handling of exception classes that return nil message ([#1500][]) ([@masato-hi][])
|
28
|
+
|
29
|
+
### Refactored
|
30
|
+
|
31
|
+
- Cleanup Ruby 2.0 Code (dropping Ruby 2.0 support) ([#1529][][#1523][][#1524][][#1509][][#1507][][#1503][][#1502][])
|
32
|
+
|
33
|
+
## [0.49.0] - 2021-05-12
|
34
|
+
|
35
|
+
Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v0.49.0
|
36
|
+
|
37
|
+
Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.48.0...v0.49.0
|
38
|
+
|
39
|
+
### Added
|
40
|
+
|
41
|
+
- Add cause to error stack trace ([#1472][])
|
42
|
+
|
43
|
+
### Changed
|
44
|
+
|
45
|
+
### Fixed
|
46
|
+
|
47
|
+
- Prevent double initialization when auto instrumenting non-Rails applications ([#1497][])
|
48
|
+
- Support kwargs in Ruby 3.0 for sucker_punch ([#1495][]) ([@lloeki][])
|
49
|
+
- Fargate fixes and Container parsing for CGroups ([#1487][][#1480][][#1475][])
|
50
|
+
- Fix ActionPack instrumentation `#starts_with?` error([#1489][])
|
51
|
+
- Doc fixes ([#1473][]) ([@kexoth][])
|
52
|
+
|
53
|
+
### Refactored
|
54
|
+
|
55
|
+
## [0.48.0] - 2021-04-19
|
56
|
+
|
57
|
+
Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v0.48.0
|
58
|
+
|
59
|
+
Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.47.0...v0.48.0
|
60
|
+
|
61
|
+
### Added
|
62
|
+
|
63
|
+
- Makara support with ActiveRecord ([#1447][])
|
64
|
+
- `tag_body` configuration for Shoryuken ([#1449][]) ([@gkampjes][])
|
65
|
+
|
66
|
+
### Changed
|
67
|
+
|
68
|
+
- Add deprecation warning for Ruby 2.0 support ([#1441][])
|
69
|
+
|
70
|
+
Support for Ruby 2.0 will be available up to release `0.49.x`, and dropped from release `0.50.0` and greater.
|
71
|
+
Users are welcome to continue using version `< 0.50.0` for their Ruby 2.0 deployments going forward.
|
72
|
+
|
73
|
+
- Auto instrument Resque workers by default ([#1400][])
|
74
|
+
|
75
|
+
### Fixed
|
76
|
+
|
77
|
+
- Ensure DD_TRACE_SAMPLE_RATE enables full RuleSampler ([#1416][])
|
78
|
+
- Fix Fargate 1.4 container ID not being read ([#1457][])
|
79
|
+
- Correctly close all StatsD clients ([#1429][])
|
80
|
+
|
81
|
+
### Refactored
|
82
|
+
- Improvements to test suite & CI ([#1421][], [#1435][], [#1445][], [#1453][], [#1456][], [#1461][])
|
83
|
+
- Improvements to documentation ([#1455][])
|
84
|
+
|
85
|
+
## [0.47.0] - 2021-03-29
|
86
|
+
|
87
|
+
Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v0.47.0
|
88
|
+
|
89
|
+
Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.46.0...v0.47.0
|
90
|
+
|
91
|
+
### Added
|
92
|
+
|
93
|
+
- Document support for httpx integration ([#1396][]) ([@HoneyryderChuck][])
|
94
|
+
- Schemas to list of supported AWS services ([#1415][]) ([@tomgi][])
|
95
|
+
- Branch test coverage report ([#1343][])
|
96
|
+
|
97
|
+
### Changed
|
98
|
+
|
99
|
+
- **BREAKING** Separate Resolver configuration and resolution steps ([#1319][])
|
100
|
+
|
101
|
+
### ActiveRecord `describes` configuration now supports partial matching
|
102
|
+
|
103
|
+
Partial matching of connection fields (adapter, username, host, port, database) is now allowed. Previously, only an exact match of connections fields would be considered matching. This should help greatly simplify database configuration matching, as you will only need to provide enough fields to correctly separate your distinct database connections.
|
104
|
+
|
105
|
+
If you have a `c.use active_record, describe:` statement in your application that is currently not matching any connections, you might start seeing them match after this release.
|
106
|
+
|
107
|
+
`c.use active_record, describe:` statements that are currently matching a connection will continue to match that same connection.
|
108
|
+
|
109
|
+
You can refer to the [expanded ActiveSupport documentation for details on how to use the new partial matchers and configuration code examples](https://github.com/DataDog/dd-trace-rb/blob/0794be4cd455caf32e7a9c8f79d80a4b77c4087a/docs/GettingStarted.md#active-record).
|
110
|
+
|
111
|
+
### `Datadog::Contrib::Configuration::Resolver` interface changed
|
112
|
+
|
113
|
+
The interface for `Datadog::Contrib::Configuration::Resolver` has changed: custom configuration resolvers that inherit from ``Datadog::Contrib::Configuration::Resolver`` will need be changed to fulfill the new interface. See [code documentation for `Datadog::Contrib::Configuration::Resolver` for specific API requirements](https://github.com/DataDog/dd-trace-rb/blob/0794be4cd455caf32e7a9c8f79d80a4b77c4087a/lib/ddtrace/contrib/configuration/resolver.rb).
|
114
|
+
|
115
|
+
|
116
|
+
- Remove type check from ThreadLocalContext#local. ([#1399][]) ([@orekyuu][])
|
117
|
+
|
118
|
+
### Fixed
|
119
|
+
|
120
|
+
- Support for JRuby 9.2.0.0 ([#1409][])
|
121
|
+
- Failed integration message ([#1394][]) ([@e1senh0rn][])
|
122
|
+
- Addressed "warning: instance variable [@components][] not initialized" ([#1419][])
|
123
|
+
- Close /proc/self/cgroup file after reading ([#1414][])
|
124
|
+
- Improve internal "only once" behavior across the tracer ([#1398][])
|
125
|
+
- Increase thread-safety during tracer initialization ([#1418][])
|
126
|
+
|
127
|
+
### Refactored
|
128
|
+
|
129
|
+
- Use MINIMUM_VERSION in resque compatible? check ([#1426][]) ([@mriddle][])
|
130
|
+
- Lint fixes for Rubocop 1.12.0 release ([#1430][])
|
131
|
+
- Internal tracer improvements ([#1403][])
|
132
|
+
- Improvements to test suite & CI ([#1334][], [#1379][], [#1393][], [#1406][], [#1408][], [#1412][], [#1417][], [#1420][], [#1422][], [#1427][], [#1428][], [#1431][], [#1432][])
|
133
|
+
|
134
|
+
## [0.46.0] - 2021-03-03
|
135
|
+
|
136
|
+
Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v0.46.0
|
137
|
+
|
138
|
+
Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.45.0...v0.46.0
|
139
|
+
|
140
|
+
### Added
|
141
|
+
|
142
|
+
- Add EventBridge to supported AWS services ([#1368][]) ([@tomgi][])
|
143
|
+
- Add `time_now_provider` configuration option ([#1224][])
|
144
|
+
- This new option allows the span `start_time` and `end_time` to be configured in environments that change the default time provider, like with *Timecop*. More information in the [official documentation](https://docs.datadoghq.com/tracing/setup_overview/setup/ruby/#tracer-settings).
|
145
|
+
- Add name to background threads created by ddtrace ([#1366][])
|
146
|
+
|
147
|
+
### Changed
|
148
|
+
|
149
|
+
- Rework RSpec instrumentation as separate traces for each test ([#1381][])
|
150
|
+
|
151
|
+
### Fixed
|
152
|
+
|
153
|
+
- ArgumentError: wrong number of arguments (given 2, expected 0) due to concurrent `require` ([#1306][], [#1354][]) ([@EvNomad][])
|
154
|
+
- Fix Rails' deprecation warnings ([#1352][])
|
155
|
+
- Fully populate Rake span fields on exceptions ([#1377][])
|
156
|
+
- Fix a typo in `httpclient` integration ([#1365][]) ([@y-yagi][])
|
157
|
+
- Add missing license files for vendor'd code ([#1346][])
|
158
|
+
|
159
|
+
### Refactored
|
160
|
+
|
161
|
+
- Improvements to test suite & CI ([#1277][], [#1305][], [#1336][], [#1350][], [#1353][], [#1357][], [#1367][], [#1369][], [#1370][], [#1371][], [#1374][], [#1380][])
|
162
|
+
- Improvements to documentation ([#1332][])
|
163
|
+
|
164
|
+
### Removed
|
165
|
+
|
166
|
+
- Remove deprecated Datadog::Monkey ([#1341][])
|
167
|
+
- Remove deprecated Datadog::DeprecatedPin ([#1342][])
|
168
|
+
- Remove unused Shim/MethodWrapper/MethodWrapping ([#1347][])
|
169
|
+
- Remove APP_ANALYTICS from tests instrumentation ([#1378][]) ([@AdrianLC][])
|
170
|
+
|
5
171
|
## [0.45.0] - 2021-01-26
|
6
172
|
|
7
173
|
Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v0.45.0
|
@@ -1546,7 +1712,10 @@ Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v0.3.1
|
|
1546
1712
|
|
1547
1713
|
Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
|
1548
1714
|
|
1549
|
-
[Unreleased]: https://github.com/DataDog/dd-trace-rb/compare/v0.
|
1715
|
+
[Unreleased]: https://github.com/DataDog/dd-trace-rb/compare/v0.48.0...master
|
1716
|
+
[0.48.0]: https://github.com/DataDog/dd-trace-rb/compare/v0.47.0...v0.48.0
|
1717
|
+
[0.47.0]: https://github.com/DataDog/dd-trace-rb/compare/v0.46.0...v0.47.0
|
1718
|
+
[0.46.0]: https://github.com/DataDog/dd-trace-rb/compare/v0.45.0...v0.46.0
|
1550
1719
|
[0.45.0]: https://github.com/DataDog/dd-trace-rb/compare/v0.44.0...v0.45.0
|
1551
1720
|
[0.44.0]: https://github.com/DataDog/dd-trace-rb/compare/v0.43.0...v0.44.0
|
1552
1721
|
[0.43.0]: https://github.com/DataDog/dd-trace-rb/compare/v0.42.0...v0.43.0
|
@@ -2097,6 +2266,7 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
|
|
2097
2266
|
[#1217]: https://github.com/DataDog/dd-trace-rb/issues/1217
|
2098
2267
|
[#1218]: https://github.com/DataDog/dd-trace-rb/issues/1218
|
2099
2268
|
[#1220]: https://github.com/DataDog/dd-trace-rb/issues/1220
|
2269
|
+
[#1224]: https://github.com/DataDog/dd-trace-rb/issues/1224
|
2100
2270
|
[#1225]: https://github.com/DataDog/dd-trace-rb/issues/1225
|
2101
2271
|
[#1226]: https://github.com/DataDog/dd-trace-rb/issues/1226
|
2102
2272
|
[#1227]: https://github.com/DataDog/dd-trace-rb/issues/1227
|
@@ -2146,21 +2316,116 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
|
|
2146
2316
|
[#1302]: https://github.com/DataDog/dd-trace-rb/issues/1302
|
2147
2317
|
[#1303]: https://github.com/DataDog/dd-trace-rb/issues/1303
|
2148
2318
|
[#1304]: https://github.com/DataDog/dd-trace-rb/issues/1304
|
2319
|
+
[#1305]: https://github.com/DataDog/dd-trace-rb/issues/1305
|
2320
|
+
[#1306]: https://github.com/DataDog/dd-trace-rb/issues/1306
|
2149
2321
|
[#1307]: https://github.com/DataDog/dd-trace-rb/issues/1307
|
2150
2322
|
[#1309]: https://github.com/DataDog/dd-trace-rb/issues/1309
|
2151
2323
|
[#1311]: https://github.com/DataDog/dd-trace-rb/issues/1311
|
2152
2324
|
[#1317]: https://github.com/DataDog/dd-trace-rb/issues/1317
|
2153
2325
|
[#1318]: https://github.com/DataDog/dd-trace-rb/issues/1318
|
2326
|
+
[#1319]: https://github.com/DataDog/dd-trace-rb/issues/1319
|
2154
2327
|
[#1320]: https://github.com/DataDog/dd-trace-rb/issues/1320
|
2155
2328
|
[#1321]: https://github.com/DataDog/dd-trace-rb/issues/1321
|
2156
2329
|
[#1323]: https://github.com/DataDog/dd-trace-rb/issues/1323
|
2157
2330
|
[#1325]: https://github.com/DataDog/dd-trace-rb/issues/1325
|
2158
2331
|
[#1326]: https://github.com/DataDog/dd-trace-rb/issues/1326
|
2159
2332
|
[#1331]: https://github.com/DataDog/dd-trace-rb/issues/1331
|
2333
|
+
[#1332]: https://github.com/DataDog/dd-trace-rb/issues/1332
|
2334
|
+
[#1334]: https://github.com/DataDog/dd-trace-rb/issues/1334
|
2335
|
+
[#1336]: https://github.com/DataDog/dd-trace-rb/issues/1336
|
2336
|
+
[#1341]: https://github.com/DataDog/dd-trace-rb/issues/1341
|
2337
|
+
[#1342]: https://github.com/DataDog/dd-trace-rb/issues/1342
|
2338
|
+
[#1343]: https://github.com/DataDog/dd-trace-rb/issues/1343
|
2339
|
+
[#1346]: https://github.com/DataDog/dd-trace-rb/issues/1346
|
2340
|
+
[#1347]: https://github.com/DataDog/dd-trace-rb/issues/1347
|
2341
|
+
[#1350]: https://github.com/DataDog/dd-trace-rb/issues/1350
|
2342
|
+
[#1352]: https://github.com/DataDog/dd-trace-rb/issues/1352
|
2343
|
+
[#1353]: https://github.com/DataDog/dd-trace-rb/issues/1353
|
2344
|
+
[#1354]: https://github.com/DataDog/dd-trace-rb/issues/1354
|
2345
|
+
[#1357]: https://github.com/DataDog/dd-trace-rb/issues/1357
|
2346
|
+
[#1365]: https://github.com/DataDog/dd-trace-rb/issues/1365
|
2347
|
+
[#1366]: https://github.com/DataDog/dd-trace-rb/issues/1366
|
2348
|
+
[#1367]: https://github.com/DataDog/dd-trace-rb/issues/1367
|
2349
|
+
[#1368]: https://github.com/DataDog/dd-trace-rb/issues/1368
|
2350
|
+
[#1369]: https://github.com/DataDog/dd-trace-rb/issues/1369
|
2351
|
+
[#1370]: https://github.com/DataDog/dd-trace-rb/issues/1370
|
2352
|
+
[#1371]: https://github.com/DataDog/dd-trace-rb/issues/1371
|
2353
|
+
[#1374]: https://github.com/DataDog/dd-trace-rb/issues/1374
|
2354
|
+
[#1377]: https://github.com/DataDog/dd-trace-rb/issues/1377
|
2355
|
+
[#1378]: https://github.com/DataDog/dd-trace-rb/issues/1378
|
2356
|
+
[#1379]: https://github.com/DataDog/dd-trace-rb/issues/1379
|
2357
|
+
[#1380]: https://github.com/DataDog/dd-trace-rb/issues/1380
|
2358
|
+
[#1381]: https://github.com/DataDog/dd-trace-rb/issues/1381
|
2359
|
+
[#1393]: https://github.com/DataDog/dd-trace-rb/issues/1393
|
2360
|
+
[#1394]: https://github.com/DataDog/dd-trace-rb/issues/1394
|
2361
|
+
[#1396]: https://github.com/DataDog/dd-trace-rb/issues/1396
|
2362
|
+
[#1398]: https://github.com/DataDog/dd-trace-rb/issues/1398
|
2363
|
+
[#1399]: https://github.com/DataDog/dd-trace-rb/issues/1399
|
2364
|
+
[#1400]: https://github.com/DataDog/dd-trace-rb/issues/1400
|
2365
|
+
[#1403]: https://github.com/DataDog/dd-trace-rb/issues/1403
|
2366
|
+
[#1406]: https://github.com/DataDog/dd-trace-rb/issues/1406
|
2367
|
+
[#1408]: https://github.com/DataDog/dd-trace-rb/issues/1408
|
2368
|
+
[#1409]: https://github.com/DataDog/dd-trace-rb/issues/1409
|
2369
|
+
[#1412]: https://github.com/DataDog/dd-trace-rb/issues/1412
|
2370
|
+
[#1414]: https://github.com/DataDog/dd-trace-rb/issues/1414
|
2371
|
+
[#1415]: https://github.com/DataDog/dd-trace-rb/issues/1415
|
2372
|
+
[#1416]: https://github.com/DataDog/dd-trace-rb/issues/1416
|
2373
|
+
[#1417]: https://github.com/DataDog/dd-trace-rb/issues/1417
|
2374
|
+
[#1418]: https://github.com/DataDog/dd-trace-rb/issues/1418
|
2375
|
+
[#1419]: https://github.com/DataDog/dd-trace-rb/issues/1419
|
2376
|
+
[#1420]: https://github.com/DataDog/dd-trace-rb/issues/1420
|
2377
|
+
[#1421]: https://github.com/DataDog/dd-trace-rb/issues/1421
|
2378
|
+
[#1422]: https://github.com/DataDog/dd-trace-rb/issues/1422
|
2379
|
+
[#1426]: https://github.com/DataDog/dd-trace-rb/issues/1426
|
2380
|
+
[#1427]: https://github.com/DataDog/dd-trace-rb/issues/1427
|
2381
|
+
[#1428]: https://github.com/DataDog/dd-trace-rb/issues/1428
|
2382
|
+
[#1429]: https://github.com/DataDog/dd-trace-rb/issues/1429
|
2383
|
+
[#1430]: https://github.com/DataDog/dd-trace-rb/issues/1430
|
2384
|
+
[#1431]: https://github.com/DataDog/dd-trace-rb/issues/1431
|
2385
|
+
[#1432]: https://github.com/DataDog/dd-trace-rb/issues/1432
|
2386
|
+
[#1435]: https://github.com/DataDog/dd-trace-rb/issues/1435
|
2387
|
+
[#1441]: https://github.com/DataDog/dd-trace-rb/issues/1441
|
2388
|
+
[#1445]: https://github.com/DataDog/dd-trace-rb/issues/1445
|
2389
|
+
[#1447]: https://github.com/DataDog/dd-trace-rb/issues/1447
|
2390
|
+
[#1449]: https://github.com/DataDog/dd-trace-rb/issues/1449
|
2391
|
+
[#1453]: https://github.com/DataDog/dd-trace-rb/issues/1453
|
2392
|
+
[#1455]: https://github.com/DataDog/dd-trace-rb/issues/1455
|
2393
|
+
[#1456]: https://github.com/DataDog/dd-trace-rb/issues/1456
|
2394
|
+
[#1457]: https://github.com/DataDog/dd-trace-rb/issues/1457
|
2395
|
+
[#1461]: https://github.com/DataDog/dd-trace-rb/issues/1461
|
2396
|
+
[#1472]: https://github.com/DataDog/dd-trace-rb/issues/1472
|
2397
|
+
[#1473]: https://github.com/DataDog/dd-trace-rb/issues/1473
|
2398
|
+
[#1475]: https://github.com/DataDog/dd-trace-rb/issues/1475
|
2399
|
+
[#1480]: https://github.com/DataDog/dd-trace-rb/issues/1480
|
2400
|
+
[#1487]: https://github.com/DataDog/dd-trace-rb/issues/1487
|
2401
|
+
[#1489]: https://github.com/DataDog/dd-trace-rb/issues/1489
|
2402
|
+
[#1494]: https://github.com/DataDog/dd-trace-rb/issues/1494
|
2403
|
+
[#1495]: https://github.com/DataDog/dd-trace-rb/issues/1495
|
2404
|
+
[#1497]: https://github.com/DataDog/dd-trace-rb/issues/1497
|
2405
|
+
[#1500]: https://github.com/DataDog/dd-trace-rb/issues/1500
|
2406
|
+
[#1502]: https://github.com/DataDog/dd-trace-rb/issues/1502
|
2407
|
+
[#1503]: https://github.com/DataDog/dd-trace-rb/issues/1503
|
2408
|
+
[#1504]: https://github.com/DataDog/dd-trace-rb/issues/1504
|
2409
|
+
[#1506]: https://github.com/DataDog/dd-trace-rb/issues/1506
|
2410
|
+
[#1507]: https://github.com/DataDog/dd-trace-rb/issues/1507
|
2411
|
+
[#1509]: https://github.com/DataDog/dd-trace-rb/issues/1509
|
2412
|
+
[#1510]: https://github.com/DataDog/dd-trace-rb/issues/1510
|
2413
|
+
[#1523]: https://github.com/DataDog/dd-trace-rb/issues/1523
|
2414
|
+
[#1524]: https://github.com/DataDog/dd-trace-rb/issues/1524
|
2415
|
+
[#1529]: https://github.com/DataDog/dd-trace-rb/issues/1529
|
2416
|
+
[#1533]: https://github.com/DataDog/dd-trace-rb/issues/1533
|
2417
|
+
[#1534]: https://github.com/DataDog/dd-trace-rb/issues/1534
|
2418
|
+
[#1535]: https://github.com/DataDog/dd-trace-rb/issues/1535
|
2419
|
+
[#1537]: https://github.com/DataDog/dd-trace-rb/issues/1537
|
2420
|
+
[#1543]: https://github.com/DataDog/dd-trace-rb/issues/1543
|
2421
|
+
[#1544]: https://github.com/DataDog/dd-trace-rb/issues/1544
|
2422
|
+
[@AdrianLC]: https://github.com/AdrianLC
|
2160
2423
|
[@Azure7111]: https://github.com/Azure7111
|
2161
2424
|
[@BabyGroot]: https://github.com/BabyGroot
|
2162
2425
|
[@DocX]: https://github.com/DocX
|
2163
2426
|
[@EpiFouloux]: https://github.com/EpiFouloux
|
2427
|
+
[@EvNomad]: https://github.com/EvNomad
|
2428
|
+
[@HoneyryderChuck]: https://github.com/HoneyryderChuck
|
2164
2429
|
[@JamesHarker]: https://github.com/JamesHarker
|
2165
2430
|
[@Jared-Prime]: https://github.com/Jared-Prime
|
2166
2431
|
[@Joas1988]: https://github.com/Joas1988
|
@@ -2189,6 +2454,7 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
|
|
2189
2454
|
[@callumj]: https://github.com/callumj
|
2190
2455
|
[@cjford]: https://github.com/cjford
|
2191
2456
|
[@ck3g]: https://github.com/ck3g
|
2457
|
+
[@components]: https://github.com/components
|
2192
2458
|
[@cswatt]: https://github.com/cswatt
|
2193
2459
|
[@dasch]: https://github.com/dasch
|
2194
2460
|
[@dim]: https://github.com/dim
|
@@ -2196,6 +2462,7 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
|
|
2196
2462
|
[@djmb]: https://github.com/djmb
|
2197
2463
|
[@dorner]: https://github.com/dorner
|
2198
2464
|
[@drcapulet]: https://github.com/drcapulet
|
2465
|
+
[@e1senh0rn]: https://github.com/e1senh0rn
|
2199
2466
|
[@elyalvarado]: https://github.com/elyalvarado
|
2200
2467
|
[@ericmustin]: https://github.com/ericmustin
|
2201
2468
|
[@erict-square]: https://github.com/erict-square
|
@@ -2206,6 +2473,7 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
|
|
2206
2473
|
[@gaborszakacs]: https://github.com/gaborszakacs
|
2207
2474
|
[@giancarlocosta]: https://github.com/giancarlocosta
|
2208
2475
|
[@gingerlime]: https://github.com/gingerlime
|
2476
|
+
[@gkampjes]: https://github.com/gkampjes
|
2209
2477
|
[@gottfrois]: https://github.com/gottfrois
|
2210
2478
|
[@guizmaii]: https://github.com/guizmaii
|
2211
2479
|
[@hawknewton]: https://github.com/hawknewton
|
@@ -2219,21 +2487,26 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
|
|
2219
2487
|
[@jpaulgs]: https://github.com/jpaulgs
|
2220
2488
|
[@jvalanen]: https://github.com/jvalanen
|
2221
2489
|
[@kelvin-acosta]: https://github.com/kelvin-acosta
|
2490
|
+
[@kexoth]: https://github.com/kexoth
|
2222
2491
|
[@kissrobber]: https://github.com/kissrobber
|
2223
2492
|
[@kitop]: https://github.com/kitop
|
2224
2493
|
[@letiesperon]: https://github.com/letiesperon
|
2225
2494
|
[@link04]: https://github.com/link04
|
2495
|
+
[@lloeki]: https://github.com/lloeki
|
2226
2496
|
[@mantrala]: https://github.com/mantrala
|
2497
|
+
[@masato-hi]: https://github.com/masato-hi
|
2227
2498
|
[@matchbookmac]: https://github.com/matchbookmac
|
2228
2499
|
[@mberlanda]: https://github.com/mberlanda
|
2229
2500
|
[@mdehoog]: https://github.com/mdehoog
|
2230
2501
|
[@mdross95]: https://github.com/mdross95
|
2231
2502
|
[@michaelkl]: https://github.com/michaelkl
|
2503
|
+
[@mriddle]: https://github.com/mriddle
|
2232
2504
|
[@mstruve]: https://github.com/mstruve
|
2233
2505
|
[@mustela]: https://github.com/mustela
|
2234
2506
|
[@nic-lan]: https://github.com/nic-lan
|
2235
2507
|
[@noma4i]: https://github.com/noma4i
|
2236
2508
|
[@norbertnytko]: https://github.com/norbertnytko
|
2509
|
+
[@orekyuu]: https://github.com/orekyuu
|
2237
2510
|
[@palin]: https://github.com/palin
|
2238
2511
|
[@pj0tr]: https://github.com/pj0tr
|
2239
2512
|
[@psycholein]: https://github.com/psycholein
|
@@ -2255,6 +2528,7 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
|
|
2255
2528
|
[@tjgrathwell]: https://github.com/tjgrathwell
|
2256
2529
|
[@tjwp]: https://github.com/tjwp
|
2257
2530
|
[@tomasv]: https://github.com/tomasv
|
2531
|
+
[@tomgi]: https://github.com/tomgi
|
2258
2532
|
[@tonypinder]: https://github.com/tonypinder
|
2259
2533
|
[@twe4ked]: https://github.com/twe4ked
|
2260
2534
|
[@undergroundwebdesigns]: https://github.com/undergroundwebdesigns
|
data/Gemfile
CHANGED
@@ -2,8 +2,68 @@ source 'https://rubygems.org'
|
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
# Development dependencies
|
6
|
+
gem 'addressable', '~> 2.4.0' # locking transitive dependency of webmock
|
7
|
+
gem 'appraisal', '~> 2.2'
|
8
|
+
gem 'benchmark-ips', '~> 2.8'
|
9
|
+
gem 'benchmark-memory', '~> 0.1'
|
10
|
+
gem 'builder'
|
11
|
+
gem 'climate_control', '~> 0.2.0'
|
12
|
+
# Leave it open as we also have it as an integration and want Appraisal to control the version under test.
|
13
|
+
gem 'concurrent-ruby'
|
14
|
+
gem 'memory_profiler', '~> 0.9'
|
15
|
+
gem 'minitest', '= 5.10.1'
|
16
|
+
gem 'minitest-around', '0.5.0'
|
17
|
+
gem 'minitest-stub_any_instance', '1.0.2'
|
18
|
+
gem 'pimpmychangelog', '>= 0.1.2'
|
19
|
+
gem 'pry'
|
20
|
+
if RUBY_PLATFORM != 'java'
|
21
|
+
# There's a few incompatibilities between pry/pry-byebug on older Rubies
|
22
|
+
gem 'pry-byebug' if RUBY_VERSION >= '2.6.0' && RUBY_ENGINE != 'truffleruby'
|
23
|
+
gem 'pry-nav' if RUBY_VERSION < '2.6.0'
|
24
|
+
gem 'pry-stack_explorer'
|
25
|
+
else
|
26
|
+
gem 'pry-debugger-jruby'
|
7
27
|
end
|
28
|
+
gem 'rake', '>= 10.5'
|
29
|
+
gem 'redcarpet', '~> 3.4' if RUBY_PLATFORM != 'java'
|
30
|
+
gem 'rspec', '~> 3.10'
|
31
|
+
gem 'rspec-collection_matchers', '~> 1.1'
|
32
|
+
gem 'rspec_junit_formatter', '>= 0.4.1'
|
33
|
+
gem 'rspec_n', '~> 1.3' if RUBY_VERSION >= '2.3.0'
|
34
|
+
gem 'ruby-prof', '~> 1.4' if RUBY_PLATFORM != 'java' && RUBY_VERSION >= '2.4.0'
|
35
|
+
if RUBY_VERSION >= '2.5.0'
|
36
|
+
# Merging branch coverage results does not work for old, unsupported rubies.
|
37
|
+
# We have a fix up for review, https://github.com/simplecov-ruby/simplecov/pull/972,
|
38
|
+
# but given it only affects unsupported version of Ruby, it might not get merged.
|
39
|
+
gem 'simplecov', git: 'https://github.com/DataDog/simplecov', ref: '3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db'
|
40
|
+
else
|
41
|
+
# Compatible with older rubies. This version still produces compatible output
|
42
|
+
# with a newer version when the reports are merged.
|
43
|
+
gem 'simplecov', '~> 0.17'
|
44
|
+
end
|
45
|
+
gem 'warning', '~> 1' if RUBY_VERSION >= '2.5.0'
|
46
|
+
gem 'webmock', '>= 3.10.0'
|
47
|
+
if RUBY_VERSION < '2.3.0'
|
48
|
+
gem 'rexml', '< 3.2.5' # Pinned due to https://github.com/ruby/rexml/issues/69
|
49
|
+
end
|
50
|
+
gem 'webrick', '>= 1.7.0' if RUBY_VERSION >= '3.0.0' # No longer bundled by default since Ruby 3.0
|
51
|
+
gem 'yard', '~> 0.9'
|
52
|
+
|
53
|
+
if RUBY_VERSION >= '2.4.0'
|
54
|
+
gem 'rubocop', '~> 1.10', require: false
|
55
|
+
gem 'rubocop-performance', '~> 1.9', require: false
|
56
|
+
gem 'rubocop-rspec', '~> 2.2', require: false
|
57
|
+
end
|
58
|
+
|
59
|
+
# Optional extensions
|
60
|
+
# TODO: Move this to Appraisals?
|
61
|
+
gem 'dogstatsd-ruby', '>= 3.3.0'
|
62
|
+
gem 'opentracing', '>= 0.4.1'
|
8
63
|
|
9
|
-
#
|
64
|
+
# Profiler optional dependencies
|
65
|
+
# NOTE: We're excluding versions 3.7.0 and 3.7.1 for the reasons documented in #1424 and the big comment in
|
66
|
+
# lib/ddtrace/profiling.rb: it breaks for some older rubies in CI without BUNDLE_FORCE_RUBY_PLATFORM=true.
|
67
|
+
# Since most of our customers won't have BUNDLE_FORCE_RUBY_PLATFORM=true, it's not something we want to add
|
68
|
+
# to our CI, so we just shortcut and exclude specific versions that were affecting our CI.
|
69
|
+
gem 'google-protobuf', ['~> 3.0', '!= 3.7.0', '!= 3.7.1'] if RUBY_PLATFORM != 'java'
|
data/Rakefile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'bundler/gem_tasks'
|
2
2
|
require 'ddtrace/version'
|
3
|
-
require 'rubocop/rake_task' if Gem
|
3
|
+
require 'rubocop/rake_task' if Gem.loaded_specs.key? 'rubocop'
|
4
4
|
require 'rspec/core/rake_task'
|
5
5
|
require 'rake/testtask'
|
6
6
|
require 'appraisal'
|
@@ -87,6 +87,7 @@ namespace :spec do
|
|
87
87
|
t.rspec_opts = args.to_a.join(' ')
|
88
88
|
end
|
89
89
|
|
90
|
+
# Datadog Tracing integrations
|
90
91
|
[
|
91
92
|
:action_cable,
|
92
93
|
:action_pack,
|
@@ -135,20 +136,29 @@ namespace :spec do
|
|
135
136
|
t.rspec_opts = args.to_a.join(' ')
|
136
137
|
end
|
137
138
|
end
|
139
|
+
|
140
|
+
# Datadog CI integrations
|
141
|
+
[
|
142
|
+
:cucumber,
|
143
|
+
:rspec
|
144
|
+
].each do |contrib|
|
145
|
+
RSpec::Core::RakeTask.new(contrib) do |t, args|
|
146
|
+
t.pattern = "spec/datadog/ci/contrib/#{contrib}/**/*_spec.rb"
|
147
|
+
t.rspec_opts = args.to_a.join(' ')
|
148
|
+
end
|
149
|
+
end
|
138
150
|
end
|
139
151
|
|
140
152
|
namespace :test do
|
141
153
|
task all: [:main,
|
142
|
-
:rails
|
143
|
-
:monkey]
|
154
|
+
:rails]
|
144
155
|
|
145
156
|
Rake::TestTask.new(:main) do |t|
|
146
157
|
t.libs << %w[test lib]
|
147
158
|
t.test_files = FileList['test/**/*_test.rb'].reject do |path|
|
148
159
|
path.include?('contrib') ||
|
149
160
|
path.include?('benchmark') ||
|
150
|
-
path.include?('redis')
|
151
|
-
path.include?('monkey_test.rb')
|
161
|
+
path.include?('redis')
|
152
162
|
end
|
153
163
|
end
|
154
164
|
|
@@ -156,19 +166,6 @@ namespace :test do
|
|
156
166
|
t.libs << %w[test lib]
|
157
167
|
t.test_files = FileList['test/contrib/rails/**/*_test.rb']
|
158
168
|
end
|
159
|
-
|
160
|
-
[
|
161
|
-
].each do |contrib|
|
162
|
-
Rake::TestTask.new(contrib) do |t|
|
163
|
-
t.libs << %w[test lib]
|
164
|
-
t.test_files = FileList["test/contrib/#{contrib}/*_test.rb"]
|
165
|
-
end
|
166
|
-
end
|
167
|
-
|
168
|
-
Rake::TestTask.new(:monkey) do |t|
|
169
|
-
t.libs << %w[test lib]
|
170
|
-
t.test_files = FileList['test/monkey_test.rb']
|
171
|
-
end
|
172
169
|
end
|
173
170
|
|
174
171
|
Rake::TestTask.new(:benchmark) do |t|
|
@@ -176,7 +173,7 @@ Rake::TestTask.new(:benchmark) do |t|
|
|
176
173
|
t.test_files = FileList['test/benchmark_test.rb']
|
177
174
|
end
|
178
175
|
|
179
|
-
if
|
176
|
+
if defined?(RuboCop::RakeTask)
|
180
177
|
RuboCop::RakeTask.new(:rubocop) do |t|
|
181
178
|
t.options << ['-D', '--force-exclusion']
|
182
179
|
t.patterns = ['lib/**/*.rb', 'test/**/*.rb', 'spec/**/*.rb', 'Gemfile', 'Rakefile']
|
@@ -196,6 +193,7 @@ S3_DIR = ENV['S3_DIR']
|
|
196
193
|
desc 'release the docs website'
|
197
194
|
task :'release:docs' => :docs do
|
198
195
|
raise 'Missing environment variable S3_DIR' if !S3_DIR || S3_DIR.empty?
|
196
|
+
|
199
197
|
sh "aws s3 cp --recursive doc/ s3://#{S3_BUCKET}/#{S3_DIR}/docs/"
|
200
198
|
end
|
201
199
|
|
@@ -205,6 +203,14 @@ def declare(*args)
|
|
205
203
|
total_executors = ENV.key?('CIRCLE_NODE_TOTAL') ? ENV['CIRCLE_NODE_TOTAL'].to_i : nil
|
206
204
|
current_executor = ENV.key?('CIRCLE_NODE_INDEX') ? ENV['CIRCLE_NODE_INDEX'].to_i : nil
|
207
205
|
|
206
|
+
ruby_runtime = if defined?(RUBY_ENGINE_VERSION)
|
207
|
+
"#{RUBY_ENGINE}-#{RUBY_ENGINE_VERSION}"
|
208
|
+
else
|
209
|
+
"#{RUBY_ENGINE}-#{RUBY_VERSION}" # For Ruby < 2.3
|
210
|
+
end
|
211
|
+
|
212
|
+
args[0].sub!(/^bundle exec appraisal /, "bundle exec appraisal #{ruby_runtime}-")
|
213
|
+
|
208
214
|
if total_executors && current_executor && total_executors > 1
|
209
215
|
@execution_count ||= 0
|
210
216
|
@execution_count += 1
|
@@ -218,380 +224,317 @@ desc 'CI task; it runs all tests for current version of Ruby'
|
|
218
224
|
task :ci do
|
219
225
|
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new(Datadog::VERSION::MINIMUM_RUBY_VERSION)
|
220
226
|
raise NotImplementedError, "Ruby versions < #{Datadog::VERSION::MINIMUM_RUBY_VERSION} are not supported!"
|
221
|
-
elsif Gem::Version.new('2.0.0') <= Gem::Version.new(RUBY_VERSION) \
|
222
|
-
&& Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.1.0')
|
223
|
-
# Main library
|
224
|
-
declare 'bundle exec rake test:main'
|
225
|
-
declare 'bundle exec rake spec:main'
|
226
|
-
declare 'bundle exec rake spec:contrib'
|
227
|
-
|
228
|
-
if RUBY_PLATFORM != 'java'
|
229
|
-
# Contrib minitests
|
230
|
-
declare 'bundle exec appraisal contrib-old rake test:monkey'
|
231
|
-
# Contrib specs
|
232
|
-
declare 'bundle exec appraisal contrib-old rake spec:active_model_serializers'
|
233
|
-
declare 'bundle exec appraisal contrib-old rake spec:active_record'
|
234
|
-
declare 'bundle exec appraisal contrib-old rake spec:active_support'
|
235
|
-
declare 'bundle exec appraisal contrib-old rake spec:autoinstrument'
|
236
|
-
declare 'bundle exec appraisal contrib-old rake spec:aws'
|
237
|
-
declare 'bundle exec appraisal contrib-old rake spec:concurrent_ruby'
|
238
|
-
declare 'bundle exec appraisal contrib-old rake spec:dalli'
|
239
|
-
declare 'bundle exec appraisal contrib-old rake spec:delayed_job'
|
240
|
-
declare 'bundle exec appraisal contrib-old rake spec:elasticsearch'
|
241
|
-
declare 'bundle exec appraisal contrib-old rake spec:ethon'
|
242
|
-
declare 'bundle exec appraisal contrib-old rake spec:excon'
|
243
|
-
declare 'bundle exec appraisal contrib-old rake spec:faraday'
|
244
|
-
declare 'bundle exec appraisal contrib-old rake spec:http'
|
245
|
-
declare 'bundle exec appraisal contrib-old rake spec:httpclient'
|
246
|
-
declare 'bundle exec appraisal contrib-old rake spec:httprb'
|
247
|
-
declare 'bundle exec appraisal contrib-old rake spec:mongodb'
|
248
|
-
declare 'bundle exec appraisal contrib-old rake spec:mysql2'
|
249
|
-
declare 'bundle exec appraisal contrib-old rake spec:rack'
|
250
|
-
declare 'bundle exec appraisal contrib-old rake spec:rake'
|
251
|
-
declare 'bundle exec appraisal contrib-old rake spec:redis'
|
252
|
-
declare 'bundle exec appraisal contrib-old rake spec:resque'
|
253
|
-
declare 'bundle exec appraisal contrib-old rake spec:rest_client'
|
254
|
-
declare 'bundle exec appraisal contrib-old rake spec:rspec'
|
255
|
-
declare 'bundle exec appraisal contrib-old rake spec:sequel'
|
256
|
-
declare 'bundle exec appraisal contrib-old rake spec:sidekiq'
|
257
|
-
declare 'bundle exec appraisal contrib-old rake spec:sinatra'
|
258
|
-
declare 'bundle exec appraisal contrib-old rake spec:sucker_punch'
|
259
|
-
declare 'bundle exec appraisal contrib-old rake spec:suite'
|
260
|
-
# Rails minitests
|
261
|
-
declare 'bundle exec appraisal rails30-postgres rake test:rails'
|
262
|
-
declare 'bundle exec appraisal rails30-postgres rake spec:railsdisableenv'
|
263
|
-
declare 'bundle exec appraisal rails30-postgres rake spec:railsautoinstrument'
|
264
|
-
declare 'bundle exec appraisal rails32-mysql2 rake test:rails'
|
265
|
-
declare 'bundle exec appraisal rails32-postgres rake test:rails'
|
266
|
-
declare 'bundle exec appraisal rails32-postgres-redis rake spec:railsredis'
|
267
|
-
declare 'bundle exec appraisal rails32-postgres rake spec:railsdisableenv'
|
268
|
-
declare 'bundle exec appraisal rails32-postgres rake spec:railsautoinstrument'
|
269
|
-
# Rails specs
|
270
|
-
declare 'bundle exec appraisal rails30-postgres rake spec:rails'
|
271
|
-
declare 'bundle exec appraisal rails32-mysql2 rake spec:rails'
|
272
|
-
declare 'bundle exec appraisal rails32-postgres rake spec:rails'
|
273
|
-
# Rails suite specs
|
274
|
-
declare 'bundle exec appraisal rails32-postgres rake spec:action_pack'
|
275
|
-
declare 'bundle exec appraisal rails32-postgres rake spec:action_view'
|
276
|
-
declare 'bundle exec appraisal rails32-mysql2 rake spec:active_record'
|
277
|
-
declare 'bundle exec appraisal rails32-postgres rake spec:active_support'
|
278
|
-
end
|
279
227
|
elsif Gem::Version.new('2.1.0') <= Gem::Version.new(RUBY_VERSION) \
|
280
228
|
&& Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.0')
|
281
229
|
# Main library
|
282
230
|
declare 'bundle exec rake test:main'
|
283
231
|
declare 'bundle exec rake spec:main'
|
232
|
+
declare 'bundle exec appraisal core-old rake spec:main'
|
284
233
|
declare 'bundle exec rake spec:contrib'
|
285
234
|
declare 'bundle exec rake spec:opentracer'
|
286
235
|
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
declare 'bundle exec appraisal rails32-postgres rake spec:action_view'
|
344
|
-
declare 'bundle exec appraisal rails32-mysql2 rake spec:active_record'
|
345
|
-
declare 'bundle exec appraisal rails32-postgres rake spec:active_support'
|
346
|
-
end
|
236
|
+
# Contrib specs
|
237
|
+
declare 'bundle exec appraisal contrib-old rake spec:active_model_serializers'
|
238
|
+
declare 'bundle exec appraisal contrib-old rake spec:active_record'
|
239
|
+
declare 'bundle exec appraisal contrib-old rake spec:active_support'
|
240
|
+
declare 'bundle exec appraisal contrib-old rake spec:autoinstrument'
|
241
|
+
declare 'bundle exec appraisal contrib-old rake spec:aws'
|
242
|
+
declare 'bundle exec appraisal contrib-old rake spec:concurrent_ruby'
|
243
|
+
declare 'bundle exec appraisal contrib-old rake spec:dalli'
|
244
|
+
declare 'bundle exec appraisal contrib-old rake spec:delayed_job'
|
245
|
+
declare 'bundle exec appraisal contrib-old rake spec:elasticsearch'
|
246
|
+
declare 'bundle exec appraisal contrib-old rake spec:ethon'
|
247
|
+
declare 'bundle exec appraisal contrib-old rake spec:excon'
|
248
|
+
declare 'bundle exec appraisal contrib-old rake spec:faraday'
|
249
|
+
declare 'bundle exec appraisal contrib-old rake spec:http'
|
250
|
+
declare 'bundle exec appraisal contrib-old rake spec:httpclient'
|
251
|
+
declare 'bundle exec appraisal contrib-old rake spec:httprb'
|
252
|
+
declare 'bundle exec appraisal contrib-old rake spec:kafka'
|
253
|
+
declare 'bundle exec appraisal contrib-old rake spec:mongodb'
|
254
|
+
declare 'bundle exec appraisal contrib-old rake spec:mysql2'
|
255
|
+
declare 'bundle exec appraisal contrib-old rake spec:presto'
|
256
|
+
declare 'bundle exec appraisal contrib-old rake spec:rack'
|
257
|
+
declare 'bundle exec appraisal contrib-old rake spec:rake'
|
258
|
+
declare 'bundle exec appraisal contrib-old rake spec:redis'
|
259
|
+
declare 'bundle exec appraisal contrib-old rake spec:resque'
|
260
|
+
declare 'bundle exec appraisal contrib-old rake spec:rest_client'
|
261
|
+
declare 'bundle exec appraisal contrib-old rake spec:rspec'
|
262
|
+
declare 'bundle exec appraisal contrib-old rake spec:sequel'
|
263
|
+
declare 'bundle exec appraisal contrib-old rake spec:sidekiq'
|
264
|
+
declare 'bundle exec appraisal contrib-old rake spec:sinatra'
|
265
|
+
declare 'bundle exec appraisal contrib-old rake spec:sucker_punch'
|
266
|
+
declare 'bundle exec appraisal contrib-old rake spec:suite'
|
267
|
+
# Rails minitests
|
268
|
+
declare 'bundle exec appraisal rails30-postgres rake test:rails'
|
269
|
+
declare 'bundle exec appraisal rails30-postgres rake spec:railsdisableenv'
|
270
|
+
declare 'bundle exec appraisal rails30-postgres rake spec:railsautoinstrument'
|
271
|
+
declare 'bundle exec appraisal rails32-mysql2 rake test:rails'
|
272
|
+
declare 'bundle exec appraisal rails32-postgres rake test:rails'
|
273
|
+
declare 'bundle exec appraisal rails32-postgres-redis rake spec:railsredis'
|
274
|
+
declare 'bundle exec appraisal rails32-postgres rake spec:railsdisableenv'
|
275
|
+
declare 'bundle exec appraisal rails32-postgres rake spec:railsautoinstrument'
|
276
|
+
declare 'bundle exec appraisal rails4-mysql2 rake test:rails'
|
277
|
+
declare 'bundle exec appraisal rails4-postgres rake test:rails'
|
278
|
+
declare 'bundle exec appraisal rails4-postgres-redis rake spec:railsredis'
|
279
|
+
declare 'bundle exec appraisal rails4-postgres rake spec:railsdisableenv'
|
280
|
+
declare 'bundle exec appraisal rails4-postgres rake spec:railsautoinstrument'
|
281
|
+
# Rails specs
|
282
|
+
declare 'bundle exec appraisal rails30-postgres rake spec:rails'
|
283
|
+
declare 'bundle exec appraisal rails32-mysql2 rake spec:rails'
|
284
|
+
declare 'bundle exec appraisal rails32-postgres rake spec:rails'
|
285
|
+
declare 'bundle exec appraisal rails4-mysql2 rake spec:rails'
|
286
|
+
declare 'bundle exec appraisal rails4-postgres rake spec:rails'
|
287
|
+
# Rails suite specs
|
288
|
+
declare 'bundle exec appraisal rails32-postgres rake spec:action_pack'
|
289
|
+
declare 'bundle exec appraisal rails32-postgres rake spec:action_view'
|
290
|
+
declare 'bundle exec appraisal rails32-mysql2 rake spec:active_record'
|
291
|
+
declare 'bundle exec appraisal rails32-postgres rake spec:active_support'
|
347
292
|
elsif Gem::Version.new('2.2.0') <= Gem::Version.new(RUBY_VERSION)\
|
348
293
|
&& Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.3.0')
|
349
294
|
# Main library
|
350
295
|
declare 'bundle exec rake test:main'
|
351
296
|
declare 'bundle exec rake spec:main'
|
297
|
+
declare 'bundle exec appraisal core-old rake spec:main'
|
352
298
|
declare 'bundle exec rake spec:contrib'
|
353
299
|
declare 'bundle exec rake spec:opentracer'
|
354
300
|
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
declare 'bundle exec appraisal rails5-postgres rake spec:rails'
|
428
|
-
end
|
301
|
+
# Contrib minitests
|
302
|
+
# Contrib specs
|
303
|
+
declare 'bundle exec appraisal contrib rake spec:action_pack'
|
304
|
+
declare 'bundle exec appraisal contrib rake spec:action_view'
|
305
|
+
declare 'bundle exec appraisal contrib rake spec:active_model_serializers'
|
306
|
+
declare 'bundle exec appraisal contrib rake spec:active_record'
|
307
|
+
declare 'bundle exec appraisal contrib rake spec:active_support'
|
308
|
+
declare 'bundle exec appraisal contrib rake spec:autoinstrument'
|
309
|
+
declare 'bundle exec appraisal contrib rake spec:aws'
|
310
|
+
declare 'bundle exec appraisal contrib rake spec:concurrent_ruby'
|
311
|
+
declare 'bundle exec appraisal contrib rake spec:dalli'
|
312
|
+
declare 'bundle exec appraisal contrib rake spec:delayed_job'
|
313
|
+
declare 'bundle exec appraisal contrib rake spec:elasticsearch'
|
314
|
+
declare 'bundle exec appraisal contrib rake spec:ethon'
|
315
|
+
declare 'bundle exec appraisal contrib rake spec:excon'
|
316
|
+
declare 'bundle exec appraisal contrib rake spec:faraday'
|
317
|
+
declare 'bundle exec appraisal contrib rake spec:grape'
|
318
|
+
declare 'bundle exec appraisal contrib rake spec:graphql'
|
319
|
+
declare 'bundle exec appraisal contrib rake spec:grpc'
|
320
|
+
declare 'bundle exec appraisal contrib rake spec:http'
|
321
|
+
declare 'bundle exec appraisal contrib rake spec:httpclient'
|
322
|
+
declare 'bundle exec appraisal contrib rake spec:httprb'
|
323
|
+
declare 'bundle exec appraisal contrib rake spec:kafka'
|
324
|
+
declare 'bundle exec appraisal contrib rake spec:mongodb'
|
325
|
+
declare 'bundle exec appraisal contrib rake spec:mysql2'
|
326
|
+
declare 'bundle exec appraisal contrib rake spec:presto'
|
327
|
+
declare 'bundle exec appraisal contrib rake spec:qless'
|
328
|
+
declare 'bundle exec appraisal contrib rake spec:que'
|
329
|
+
declare 'bundle exec appraisal contrib rake spec:racecar'
|
330
|
+
declare 'bundle exec appraisal contrib rake spec:rack'
|
331
|
+
declare 'bundle exec appraisal contrib rake spec:rake'
|
332
|
+
declare 'bundle exec appraisal contrib rake spec:redis'
|
333
|
+
declare 'bundle exec appraisal contrib rake spec:resque'
|
334
|
+
declare 'bundle exec appraisal contrib rake spec:rest_client'
|
335
|
+
declare 'bundle exec appraisal contrib rake spec:rspec'
|
336
|
+
declare 'bundle exec appraisal contrib rake spec:sequel'
|
337
|
+
declare 'bundle exec appraisal contrib rake spec:shoryuken'
|
338
|
+
declare 'bundle exec appraisal contrib rake spec:sidekiq'
|
339
|
+
declare 'bundle exec appraisal contrib rake spec:sinatra'
|
340
|
+
declare 'bundle exec appraisal contrib rake spec:sneakers'
|
341
|
+
declare 'bundle exec appraisal contrib rake spec:sucker_punch'
|
342
|
+
declare 'bundle exec appraisal contrib rake spec:suite'
|
343
|
+
# Rails minitests
|
344
|
+
declare 'bundle exec appraisal rails30-postgres rake test:rails'
|
345
|
+
declare 'bundle exec appraisal rails30-postgres rake spec:railsdisableenv'
|
346
|
+
declare 'bundle exec appraisal rails30-postgres rake spec:railsautoinstrument'
|
347
|
+
declare 'bundle exec appraisal rails32-mysql2 rake test:rails'
|
348
|
+
declare 'bundle exec appraisal rails32-postgres rake test:rails'
|
349
|
+
declare 'bundle exec appraisal rails32-postgres-redis rake spec:railsredis'
|
350
|
+
declare 'bundle exec appraisal rails32-postgres rake spec:railsdisableenv'
|
351
|
+
declare 'bundle exec appraisal rails32-postgres rake spec:railsautoinstrument'
|
352
|
+
declare 'bundle exec appraisal rails4-mysql2 rake test:rails'
|
353
|
+
declare 'bundle exec appraisal rails4-postgres rake test:rails'
|
354
|
+
declare 'bundle exec appraisal rails4-postgres-redis rake spec:railsredis'
|
355
|
+
declare 'bundle exec appraisal rails4-postgres rake spec:railsdisableenv'
|
356
|
+
declare 'bundle exec appraisal rails4-postgres rake spec:railsautoinstrument'
|
357
|
+
declare 'bundle exec appraisal rails4-postgres-sidekiq rake spec:railsactivejob'
|
358
|
+
declare 'bundle exec appraisal rails5-mysql2 rake test:rails'
|
359
|
+
declare 'bundle exec appraisal rails5-postgres rake test:rails'
|
360
|
+
declare 'bundle exec appraisal rails5-postgres-redis rake spec:railsredis'
|
361
|
+
declare 'bundle exec appraisal rails5-postgres-redis-activesupport rake spec:railsredis'
|
362
|
+
declare 'bundle exec appraisal rails5-postgres-sidekiq rake spec:railsactivejob'
|
363
|
+
declare 'bundle exec appraisal rails5-postgres rake spec:railsdisableenv'
|
364
|
+
declare 'bundle exec appraisal rails5-postgres rake spec:railsautoinstrument'
|
365
|
+
# Rails specs
|
366
|
+
declare 'bundle exec appraisal rails30-postgres rake spec:rails'
|
367
|
+
declare 'bundle exec appraisal rails32-mysql2 rake spec:rails'
|
368
|
+
declare 'bundle exec appraisal rails32-postgres rake spec:rails'
|
369
|
+
declare 'bundle exec appraisal rails4-mysql2 rake spec:rails'
|
370
|
+
declare 'bundle exec appraisal rails4-postgres rake spec:rails'
|
371
|
+
declare 'bundle exec appraisal rails5-mysql2 rake spec:rails'
|
372
|
+
declare 'bundle exec appraisal rails5-postgres rake spec:rails'
|
429
373
|
elsif Gem::Version.new('2.3.0') <= Gem::Version.new(RUBY_VERSION) \
|
430
374
|
&& Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.4.0')
|
431
375
|
# Main library
|
432
376
|
declare 'bundle exec rake test:main'
|
433
377
|
declare 'bundle exec rake spec:main'
|
378
|
+
declare 'bundle exec appraisal core-old rake spec:main'
|
434
379
|
declare 'bundle exec rake spec:contrib'
|
435
380
|
declare 'bundle exec rake spec:opentracer'
|
436
381
|
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
declare 'bundle exec appraisal rails5-postgres rake spec:rails'
|
382
|
+
# Contrib minitests
|
383
|
+
# Contrib specs
|
384
|
+
declare 'bundle exec appraisal contrib rake spec:action_pack'
|
385
|
+
declare 'bundle exec appraisal contrib rake spec:action_view'
|
386
|
+
declare 'bundle exec appraisal contrib rake spec:active_model_serializers'
|
387
|
+
declare 'bundle exec appraisal contrib rake spec:active_record'
|
388
|
+
declare 'bundle exec appraisal contrib rake spec:active_support'
|
389
|
+
declare 'bundle exec appraisal contrib rake spec:autoinstrument'
|
390
|
+
declare 'bundle exec appraisal contrib rake spec:aws'
|
391
|
+
declare 'bundle exec appraisal contrib rake spec:concurrent_ruby'
|
392
|
+
declare 'bundle exec appraisal contrib rake spec:dalli'
|
393
|
+
declare 'bundle exec appraisal contrib rake spec:delayed_job'
|
394
|
+
declare 'bundle exec appraisal contrib rake spec:elasticsearch'
|
395
|
+
declare 'bundle exec appraisal contrib rake spec:ethon'
|
396
|
+
declare 'bundle exec appraisal contrib rake spec:excon'
|
397
|
+
declare 'bundle exec appraisal contrib rake spec:faraday'
|
398
|
+
declare 'bundle exec appraisal contrib rake spec:grape'
|
399
|
+
declare 'bundle exec appraisal contrib rake spec:graphql'
|
400
|
+
declare 'bundle exec appraisal contrib rake spec:grpc'
|
401
|
+
declare 'bundle exec appraisal contrib rake spec:http'
|
402
|
+
declare 'bundle exec appraisal contrib rake spec:httpclient'
|
403
|
+
declare 'bundle exec appraisal contrib rake spec:httprb'
|
404
|
+
declare 'bundle exec appraisal contrib rake spec:kafka'
|
405
|
+
declare 'bundle exec appraisal contrib rake spec:mongodb'
|
406
|
+
declare 'bundle exec appraisal contrib rake spec:mysql2'
|
407
|
+
declare 'bundle exec appraisal contrib rake spec:presto'
|
408
|
+
declare 'bundle exec appraisal contrib rake spec:que'
|
409
|
+
declare 'bundle exec appraisal contrib rake spec:racecar'
|
410
|
+
declare 'bundle exec appraisal contrib rake spec:rack'
|
411
|
+
declare 'bundle exec appraisal contrib rake spec:rake'
|
412
|
+
declare 'bundle exec appraisal contrib rake spec:redis'
|
413
|
+
declare 'bundle exec appraisal contrib rake spec:resque'
|
414
|
+
declare 'bundle exec appraisal contrib rake spec:rest_client'
|
415
|
+
declare 'bundle exec appraisal contrib rake spec:rspec'
|
416
|
+
declare 'bundle exec appraisal contrib rake spec:sequel'
|
417
|
+
declare 'bundle exec appraisal contrib rake spec:shoryuken'
|
418
|
+
declare 'bundle exec appraisal contrib rake spec:sidekiq'
|
419
|
+
declare 'bundle exec appraisal contrib rake spec:sinatra'
|
420
|
+
declare 'bundle exec appraisal contrib rake spec:sneakers'
|
421
|
+
declare 'bundle exec appraisal contrib rake spec:sucker_punch'
|
422
|
+
declare 'bundle exec appraisal contrib rake spec:suite'
|
423
|
+
# Contrib specs with old gem versions
|
424
|
+
declare 'bundle exec appraisal contrib-old rake spec:faraday'
|
425
|
+
# Rails minitests
|
426
|
+
declare 'bundle exec appraisal rails30-postgres rake test:rails'
|
427
|
+
declare 'bundle exec appraisal rails30-postgres rake spec:railsdisableenv'
|
428
|
+
declare 'bundle exec appraisal rails30-postgres rake spec:railsautoinstrument'
|
429
|
+
declare 'bundle exec appraisal rails32-mysql2 rake test:rails'
|
430
|
+
declare 'bundle exec appraisal rails32-postgres rake test:rails'
|
431
|
+
declare 'bundle exec appraisal rails32-postgres-redis rake spec:railsredis'
|
432
|
+
declare 'bundle exec appraisal rails32-postgres rake spec:railsdisableenv'
|
433
|
+
declare 'bundle exec appraisal rails32-postgres rake spec:railsautoinstrument'
|
434
|
+
declare 'bundle exec appraisal rails4-mysql2 rake test:rails'
|
435
|
+
declare 'bundle exec appraisal rails4-postgres rake test:rails'
|
436
|
+
declare 'bundle exec appraisal rails4-postgres-redis rake spec:railsredis'
|
437
|
+
declare 'bundle exec appraisal rails4-postgres rake spec:railsdisableenv'
|
438
|
+
declare 'bundle exec appraisal rails4-postgres rake spec:railsautoinstrument'
|
439
|
+
declare 'bundle exec appraisal rails4-postgres-sidekiq rake spec:railsactivejob'
|
440
|
+
declare 'bundle exec appraisal rails5-mysql2 rake test:rails'
|
441
|
+
declare 'bundle exec appraisal rails5-postgres rake test:rails'
|
442
|
+
declare 'bundle exec appraisal rails5-postgres-redis rake spec:railsredis'
|
443
|
+
declare 'bundle exec appraisal rails5-postgres-redis-activesupport rake spec:railsredis'
|
444
|
+
declare 'bundle exec appraisal rails5-postgres-sidekiq rake spec:railsactivejob'
|
445
|
+
declare 'bundle exec appraisal rails5-postgres rake spec:railsdisableenv'
|
446
|
+
declare 'bundle exec appraisal rails5-postgres rake spec:railsautoinstrument'
|
447
|
+
# Rails specs
|
448
|
+
declare 'bundle exec appraisal rails30-postgres rake spec:rails'
|
449
|
+
declare 'bundle exec appraisal rails32-mysql2 rake spec:rails'
|
450
|
+
declare 'bundle exec appraisal rails32-postgres rake spec:rails'
|
451
|
+
declare 'bundle exec appraisal rails4-mysql2 rake spec:rails'
|
452
|
+
declare 'bundle exec appraisal rails4-postgres rake spec:rails'
|
453
|
+
declare 'bundle exec appraisal rails5-mysql2 rake spec:rails'
|
454
|
+
declare 'bundle exec appraisal rails5-postgres rake spec:rails'
|
511
455
|
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
end
|
456
|
+
# explicitly test resque-2x compatability
|
457
|
+
declare 'bundle exec appraisal resque2-redis3 rake spec:resque'
|
458
|
+
declare 'bundle exec appraisal resque2-redis4 rake spec:resque'
|
516
459
|
elsif Gem::Version.new('2.4.0') <= Gem::Version.new(RUBY_VERSION) \
|
517
460
|
&& Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.5.0')
|
518
461
|
# Main library
|
519
462
|
declare 'bundle exec rake test:main'
|
520
463
|
declare 'bundle exec rake spec:main'
|
464
|
+
declare 'bundle exec appraisal core-old rake spec:main'
|
521
465
|
declare 'bundle exec rake spec:contrib'
|
522
466
|
declare 'bundle exec rake spec:opentracer'
|
523
467
|
declare 'bundle exec rake spec:opentelemetry'
|
524
468
|
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
declare 'bundle exec appraisal rails5-postgres rake spec:rails'
|
469
|
+
# Contrib minitests
|
470
|
+
# Contrib specs
|
471
|
+
declare 'bundle exec appraisal contrib rake spec:action_pack'
|
472
|
+
declare 'bundle exec appraisal contrib rake spec:action_view'
|
473
|
+
declare 'bundle exec appraisal contrib rake spec:active_model_serializers'
|
474
|
+
declare 'bundle exec appraisal contrib rake spec:active_record'
|
475
|
+
declare 'bundle exec appraisal contrib rake spec:active_support'
|
476
|
+
declare 'bundle exec appraisal contrib rake spec:autoinstrument'
|
477
|
+
declare 'bundle exec appraisal contrib rake spec:aws'
|
478
|
+
declare 'bundle exec appraisal contrib rake spec:concurrent_ruby'
|
479
|
+
declare 'bundle exec appraisal contrib rake spec:dalli'
|
480
|
+
declare 'bundle exec appraisal contrib rake spec:delayed_job'
|
481
|
+
declare 'bundle exec appraisal contrib rake spec:elasticsearch'
|
482
|
+
declare 'bundle exec appraisal contrib rake spec:ethon'
|
483
|
+
declare 'bundle exec appraisal contrib rake spec:excon'
|
484
|
+
declare 'bundle exec appraisal contrib rake spec:faraday'
|
485
|
+
declare 'bundle exec appraisal contrib rake spec:grape'
|
486
|
+
declare 'bundle exec appraisal contrib rake spec:graphql'
|
487
|
+
declare 'bundle exec appraisal contrib rake spec:grpc'
|
488
|
+
declare 'bundle exec appraisal contrib rake spec:http'
|
489
|
+
declare 'bundle exec appraisal contrib rake spec:httpclient'
|
490
|
+
declare 'bundle exec appraisal contrib rake spec:httprb'
|
491
|
+
declare 'bundle exec appraisal contrib rake spec:kafka'
|
492
|
+
declare 'bundle exec appraisal contrib rake spec:mongodb'
|
493
|
+
declare 'bundle exec appraisal contrib rake spec:mysql2'
|
494
|
+
declare 'bundle exec appraisal contrib rake spec:presto'
|
495
|
+
declare 'bundle exec appraisal contrib rake spec:que'
|
496
|
+
declare 'bundle exec appraisal contrib rake spec:racecar'
|
497
|
+
declare 'bundle exec appraisal contrib rake spec:rack'
|
498
|
+
declare 'bundle exec appraisal contrib rake spec:rake'
|
499
|
+
declare 'bundle exec appraisal contrib rake spec:redis'
|
500
|
+
declare 'bundle exec appraisal contrib rake spec:resque'
|
501
|
+
declare 'bundle exec appraisal contrib rake spec:rest_client'
|
502
|
+
declare 'bundle exec appraisal contrib rake spec:rspec'
|
503
|
+
declare 'bundle exec appraisal contrib rake spec:sequel'
|
504
|
+
declare 'bundle exec appraisal contrib rake spec:shoryuken'
|
505
|
+
declare 'bundle exec appraisal contrib rake spec:sidekiq'
|
506
|
+
declare 'bundle exec appraisal contrib rake spec:sinatra'
|
507
|
+
declare 'bundle exec appraisal contrib rake spec:sneakers'
|
508
|
+
declare 'bundle exec appraisal contrib rake spec:sucker_punch'
|
509
|
+
declare 'bundle exec appraisal contrib rake spec:suite'
|
510
|
+
# Contrib specs with old gem versions
|
511
|
+
declare 'bundle exec appraisal contrib-old rake spec:faraday'
|
512
|
+
# Rails minitests
|
513
|
+
# We only test Rails 5+ because older versions require Bundler < 2.0
|
514
|
+
declare 'bundle exec appraisal rails5-mysql2 rake test:rails'
|
515
|
+
declare 'bundle exec appraisal rails5-postgres rake test:rails'
|
516
|
+
declare 'bundle exec appraisal rails5-postgres-redis rake spec:railsredis'
|
517
|
+
declare 'bundle exec appraisal rails5-postgres-redis-activesupport rake spec:railsredis'
|
518
|
+
declare 'bundle exec appraisal rails5-postgres-sidekiq rake spec:railsactivejob'
|
519
|
+
declare 'bundle exec appraisal rails5-postgres rake spec:railsdisableenv'
|
520
|
+
declare 'bundle exec appraisal rails5-postgres rake spec:railsautoinstrument'
|
521
|
+
# Rails specs
|
522
|
+
declare 'bundle exec appraisal rails5-mysql2 rake spec:rails'
|
523
|
+
declare 'bundle exec appraisal rails5-postgres rake spec:rails'
|
581
524
|
|
582
|
-
|
583
|
-
|
584
|
-
|
525
|
+
# explicitly test resque-2x compatability
|
526
|
+
declare 'bundle exec appraisal resque2-redis3 rake spec:resque'
|
527
|
+
declare 'bundle exec appraisal resque2-redis4 rake spec:resque'
|
585
528
|
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
end
|
529
|
+
# explicitly test cucumber compatibility
|
530
|
+
declare 'bundle exec appraisal cucumber3 rake spec:cucumber'
|
531
|
+
declare 'bundle exec appraisal cucumber4 rake spec:cucumber'
|
590
532
|
elsif Gem::Version.new('2.5.0') <= Gem::Version.new(RUBY_VERSION) \
|
591
533
|
&& Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.6.0')
|
592
534
|
# Main library
|
593
535
|
declare 'bundle exec rake test:main'
|
594
536
|
declare 'bundle exec rake spec:main'
|
537
|
+
declare 'bundle exec appraisal core-old rake spec:main'
|
595
538
|
declare 'bundle exec rake spec:contrib'
|
596
539
|
declare 'bundle exec rake spec:opentracer'
|
597
540
|
declare 'bundle exec rake spec:opentelemetry'
|
@@ -685,6 +628,7 @@ task :ci do
|
|
685
628
|
# Main library
|
686
629
|
declare 'bundle exec rake test:main'
|
687
630
|
declare 'bundle exec rake spec:main'
|
631
|
+
declare 'bundle exec appraisal core-old rake spec:main'
|
688
632
|
declare 'bundle exec rake spec:contrib'
|
689
633
|
declare 'bundle exec rake spec:opentracer'
|
690
634
|
declare 'bundle exec rake spec:opentelemetry'
|
@@ -782,6 +726,7 @@ task :ci do
|
|
782
726
|
# Main library
|
783
727
|
declare 'bundle exec rake test:main'
|
784
728
|
declare 'bundle exec rake spec:main'
|
729
|
+
declare 'bundle exec appraisal core-old rake spec:main'
|
785
730
|
declare 'bundle exec rake spec:contrib'
|
786
731
|
declare 'bundle exec rake spec:opentracer'
|
787
732
|
declare 'bundle exec rake spec:opentelemetry'
|
@@ -877,6 +822,7 @@ task :ci do
|
|
877
822
|
# Main library
|
878
823
|
declare 'bundle exec rake test:main'
|
879
824
|
declare 'bundle exec rake spec:main'
|
825
|
+
declare 'bundle exec appraisal core-old rake spec:main'
|
880
826
|
declare 'bundle exec rake spec:contrib'
|
881
827
|
declare 'bundle exec rake spec:opentracer'
|
882
828
|
declare 'bundle exec rake spec:opentelemetry'
|
@@ -900,7 +846,7 @@ task :ci do
|
|
900
846
|
declare 'bundle exec appraisal contrib rake spec:faraday'
|
901
847
|
declare 'bundle exec appraisal contrib rake spec:grape'
|
902
848
|
declare 'bundle exec appraisal contrib rake spec:graphql'
|
903
|
-
|
849
|
+
declare 'bundle exec appraisal contrib rake spec:grpc'
|
904
850
|
declare 'bundle exec appraisal contrib rake spec:http'
|
905
851
|
declare 'bundle exec appraisal contrib rake spec:httpclient'
|
906
852
|
declare 'bundle exec appraisal contrib rake spec:httprb'
|