ddtrace 0.51.1 → 0.52.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1122) hide show
  1. checksums.yaml +4 -4
  2. data/.editorconfig +22 -0
  3. data/.gitignore +7 -0
  4. data/CHANGELOG.md +56 -0
  5. data/CONTRIBUTING.md +1 -5
  6. data/ddtrace.gemspec +10 -1
  7. data/docs/DevelopmentGuide.md +15 -0
  8. data/docs/GettingStarted.md +7 -0
  9. data/docs/ProfilingDevelopment.md +33 -14
  10. data/ext/ddtrace_profiling_native_extension/extconf.rb +28 -0
  11. data/ext/ddtrace_profiling_native_extension/profiling.c +17 -0
  12. data/lib/datadog/ci.rb +1 -0
  13. data/lib/datadog/ci/configuration/components.rb +1 -0
  14. data/lib/datadog/ci/configuration/settings.rb +1 -0
  15. data/lib/datadog/ci/context_flush.rb +1 -0
  16. data/lib/datadog/ci/contrib/cucumber/configuration/settings.rb +1 -0
  17. data/lib/datadog/ci/contrib/cucumber/ext.rb +1 -0
  18. data/lib/datadog/ci/contrib/cucumber/formatter.rb +1 -0
  19. data/lib/datadog/ci/contrib/cucumber/instrumentation.rb +1 -0
  20. data/lib/datadog/ci/contrib/cucumber/integration.rb +1 -0
  21. data/lib/datadog/ci/contrib/cucumber/patcher.rb +1 -0
  22. data/lib/datadog/ci/contrib/rspec/configuration/settings.rb +1 -0
  23. data/lib/datadog/ci/contrib/rspec/example.rb +1 -0
  24. data/lib/datadog/ci/contrib/rspec/ext.rb +1 -0
  25. data/lib/datadog/ci/contrib/rspec/integration.rb +1 -0
  26. data/lib/datadog/ci/contrib/rspec/patcher.rb +1 -0
  27. data/lib/datadog/ci/ext/app_types.rb +1 -0
  28. data/lib/datadog/ci/ext/environment.rb +13 -8
  29. data/lib/datadog/ci/ext/settings.rb +1 -0
  30. data/lib/datadog/ci/ext/test.rb +1 -0
  31. data/lib/datadog/ci/extensions.rb +1 -0
  32. data/lib/datadog/ci/test.rb +1 -0
  33. data/lib/datadog/contrib.rb +69 -0
  34. data/lib/datadog/core/environment/cgroup.rb +4 -1
  35. data/lib/datadog/core/environment/class_count.rb +1 -0
  36. data/lib/datadog/core/environment/container.rb +6 -3
  37. data/lib/datadog/core/environment/ext.rb +1 -0
  38. data/lib/datadog/core/environment/gc.rb +1 -0
  39. data/lib/datadog/core/environment/identity.rb +1 -0
  40. data/lib/datadog/core/environment/socket.rb +1 -0
  41. data/lib/datadog/core/environment/thread_count.rb +1 -0
  42. data/lib/datadog/core/environment/variable_helpers.rb +3 -0
  43. data/lib/ddtrace.rb +19 -51
  44. data/lib/ddtrace/analytics.rb +1 -0
  45. data/lib/ddtrace/auto_instrument.rb +1 -0
  46. data/lib/ddtrace/auto_instrument_base.rb +1 -0
  47. data/lib/ddtrace/buffer.rb +6 -4
  48. data/lib/ddtrace/chunker.rb +1 -0
  49. data/lib/ddtrace/configuration.rb +21 -2
  50. data/lib/ddtrace/configuration/agent_settings_resolver.rb +1 -0
  51. data/lib/ddtrace/configuration/base.rb +1 -0
  52. data/lib/ddtrace/configuration/components.rb +21 -7
  53. data/lib/ddtrace/configuration/dependency_resolver.rb +1 -0
  54. data/lib/ddtrace/configuration/option.rb +1 -0
  55. data/lib/ddtrace/configuration/option_definition.rb +1 -0
  56. data/lib/ddtrace/configuration/option_definition_set.rb +1 -0
  57. data/lib/ddtrace/configuration/option_set.rb +1 -0
  58. data/lib/ddtrace/configuration/options.rb +1 -0
  59. data/lib/ddtrace/configuration/pin_setup.rb +1 -0
  60. data/lib/ddtrace/configuration/settings.rb +13 -6
  61. data/lib/ddtrace/context.rb +1 -0
  62. data/lib/ddtrace/context_flush.rb +1 -0
  63. data/lib/ddtrace/context_provider.rb +1 -0
  64. data/lib/ddtrace/contrib/action_cable/configuration/settings.rb +1 -0
  65. data/lib/ddtrace/contrib/action_cable/event.rb +1 -0
  66. data/lib/ddtrace/contrib/action_cable/events.rb +1 -0
  67. data/lib/ddtrace/contrib/action_cable/events/broadcast.rb +1 -0
  68. data/lib/ddtrace/contrib/action_cable/events/perform_action.rb +1 -0
  69. data/lib/ddtrace/contrib/action_cable/events/transmit.rb +1 -0
  70. data/lib/ddtrace/contrib/action_cable/ext.rb +1 -0
  71. data/lib/ddtrace/contrib/action_cable/instrumentation.rb +1 -0
  72. data/lib/ddtrace/contrib/action_cable/integration.rb +1 -0
  73. data/lib/ddtrace/contrib/action_cable/patcher.rb +1 -0
  74. data/lib/ddtrace/contrib/action_pack/action_controller/instrumentation.rb +21 -10
  75. data/lib/ddtrace/contrib/action_pack/action_controller/patcher.rb +1 -0
  76. data/lib/ddtrace/contrib/action_pack/configuration/settings.rb +1 -0
  77. data/lib/ddtrace/contrib/action_pack/ext.rb +1 -0
  78. data/lib/ddtrace/contrib/action_pack/integration.rb +1 -0
  79. data/lib/ddtrace/contrib/action_pack/patcher.rb +1 -0
  80. data/lib/ddtrace/contrib/action_pack/utils.rb +1 -0
  81. data/lib/ddtrace/contrib/action_view/configuration/settings.rb +1 -0
  82. data/lib/ddtrace/contrib/action_view/event.rb +1 -0
  83. data/lib/ddtrace/contrib/action_view/events.rb +1 -0
  84. data/lib/ddtrace/contrib/action_view/events/render_partial.rb +1 -0
  85. data/lib/ddtrace/contrib/action_view/events/render_template.rb +1 -0
  86. data/lib/ddtrace/contrib/action_view/ext.rb +1 -0
  87. data/lib/ddtrace/contrib/action_view/instrumentation/partial_renderer.rb +1 -0
  88. data/lib/ddtrace/contrib/action_view/instrumentation/template_renderer.rb +1 -0
  89. data/lib/ddtrace/contrib/action_view/integration.rb +1 -0
  90. data/lib/ddtrace/contrib/action_view/patcher.rb +1 -0
  91. data/lib/ddtrace/contrib/action_view/utils.rb +1 -0
  92. data/lib/ddtrace/contrib/active_model_serializers/configuration/settings.rb +1 -0
  93. data/lib/ddtrace/contrib/active_model_serializers/event.rb +1 -0
  94. data/lib/ddtrace/contrib/active_model_serializers/events.rb +1 -0
  95. data/lib/ddtrace/contrib/active_model_serializers/events/render.rb +1 -0
  96. data/lib/ddtrace/contrib/active_model_serializers/events/serialize.rb +1 -0
  97. data/lib/ddtrace/contrib/active_model_serializers/ext.rb +1 -0
  98. data/lib/ddtrace/contrib/active_model_serializers/integration.rb +1 -0
  99. data/lib/ddtrace/contrib/active_model_serializers/patcher.rb +1 -0
  100. data/lib/ddtrace/contrib/active_record/configuration/makara_resolver.rb +1 -0
  101. data/lib/ddtrace/contrib/active_record/configuration/resolver.rb +3 -2
  102. data/lib/ddtrace/contrib/active_record/configuration/settings.rb +1 -0
  103. data/lib/ddtrace/contrib/active_record/event.rb +1 -0
  104. data/lib/ddtrace/contrib/active_record/events.rb +1 -0
  105. data/lib/ddtrace/contrib/active_record/events/instantiation.rb +1 -0
  106. data/lib/ddtrace/contrib/active_record/events/sql.rb +1 -0
  107. data/lib/ddtrace/contrib/active_record/ext.rb +1 -0
  108. data/lib/ddtrace/contrib/active_record/integration.rb +1 -0
  109. data/lib/ddtrace/contrib/active_record/patcher.rb +1 -0
  110. data/lib/ddtrace/contrib/active_record/utils.rb +2 -1
  111. data/lib/ddtrace/contrib/active_support/cache/instrumentation.rb +1 -0
  112. data/lib/ddtrace/contrib/active_support/cache/patcher.rb +1 -0
  113. data/lib/ddtrace/contrib/active_support/cache/redis.rb +1 -0
  114. data/lib/ddtrace/contrib/active_support/configuration/settings.rb +1 -0
  115. data/lib/ddtrace/contrib/active_support/ext.rb +1 -0
  116. data/lib/ddtrace/contrib/active_support/integration.rb +1 -0
  117. data/lib/ddtrace/contrib/active_support/notifications/event.rb +1 -0
  118. data/lib/ddtrace/contrib/active_support/notifications/subscriber.rb +1 -0
  119. data/lib/ddtrace/contrib/active_support/notifications/subscription.rb +1 -0
  120. data/lib/ddtrace/contrib/active_support/patcher.rb +1 -0
  121. data/lib/ddtrace/contrib/analytics.rb +1 -0
  122. data/lib/ddtrace/contrib/auto_instrument.rb +2 -1
  123. data/lib/ddtrace/contrib/aws/configuration/settings.rb +1 -0
  124. data/lib/ddtrace/contrib/aws/ext.rb +1 -0
  125. data/lib/ddtrace/contrib/aws/instrumentation.rb +1 -0
  126. data/lib/ddtrace/contrib/aws/integration.rb +1 -0
  127. data/lib/ddtrace/contrib/aws/parsed_context.rb +1 -0
  128. data/lib/ddtrace/contrib/aws/patcher.rb +1 -0
  129. data/lib/ddtrace/contrib/aws/services.rb +1 -0
  130. data/lib/ddtrace/contrib/concurrent_ruby/configuration/settings.rb +1 -0
  131. data/lib/ddtrace/contrib/concurrent_ruby/context_composite_executor_service.rb +1 -0
  132. data/lib/ddtrace/contrib/concurrent_ruby/ext.rb +1 -0
  133. data/lib/ddtrace/contrib/concurrent_ruby/future_patch.rb +1 -0
  134. data/lib/ddtrace/contrib/concurrent_ruby/integration.rb +1 -0
  135. data/lib/ddtrace/contrib/concurrent_ruby/patcher.rb +2 -0
  136. data/lib/ddtrace/contrib/configurable.rb +1 -0
  137. data/lib/ddtrace/contrib/configuration/resolver.rb +1 -0
  138. data/lib/ddtrace/contrib/configuration/resolvers/pattern_resolver.rb +1 -0
  139. data/lib/ddtrace/contrib/configuration/settings.rb +1 -0
  140. data/lib/ddtrace/contrib/dalli/configuration/settings.rb +1 -0
  141. data/lib/ddtrace/contrib/dalli/ext.rb +1 -0
  142. data/lib/ddtrace/contrib/dalli/instrumentation.rb +1 -0
  143. data/lib/ddtrace/contrib/dalli/integration.rb +1 -0
  144. data/lib/ddtrace/contrib/dalli/patcher.rb +1 -0
  145. data/lib/ddtrace/contrib/dalli/quantize.rb +1 -0
  146. data/lib/ddtrace/contrib/delayed_job/configuration/settings.rb +1 -0
  147. data/lib/ddtrace/contrib/delayed_job/ext.rb +1 -0
  148. data/lib/ddtrace/contrib/delayed_job/integration.rb +1 -0
  149. data/lib/ddtrace/contrib/delayed_job/patcher.rb +1 -0
  150. data/lib/ddtrace/contrib/delayed_job/plugin.rb +1 -0
  151. data/lib/ddtrace/contrib/elasticsearch/configuration/settings.rb +1 -0
  152. data/lib/ddtrace/contrib/elasticsearch/ext.rb +1 -0
  153. data/lib/ddtrace/contrib/elasticsearch/integration.rb +1 -0
  154. data/lib/ddtrace/contrib/elasticsearch/patcher.rb +1 -0
  155. data/lib/ddtrace/contrib/elasticsearch/quantize.rb +3 -0
  156. data/lib/ddtrace/contrib/ethon/configuration/settings.rb +1 -0
  157. data/lib/ddtrace/contrib/ethon/easy_patch.rb +1 -0
  158. data/lib/ddtrace/contrib/ethon/ext.rb +1 -0
  159. data/lib/ddtrace/contrib/ethon/integration.rb +1 -0
  160. data/lib/ddtrace/contrib/ethon/multi_patch.rb +1 -0
  161. data/lib/ddtrace/contrib/ethon/patcher.rb +2 -0
  162. data/lib/ddtrace/contrib/excon/configuration/settings.rb +1 -0
  163. data/lib/ddtrace/contrib/excon/ext.rb +1 -0
  164. data/lib/ddtrace/contrib/excon/integration.rb +1 -0
  165. data/lib/ddtrace/contrib/excon/middleware.rb +1 -0
  166. data/lib/ddtrace/contrib/excon/patcher.rb +1 -0
  167. data/lib/ddtrace/contrib/extensions.rb +37 -11
  168. data/lib/ddtrace/contrib/faraday/configuration/settings.rb +1 -0
  169. data/lib/ddtrace/contrib/faraday/connection.rb +1 -0
  170. data/lib/ddtrace/contrib/faraday/ext.rb +1 -0
  171. data/lib/ddtrace/contrib/faraday/integration.rb +1 -0
  172. data/lib/ddtrace/contrib/faraday/middleware.rb +1 -0
  173. data/lib/ddtrace/contrib/faraday/patcher.rb +1 -0
  174. data/lib/ddtrace/contrib/faraday/rack_builder.rb +1 -0
  175. data/lib/ddtrace/contrib/grape/configuration/settings.rb +1 -0
  176. data/lib/ddtrace/contrib/grape/endpoint.rb +26 -16
  177. data/lib/ddtrace/contrib/grape/ext.rb +1 -0
  178. data/lib/ddtrace/contrib/grape/instrumentation.rb +2 -1
  179. data/lib/ddtrace/contrib/grape/integration.rb +1 -0
  180. data/lib/ddtrace/contrib/grape/patcher.rb +1 -0
  181. data/lib/ddtrace/contrib/graphql/configuration/settings.rb +1 -0
  182. data/lib/ddtrace/contrib/graphql/ext.rb +1 -0
  183. data/lib/ddtrace/contrib/graphql/integration.rb +1 -0
  184. data/lib/ddtrace/contrib/graphql/patcher.rb +1 -0
  185. data/lib/ddtrace/contrib/grpc/configuration/settings.rb +2 -0
  186. data/lib/ddtrace/contrib/grpc/datadog_interceptor.rb +5 -0
  187. data/lib/ddtrace/contrib/grpc/datadog_interceptor/client.rb +1 -0
  188. data/lib/ddtrace/contrib/grpc/datadog_interceptor/server.rb +3 -4
  189. data/lib/ddtrace/contrib/grpc/ext.rb +1 -0
  190. data/lib/ddtrace/contrib/grpc/integration.rb +1 -0
  191. data/lib/ddtrace/contrib/grpc/intercept_with_datadog.rb +1 -0
  192. data/lib/ddtrace/contrib/grpc/patcher.rb +2 -0
  193. data/lib/ddtrace/contrib/http/circuit_breaker.rb +1 -0
  194. data/lib/ddtrace/contrib/http/configuration/settings.rb +1 -0
  195. data/lib/ddtrace/contrib/http/ext.rb +1 -0
  196. data/lib/ddtrace/contrib/http/instrumentation.rb +1 -0
  197. data/lib/ddtrace/contrib/http/integration.rb +1 -0
  198. data/lib/ddtrace/contrib/http/patcher.rb +1 -0
  199. data/lib/ddtrace/contrib/http_annotation_helper.rb +1 -0
  200. data/lib/ddtrace/contrib/httpclient/configuration/settings.rb +1 -0
  201. data/lib/ddtrace/contrib/httpclient/ext.rb +1 -0
  202. data/lib/ddtrace/contrib/httpclient/instrumentation.rb +1 -0
  203. data/lib/ddtrace/contrib/httpclient/integration.rb +1 -0
  204. data/lib/ddtrace/contrib/httpclient/patcher.rb +2 -1
  205. data/lib/ddtrace/contrib/httprb/configuration/settings.rb +1 -0
  206. data/lib/ddtrace/contrib/httprb/ext.rb +1 -0
  207. data/lib/ddtrace/contrib/httprb/instrumentation.rb +1 -0
  208. data/lib/ddtrace/contrib/httprb/integration.rb +1 -0
  209. data/lib/ddtrace/contrib/httprb/patcher.rb +2 -1
  210. data/lib/ddtrace/contrib/integration.rb +1 -0
  211. data/lib/ddtrace/contrib/kafka/configuration/settings.rb +1 -0
  212. data/lib/ddtrace/contrib/kafka/consumer_event.rb +1 -0
  213. data/lib/ddtrace/contrib/kafka/consumer_group_event.rb +1 -0
  214. data/lib/ddtrace/contrib/kafka/event.rb +1 -0
  215. data/lib/ddtrace/contrib/kafka/events.rb +1 -0
  216. data/lib/ddtrace/contrib/kafka/events/connection/request.rb +1 -0
  217. data/lib/ddtrace/contrib/kafka/events/consumer/process_batch.rb +1 -0
  218. data/lib/ddtrace/contrib/kafka/events/consumer/process_message.rb +1 -0
  219. data/lib/ddtrace/contrib/kafka/events/consumer_group/heartbeat.rb +1 -0
  220. data/lib/ddtrace/contrib/kafka/events/consumer_group/join_group.rb +1 -0
  221. data/lib/ddtrace/contrib/kafka/events/consumer_group/leave_group.rb +1 -0
  222. data/lib/ddtrace/contrib/kafka/events/consumer_group/sync_group.rb +1 -0
  223. data/lib/ddtrace/contrib/kafka/events/produce_operation/send_messages.rb +1 -0
  224. data/lib/ddtrace/contrib/kafka/events/producer/deliver_messages.rb +1 -0
  225. data/lib/ddtrace/contrib/kafka/ext.rb +1 -0
  226. data/lib/ddtrace/contrib/kafka/integration.rb +1 -0
  227. data/lib/ddtrace/contrib/kafka/patcher.rb +1 -0
  228. data/lib/ddtrace/contrib/lograge/configuration/settings.rb +1 -0
  229. data/lib/ddtrace/contrib/lograge/ext.rb +1 -0
  230. data/lib/ddtrace/contrib/lograge/instrumentation.rb +1 -0
  231. data/lib/ddtrace/contrib/lograge/integration.rb +1 -0
  232. data/lib/ddtrace/contrib/lograge/patcher.rb +1 -0
  233. data/lib/ddtrace/contrib/mongodb/configuration/settings.rb +1 -0
  234. data/lib/ddtrace/contrib/mongodb/ext.rb +1 -0
  235. data/lib/ddtrace/contrib/mongodb/instrumentation.rb +1 -0
  236. data/lib/ddtrace/contrib/mongodb/integration.rb +1 -0
  237. data/lib/ddtrace/contrib/mongodb/parsers.rb +1 -0
  238. data/lib/ddtrace/contrib/mongodb/patcher.rb +1 -0
  239. data/lib/ddtrace/contrib/mongodb/subscribers.rb +1 -0
  240. data/lib/ddtrace/contrib/mysql2/configuration/settings.rb +1 -0
  241. data/lib/ddtrace/contrib/mysql2/ext.rb +1 -0
  242. data/lib/ddtrace/contrib/mysql2/instrumentation.rb +1 -0
  243. data/lib/ddtrace/contrib/mysql2/integration.rb +1 -0
  244. data/lib/ddtrace/contrib/mysql2/patcher.rb +1 -0
  245. data/lib/ddtrace/contrib/patchable.rb +1 -0
  246. data/lib/ddtrace/contrib/patcher.rb +2 -1
  247. data/lib/ddtrace/contrib/presto/configuration/settings.rb +1 -0
  248. data/lib/ddtrace/contrib/presto/ext.rb +1 -0
  249. data/lib/ddtrace/contrib/presto/instrumentation.rb +1 -0
  250. data/lib/ddtrace/contrib/presto/integration.rb +1 -0
  251. data/lib/ddtrace/contrib/presto/patcher.rb +1 -0
  252. data/lib/ddtrace/contrib/qless/configuration/settings.rb +1 -0
  253. data/lib/ddtrace/contrib/qless/ext.rb +1 -0
  254. data/lib/ddtrace/contrib/qless/integration.rb +1 -0
  255. data/lib/ddtrace/contrib/qless/patcher.rb +2 -0
  256. data/lib/ddtrace/contrib/qless/qless_job.rb +1 -0
  257. data/lib/ddtrace/contrib/qless/tracer_cleaner.rb +1 -0
  258. data/lib/ddtrace/contrib/que/configuration/settings.rb +1 -0
  259. data/lib/ddtrace/contrib/que/ext.rb +1 -0
  260. data/lib/ddtrace/contrib/que/integration.rb +1 -0
  261. data/lib/ddtrace/contrib/que/patcher.rb +1 -0
  262. data/lib/ddtrace/contrib/que/tracer.rb +1 -0
  263. data/lib/ddtrace/contrib/racecar/configuration/settings.rb +1 -0
  264. data/lib/ddtrace/contrib/racecar/event.rb +1 -0
  265. data/lib/ddtrace/contrib/racecar/events.rb +1 -0
  266. data/lib/ddtrace/contrib/racecar/events/batch.rb +1 -0
  267. data/lib/ddtrace/contrib/racecar/events/consume.rb +1 -0
  268. data/lib/ddtrace/contrib/racecar/events/message.rb +1 -0
  269. data/lib/ddtrace/contrib/racecar/ext.rb +1 -0
  270. data/lib/ddtrace/contrib/racecar/integration.rb +1 -0
  271. data/lib/ddtrace/contrib/racecar/patcher.rb +1 -0
  272. data/lib/ddtrace/contrib/rack/configuration/settings.rb +1 -0
  273. data/lib/ddtrace/contrib/rack/ext.rb +1 -0
  274. data/lib/ddtrace/contrib/rack/integration.rb +1 -0
  275. data/lib/ddtrace/contrib/rack/middlewares.rb +1 -0
  276. data/lib/ddtrace/contrib/rack/patcher.rb +1 -0
  277. data/lib/ddtrace/contrib/rack/request_queue.rb +1 -0
  278. data/lib/ddtrace/contrib/rails/auto_instrument_railtie.rb +1 -0
  279. data/lib/ddtrace/contrib/rails/configuration/settings.rb +1 -0
  280. data/lib/ddtrace/contrib/rails/ext.rb +1 -0
  281. data/lib/ddtrace/contrib/rails/framework.rb +1 -0
  282. data/lib/ddtrace/contrib/rails/integration.rb +1 -0
  283. data/lib/ddtrace/contrib/rails/log_injection.rb +1 -0
  284. data/lib/ddtrace/contrib/rails/middlewares.rb +1 -0
  285. data/lib/ddtrace/contrib/rails/patcher.rb +1 -0
  286. data/lib/ddtrace/contrib/rails/railtie.rb +1 -0
  287. data/lib/ddtrace/contrib/rails/utils.rb +1 -0
  288. data/lib/ddtrace/contrib/rake/configuration/settings.rb +1 -0
  289. data/lib/ddtrace/contrib/rake/ext.rb +1 -0
  290. data/lib/ddtrace/contrib/rake/instrumentation.rb +1 -0
  291. data/lib/ddtrace/contrib/rake/integration.rb +1 -0
  292. data/lib/ddtrace/contrib/rake/patcher.rb +1 -0
  293. data/lib/ddtrace/contrib/redis/configuration/resolver.rb +1 -0
  294. data/lib/ddtrace/contrib/redis/configuration/settings.rb +1 -0
  295. data/lib/ddtrace/contrib/redis/ext.rb +1 -0
  296. data/lib/ddtrace/contrib/redis/integration.rb +1 -0
  297. data/lib/ddtrace/contrib/redis/patcher.rb +1 -0
  298. data/lib/ddtrace/contrib/redis/quantize.rb +1 -0
  299. data/lib/ddtrace/contrib/redis/tags.rb +1 -0
  300. data/lib/ddtrace/contrib/redis/vendor/resolver.rb +1 -0
  301. data/lib/ddtrace/contrib/registerable.rb +3 -2
  302. data/lib/ddtrace/contrib/registry.rb +1 -0
  303. data/lib/ddtrace/contrib/resque/configuration/settings.rb +1 -0
  304. data/lib/ddtrace/contrib/resque/ext.rb +1 -0
  305. data/lib/ddtrace/contrib/resque/integration.rb +1 -0
  306. data/lib/ddtrace/contrib/resque/patcher.rb +1 -0
  307. data/lib/ddtrace/contrib/resque/resque_job.rb +1 -0
  308. data/lib/ddtrace/contrib/rest_client/configuration/settings.rb +1 -0
  309. data/lib/ddtrace/contrib/rest_client/ext.rb +1 -0
  310. data/lib/ddtrace/contrib/rest_client/integration.rb +1 -0
  311. data/lib/ddtrace/contrib/rest_client/patcher.rb +2 -0
  312. data/lib/ddtrace/contrib/rest_client/request_patch.rb +1 -0
  313. data/lib/ddtrace/contrib/semantic_logger/configuration/settings.rb +1 -0
  314. data/lib/ddtrace/contrib/semantic_logger/ext.rb +1 -0
  315. data/lib/ddtrace/contrib/semantic_logger/instrumentation.rb +1 -0
  316. data/lib/ddtrace/contrib/semantic_logger/integration.rb +1 -0
  317. data/lib/ddtrace/contrib/semantic_logger/patcher.rb +1 -0
  318. data/lib/ddtrace/contrib/sequel/configuration/settings.rb +1 -0
  319. data/lib/ddtrace/contrib/sequel/database.rb +1 -0
  320. data/lib/ddtrace/contrib/sequel/dataset.rb +1 -0
  321. data/lib/ddtrace/contrib/sequel/ext.rb +1 -0
  322. data/lib/ddtrace/contrib/sequel/integration.rb +1 -0
  323. data/lib/ddtrace/contrib/sequel/patcher.rb +1 -0
  324. data/lib/ddtrace/contrib/sequel/utils.rb +1 -0
  325. data/lib/ddtrace/contrib/shoryuken/configuration/settings.rb +1 -0
  326. data/lib/ddtrace/contrib/shoryuken/ext.rb +1 -0
  327. data/lib/ddtrace/contrib/shoryuken/integration.rb +1 -0
  328. data/lib/ddtrace/contrib/shoryuken/patcher.rb +1 -0
  329. data/lib/ddtrace/contrib/shoryuken/tracer.rb +1 -0
  330. data/lib/ddtrace/contrib/sidekiq/client_tracer.rb +1 -0
  331. data/lib/ddtrace/contrib/sidekiq/configuration/settings.rb +1 -0
  332. data/lib/ddtrace/contrib/sidekiq/ext.rb +1 -0
  333. data/lib/ddtrace/contrib/sidekiq/integration.rb +1 -0
  334. data/lib/ddtrace/contrib/sidekiq/patcher.rb +1 -0
  335. data/lib/ddtrace/contrib/sidekiq/server_tracer.rb +1 -0
  336. data/lib/ddtrace/contrib/sidekiq/tracing.rb +1 -0
  337. data/lib/ddtrace/contrib/sinatra/configuration/settings.rb +1 -0
  338. data/lib/ddtrace/contrib/sinatra/env.rb +1 -0
  339. data/lib/ddtrace/contrib/sinatra/ext.rb +1 -0
  340. data/lib/ddtrace/contrib/sinatra/headers.rb +1 -0
  341. data/lib/ddtrace/contrib/sinatra/integration.rb +1 -0
  342. data/lib/ddtrace/contrib/sinatra/patcher.rb +2 -0
  343. data/lib/ddtrace/contrib/sinatra/tracer.rb +13 -3
  344. data/lib/ddtrace/contrib/sinatra/tracer_middleware.rb +8 -1
  345. data/lib/ddtrace/contrib/sneakers/configuration/settings.rb +1 -0
  346. data/lib/ddtrace/contrib/sneakers/ext.rb +1 -0
  347. data/lib/ddtrace/contrib/sneakers/integration.rb +1 -0
  348. data/lib/ddtrace/contrib/sneakers/patcher.rb +1 -0
  349. data/lib/ddtrace/contrib/sneakers/tracer.rb +1 -0
  350. data/lib/ddtrace/contrib/status_code_matcher.rb +1 -0
  351. data/lib/ddtrace/contrib/sucker_punch/configuration/settings.rb +1 -0
  352. data/lib/ddtrace/contrib/sucker_punch/exception_handler.rb +1 -0
  353. data/lib/ddtrace/contrib/sucker_punch/ext.rb +1 -0
  354. data/lib/ddtrace/contrib/sucker_punch/instrumentation.rb +1 -0
  355. data/lib/ddtrace/contrib/sucker_punch/integration.rb +1 -0
  356. data/lib/ddtrace/contrib/sucker_punch/patcher.rb +2 -0
  357. data/lib/ddtrace/correlation.rb +1 -0
  358. data/lib/ddtrace/diagnostics/environment_logger.rb +2 -1
  359. data/lib/ddtrace/diagnostics/health.rb +1 -0
  360. data/lib/ddtrace/distributed_tracing/headers/b3.rb +1 -0
  361. data/lib/ddtrace/distributed_tracing/headers/b3_single.rb +1 -0
  362. data/lib/ddtrace/distributed_tracing/headers/datadog.rb +1 -0
  363. data/lib/ddtrace/distributed_tracing/headers/headers.rb +1 -0
  364. data/lib/ddtrace/distributed_tracing/headers/helpers.rb +1 -0
  365. data/lib/ddtrace/encoding.rb +3 -0
  366. data/lib/ddtrace/error.rb +1 -0
  367. data/lib/ddtrace/event.rb +1 -0
  368. data/lib/ddtrace/ext/analytics.rb +1 -0
  369. data/lib/ddtrace/ext/app_types.rb +1 -0
  370. data/lib/ddtrace/ext/correlation.rb +1 -0
  371. data/lib/ddtrace/ext/diagnostics.rb +1 -0
  372. data/lib/ddtrace/ext/distributed.rb +1 -0
  373. data/lib/ddtrace/ext/environment.rb +1 -0
  374. data/lib/ddtrace/ext/errors.rb +1 -0
  375. data/lib/ddtrace/ext/forced_tracing.rb +1 -0
  376. data/lib/ddtrace/ext/git.rb +1 -0
  377. data/lib/ddtrace/ext/http.rb +1 -0
  378. data/lib/ddtrace/ext/integration.rb +1 -0
  379. data/lib/ddtrace/ext/manual_tracing.rb +1 -0
  380. data/lib/ddtrace/ext/metrics.rb +1 -0
  381. data/lib/ddtrace/ext/net.rb +1 -0
  382. data/lib/ddtrace/ext/priority.rb +1 -0
  383. data/lib/ddtrace/ext/profiling.rb +3 -0
  384. data/lib/ddtrace/ext/runtime.rb +1 -0
  385. data/lib/ddtrace/ext/sampling.rb +1 -0
  386. data/lib/ddtrace/ext/sql.rb +1 -0
  387. data/lib/ddtrace/ext/test.rb +1 -0
  388. data/lib/ddtrace/ext/transport.rb +1 -0
  389. data/lib/ddtrace/forced_tracing.rb +1 -0
  390. data/lib/ddtrace/logger.rb +1 -0
  391. data/lib/ddtrace/metrics.rb +6 -5
  392. data/lib/ddtrace/opentelemetry/extensions.rb +1 -0
  393. data/lib/ddtrace/opentelemetry/span.rb +1 -0
  394. data/lib/ddtrace/opentracer.rb +1 -0
  395. data/lib/ddtrace/opentracer/binary_propagator.rb +1 -0
  396. data/lib/ddtrace/opentracer/carrier.rb +1 -0
  397. data/lib/ddtrace/opentracer/distributed_headers.rb +1 -0
  398. data/lib/ddtrace/opentracer/global_tracer.rb +1 -0
  399. data/lib/ddtrace/opentracer/propagator.rb +1 -0
  400. data/lib/ddtrace/opentracer/rack_propagator.rb +1 -0
  401. data/lib/ddtrace/opentracer/scope.rb +1 -0
  402. data/lib/ddtrace/opentracer/scope_manager.rb +1 -0
  403. data/lib/ddtrace/opentracer/span.rb +1 -0
  404. data/lib/ddtrace/opentracer/span_context.rb +1 -0
  405. data/lib/ddtrace/opentracer/span_context_factory.rb +1 -0
  406. data/lib/ddtrace/opentracer/text_map_propagator.rb +1 -0
  407. data/lib/ddtrace/opentracer/thread_local_scope.rb +1 -0
  408. data/lib/ddtrace/opentracer/thread_local_scope_manager.rb +1 -0
  409. data/lib/ddtrace/opentracer/tracer.rb +1 -0
  410. data/lib/ddtrace/patcher.rb +1 -0
  411. data/lib/ddtrace/pin.rb +1 -0
  412. data/lib/ddtrace/pipeline.rb +1 -0
  413. data/lib/ddtrace/pipeline/span_filter.rb +1 -0
  414. data/lib/ddtrace/pipeline/span_processor.rb +1 -0
  415. data/lib/ddtrace/profiling.rb +64 -20
  416. data/lib/ddtrace/profiling/backtrace_location.rb +1 -0
  417. data/lib/ddtrace/profiling/buffer.rb +1 -0
  418. data/lib/ddtrace/profiling/collectors/stack.rb +11 -16
  419. data/lib/ddtrace/profiling/encoding/profile.rb +1 -0
  420. data/lib/ddtrace/profiling/event.rb +1 -0
  421. data/lib/ddtrace/profiling/events/stack.rb +16 -37
  422. data/lib/ddtrace/profiling/exporter.rb +1 -0
  423. data/lib/ddtrace/profiling/ext/cpu.rb +2 -2
  424. data/lib/ddtrace/profiling/ext/cthread.rb +1 -0
  425. data/lib/ddtrace/profiling/ext/forking.rb +1 -0
  426. data/lib/ddtrace/profiling/flush.rb +1 -0
  427. data/lib/ddtrace/profiling/native_extension.rb +18 -0
  428. data/lib/ddtrace/profiling/pprof/builder.rb +1 -0
  429. data/lib/ddtrace/profiling/pprof/converter.rb +1 -0
  430. data/lib/ddtrace/profiling/pprof/message_set.rb +4 -1
  431. data/lib/ddtrace/profiling/pprof/payload.rb +2 -1
  432. data/lib/ddtrace/profiling/pprof/pprof_pb.rb +1 -0
  433. data/lib/ddtrace/profiling/pprof/stack_sample.rb +16 -5
  434. data/lib/ddtrace/profiling/pprof/string_table.rb +1 -0
  435. data/lib/ddtrace/profiling/pprof/template.rb +1 -0
  436. data/lib/ddtrace/profiling/preload.rb +1 -0
  437. data/lib/ddtrace/profiling/profiler.rb +1 -0
  438. data/lib/ddtrace/profiling/recorder.rb +3 -2
  439. data/lib/ddtrace/profiling/scheduler.rb +21 -3
  440. data/lib/ddtrace/profiling/tasks/setup.rb +9 -4
  441. data/lib/ddtrace/profiling/trace_identifiers/ddtrace.rb +41 -0
  442. data/lib/ddtrace/profiling/trace_identifiers/helper.rb +46 -0
  443. data/lib/ddtrace/profiling/transport/client.rb +3 -0
  444. data/lib/ddtrace/profiling/transport/http.rb +22 -20
  445. data/lib/ddtrace/profiling/transport/http/api.rb +1 -0
  446. data/lib/ddtrace/profiling/transport/http/api/endpoint.rb +1 -0
  447. data/lib/ddtrace/profiling/transport/http/api/instance.rb +1 -0
  448. data/lib/ddtrace/profiling/transport/http/api/spec.rb +1 -0
  449. data/lib/ddtrace/profiling/transport/http/builder.rb +1 -0
  450. data/lib/ddtrace/profiling/transport/http/client.rb +1 -0
  451. data/lib/ddtrace/profiling/transport/http/response.rb +1 -0
  452. data/lib/ddtrace/profiling/transport/io.rb +1 -0
  453. data/lib/ddtrace/profiling/transport/io/client.rb +1 -0
  454. data/lib/ddtrace/profiling/transport/io/response.rb +1 -0
  455. data/lib/ddtrace/profiling/transport/parcel.rb +1 -0
  456. data/lib/ddtrace/profiling/transport/request.rb +1 -0
  457. data/lib/ddtrace/profiling/transport/response.rb +1 -0
  458. data/lib/ddtrace/propagation/grpc_propagator.rb +1 -0
  459. data/lib/ddtrace/propagation/http_propagator.rb +3 -2
  460. data/lib/ddtrace/quantization/hash.rb +1 -0
  461. data/lib/ddtrace/quantization/http.rb +3 -0
  462. data/lib/ddtrace/runtime/metrics.rb +1 -0
  463. data/lib/ddtrace/sampler.rb +1 -0
  464. data/lib/ddtrace/sampling.rb +1 -0
  465. data/lib/ddtrace/sampling/matcher.rb +1 -0
  466. data/lib/ddtrace/sampling/rate_limiter.rb +1 -0
  467. data/lib/ddtrace/sampling/rule.rb +2 -1
  468. data/lib/ddtrace/sampling/rule_sampler.rb +2 -1
  469. data/lib/ddtrace/span.rb +20 -6
  470. data/lib/ddtrace/sync_writer.rb +1 -0
  471. data/lib/ddtrace/tasks/exec.rb +4 -5
  472. data/lib/ddtrace/tasks/help.rb +1 -0
  473. data/lib/ddtrace/tracer.rb +2 -2
  474. data/lib/ddtrace/transport/http.rb +3 -0
  475. data/lib/ddtrace/transport/http/adapters/net.rb +1 -0
  476. data/lib/ddtrace/transport/http/adapters/registry.rb +1 -0
  477. data/lib/ddtrace/transport/http/adapters/test.rb +1 -0
  478. data/lib/ddtrace/transport/http/adapters/unix_socket.rb +1 -0
  479. data/lib/ddtrace/transport/http/api.rb +1 -0
  480. data/lib/ddtrace/transport/http/api/endpoint.rb +1 -0
  481. data/lib/ddtrace/transport/http/api/fallbacks.rb +1 -0
  482. data/lib/ddtrace/transport/http/api/instance.rb +1 -0
  483. data/lib/ddtrace/transport/http/api/map.rb +1 -0
  484. data/lib/ddtrace/transport/http/api/spec.rb +1 -0
  485. data/lib/ddtrace/transport/http/builder.rb +1 -0
  486. data/lib/ddtrace/transport/http/client.rb +3 -1
  487. data/lib/ddtrace/transport/http/env.rb +1 -0
  488. data/lib/ddtrace/transport/http/response.rb +1 -0
  489. data/lib/ddtrace/transport/http/statistics.rb +1 -0
  490. data/lib/ddtrace/transport/http/traces.rb +1 -0
  491. data/lib/ddtrace/transport/io.rb +1 -0
  492. data/lib/ddtrace/transport/io/client.rb +2 -1
  493. data/lib/ddtrace/transport/io/response.rb +1 -0
  494. data/lib/ddtrace/transport/io/traces.rb +3 -0
  495. data/lib/ddtrace/transport/parcel.rb +3 -0
  496. data/lib/ddtrace/transport/request.rb +1 -0
  497. data/lib/ddtrace/transport/response.rb +1 -0
  498. data/lib/ddtrace/transport/statistics.rb +1 -0
  499. data/lib/ddtrace/transport/traces.rb +3 -2
  500. data/lib/ddtrace/utils.rb +14 -2
  501. data/lib/ddtrace/utils/compression.rb +1 -0
  502. data/lib/ddtrace/utils/database.rb +1 -0
  503. data/lib/ddtrace/utils/forking.rb +1 -0
  504. data/lib/ddtrace/utils/object_set.rb +1 -0
  505. data/lib/ddtrace/utils/only_once.rb +1 -0
  506. data/lib/ddtrace/utils/sequence.rb +1 -0
  507. data/lib/ddtrace/utils/string_table.rb +1 -0
  508. data/lib/ddtrace/utils/time.rb +3 -0
  509. data/lib/ddtrace/vendor/active_record/connection_specification.rb +1 -0
  510. data/lib/ddtrace/vendor/multipart-post/multipart.rb +1 -0
  511. data/lib/ddtrace/vendor/multipart-post/multipart/post.rb +1 -0
  512. data/lib/ddtrace/vendor/multipart-post/multipart/post/composite_read_io.rb +1 -0
  513. data/lib/ddtrace/vendor/multipart-post/multipart/post/multipartable.rb +1 -0
  514. data/lib/ddtrace/vendor/multipart-post/multipart/post/parts.rb +1 -0
  515. data/lib/ddtrace/vendor/multipart-post/multipart/post/version.rb +1 -0
  516. data/lib/ddtrace/vendor/multipart-post/net/http/post/multipart.rb +1 -0
  517. data/lib/ddtrace/version.rb +3 -2
  518. data/lib/ddtrace/worker.rb +1 -0
  519. data/lib/ddtrace/workers.rb +2 -1
  520. data/lib/ddtrace/workers/async.rb +2 -1
  521. data/lib/ddtrace/workers/loop.rb +1 -0
  522. data/lib/ddtrace/workers/polling.rb +1 -0
  523. data/lib/ddtrace/workers/queue.rb +1 -0
  524. data/lib/ddtrace/workers/runtime_metrics.rb +1 -0
  525. data/lib/ddtrace/workers/trace_writer.rb +2 -1
  526. data/lib/ddtrace/writer.rb +1 -0
  527. metadata +11 -598
  528. data/.circleci/config.yml +0 -869
  529. data/.circleci/images/primary/Dockerfile-2.1.10 +0 -83
  530. data/.circleci/images/primary/Dockerfile-2.2.10 +0 -83
  531. data/.circleci/images/primary/Dockerfile-2.3.8 +0 -87
  532. data/.circleci/images/primary/Dockerfile-2.4.10 +0 -85
  533. data/.circleci/images/primary/Dockerfile-2.5.9 +0 -83
  534. data/.circleci/images/primary/Dockerfile-2.6.7 +0 -83
  535. data/.circleci/images/primary/Dockerfile-2.7.3 +0 -83
  536. data/.circleci/images/primary/Dockerfile-3.0.1 +0 -73
  537. data/.circleci/images/primary/Dockerfile-jruby-9.2-latest +0 -88
  538. data/.circleci/images/primary/Dockerfile-jruby-9.2.0.0 +0 -73
  539. data/.circleci/images/primary/Dockerfile-truffleruby-21.1.0 +0 -73
  540. data/.dd-ci/ci-app-spec.json +0 -31
  541. data/.dockerignore +0 -0
  542. data/.env +0 -26
  543. data/.gitattributes +0 -1
  544. data/.github/CODEOWNERS +0 -1
  545. data/.github/workflows/add-milestone-to-pull-requests.yml +0 -42
  546. data/.github/workflows/create-next-milestone.yml +0 -20
  547. data/.github/workflows/test-head.yaml +0 -34
  548. data/.gitlab-ci.yml +0 -27
  549. data/.rspec +0 -1
  550. data/.rubocop.yml +0 -351
  551. data/.rubocop_todo.yml +0 -437
  552. data/.simplecov +0 -47
  553. data/Appraisals +0 -1443
  554. data/Gemfile +0 -72
  555. data/Rakefile +0 -982
  556. data/benchmarks/data/profiler-submission-marshal.gz +0 -0
  557. data/benchmarks/postgres_database.yml +0 -9
  558. data/benchmarks/profiler_sample_loop.rb +0 -69
  559. data/benchmarks/profiler_submission.rb +0 -93
  560. data/benchmarks/sidekiq_test.rb +0 -154
  561. data/docker-compose.yml +0 -414
  562. data/gemfiles/jruby_9.2.0.0_contrib.gemfile +0 -82
  563. data/gemfiles/jruby_9.2.0.0_contrib.gemfile.lock +0 -1571
  564. data/gemfiles/jruby_9.2.0.0_contrib_old.gemfile +0 -36
  565. data/gemfiles/jruby_9.2.0.0_contrib_old.gemfile.lock +0 -159
  566. data/gemfiles/jruby_9.2.0.0_core_old.gemfile +0 -35
  567. data/gemfiles/jruby_9.2.0.0_core_old.gemfile.lock +0 -155
  568. data/gemfiles/jruby_9.2.0.0_cucumber3.gemfile +0 -36
  569. data/gemfiles/jruby_9.2.0.0_cucumber3.gemfile.lock +0 -176
  570. data/gemfiles/jruby_9.2.0.0_cucumber4.gemfile +0 -36
  571. data/gemfiles/jruby_9.2.0.0_cucumber4.gemfile.lock +0 -208
  572. data/gemfiles/jruby_9.2.0.0_cucumber5.gemfile +0 -36
  573. data/gemfiles/jruby_9.2.0.0_cucumber5.gemfile.lock +0 -208
  574. data/gemfiles/jruby_9.2.0.0_rails5_mysql2.gemfile +0 -41
  575. data/gemfiles/jruby_9.2.0.0_rails5_mysql2.gemfile.lock +0 -273
  576. data/gemfiles/jruby_9.2.0.0_rails5_postgres.gemfile +0 -41
  577. data/gemfiles/jruby_9.2.0.0_rails5_postgres.gemfile.lock +0 -273
  578. data/gemfiles/jruby_9.2.0.0_rails5_postgres_redis.gemfile +0 -42
  579. data/gemfiles/jruby_9.2.0.0_rails5_postgres_redis.gemfile.lock +0 -275
  580. data/gemfiles/jruby_9.2.0.0_rails5_postgres_redis_activesupport.gemfile +0 -42
  581. data/gemfiles/jruby_9.2.0.0_rails5_postgres_redis_activesupport.gemfile.lock +0 -275
  582. data/gemfiles/jruby_9.2.0.0_rails5_postgres_sidekiq.gemfile +0 -43
  583. data/gemfiles/jruby_9.2.0.0_rails5_postgres_sidekiq.gemfile.lock +0 -281
  584. data/gemfiles/jruby_9.2.0.0_rails5_semantic_logger.gemfile +0 -41
  585. data/gemfiles/jruby_9.2.0.0_rails5_semantic_logger.gemfile.lock +0 -272
  586. data/gemfiles/jruby_9.2.0.0_rails61_mysql2.gemfile +0 -41
  587. data/gemfiles/jruby_9.2.0.0_rails61_mysql2.gemfile.lock +0 -292
  588. data/gemfiles/jruby_9.2.0.0_rails61_postgres.gemfile +0 -41
  589. data/gemfiles/jruby_9.2.0.0_rails61_postgres.gemfile.lock +0 -292
  590. data/gemfiles/jruby_9.2.0.0_rails61_postgres_redis.gemfile +0 -42
  591. data/gemfiles/jruby_9.2.0.0_rails61_postgres_redis.gemfile.lock +0 -294
  592. data/gemfiles/jruby_9.2.0.0_rails61_postgres_sidekiq.gemfile +0 -42
  593. data/gemfiles/jruby_9.2.0.0_rails61_postgres_sidekiq.gemfile.lock +0 -299
  594. data/gemfiles/jruby_9.2.0.0_rails61_semantic_logger.gemfile +0 -41
  595. data/gemfiles/jruby_9.2.0.0_rails61_semantic_logger.gemfile.lock +0 -291
  596. data/gemfiles/jruby_9.2.0.0_rails6_mysql2.gemfile +0 -41
  597. data/gemfiles/jruby_9.2.0.0_rails6_mysql2.gemfile.lock +0 -289
  598. data/gemfiles/jruby_9.2.0.0_rails6_postgres.gemfile +0 -41
  599. data/gemfiles/jruby_9.2.0.0_rails6_postgres.gemfile.lock +0 -289
  600. data/gemfiles/jruby_9.2.0.0_rails6_postgres_redis.gemfile +0 -42
  601. data/gemfiles/jruby_9.2.0.0_rails6_postgres_redis.gemfile.lock +0 -291
  602. data/gemfiles/jruby_9.2.0.0_rails6_postgres_redis_activesupport.gemfile +0 -42
  603. data/gemfiles/jruby_9.2.0.0_rails6_postgres_redis_activesupport.gemfile.lock +0 -291
  604. data/gemfiles/jruby_9.2.0.0_rails6_postgres_sidekiq.gemfile +0 -43
  605. data/gemfiles/jruby_9.2.0.0_rails6_postgres_sidekiq.gemfile.lock +0 -297
  606. data/gemfiles/jruby_9.2.0.0_rails6_semantic_logger.gemfile +0 -41
  607. data/gemfiles/jruby_9.2.0.0_rails6_semantic_logger.gemfile.lock +0 -288
  608. data/gemfiles/jruby_9.2.0.0_resque2_redis3.gemfile +0 -37
  609. data/gemfiles/jruby_9.2.0.0_resque2_redis3.gemfile.lock +0 -182
  610. data/gemfiles/jruby_9.2.0.0_resque2_redis4.gemfile +0 -37
  611. data/gemfiles/jruby_9.2.0.0_resque2_redis4.gemfile.lock +0 -182
  612. data/gemfiles/jruby_9.2.18.0_contrib.gemfile +0 -82
  613. data/gemfiles/jruby_9.2.18.0_contrib.gemfile.lock +0 -1571
  614. data/gemfiles/jruby_9.2.18.0_contrib_old.gemfile +0 -36
  615. data/gemfiles/jruby_9.2.18.0_contrib_old.gemfile.lock +0 -159
  616. data/gemfiles/jruby_9.2.18.0_core_old.gemfile +0 -35
  617. data/gemfiles/jruby_9.2.18.0_core_old.gemfile.lock +0 -155
  618. data/gemfiles/jruby_9.2.18.0_cucumber3.gemfile +0 -36
  619. data/gemfiles/jruby_9.2.18.0_cucumber3.gemfile.lock +0 -176
  620. data/gemfiles/jruby_9.2.18.0_cucumber4.gemfile +0 -36
  621. data/gemfiles/jruby_9.2.18.0_cucumber4.gemfile.lock +0 -208
  622. data/gemfiles/jruby_9.2.18.0_cucumber5.gemfile +0 -36
  623. data/gemfiles/jruby_9.2.18.0_cucumber5.gemfile.lock +0 -208
  624. data/gemfiles/jruby_9.2.18.0_rails5_mysql2.gemfile +0 -41
  625. data/gemfiles/jruby_9.2.18.0_rails5_mysql2.gemfile.lock +0 -273
  626. data/gemfiles/jruby_9.2.18.0_rails5_postgres.gemfile +0 -41
  627. data/gemfiles/jruby_9.2.18.0_rails5_postgres.gemfile.lock +0 -273
  628. data/gemfiles/jruby_9.2.18.0_rails5_postgres_redis.gemfile +0 -42
  629. data/gemfiles/jruby_9.2.18.0_rails5_postgres_redis.gemfile.lock +0 -275
  630. data/gemfiles/jruby_9.2.18.0_rails5_postgres_redis_activesupport.gemfile +0 -42
  631. data/gemfiles/jruby_9.2.18.0_rails5_postgres_redis_activesupport.gemfile.lock +0 -275
  632. data/gemfiles/jruby_9.2.18.0_rails5_postgres_sidekiq.gemfile +0 -43
  633. data/gemfiles/jruby_9.2.18.0_rails5_postgres_sidekiq.gemfile.lock +0 -281
  634. data/gemfiles/jruby_9.2.18.0_rails5_semantic_logger.gemfile +0 -41
  635. data/gemfiles/jruby_9.2.18.0_rails5_semantic_logger.gemfile.lock +0 -272
  636. data/gemfiles/jruby_9.2.18.0_rails61_mysql2.gemfile +0 -41
  637. data/gemfiles/jruby_9.2.18.0_rails61_mysql2.gemfile.lock +0 -292
  638. data/gemfiles/jruby_9.2.18.0_rails61_postgres.gemfile +0 -41
  639. data/gemfiles/jruby_9.2.18.0_rails61_postgres.gemfile.lock +0 -292
  640. data/gemfiles/jruby_9.2.18.0_rails61_postgres_redis.gemfile +0 -42
  641. data/gemfiles/jruby_9.2.18.0_rails61_postgres_redis.gemfile.lock +0 -294
  642. data/gemfiles/jruby_9.2.18.0_rails61_postgres_sidekiq.gemfile +0 -42
  643. data/gemfiles/jruby_9.2.18.0_rails61_postgres_sidekiq.gemfile.lock +0 -299
  644. data/gemfiles/jruby_9.2.18.0_rails61_semantic_logger.gemfile +0 -41
  645. data/gemfiles/jruby_9.2.18.0_rails61_semantic_logger.gemfile.lock +0 -291
  646. data/gemfiles/jruby_9.2.18.0_rails6_mysql2.gemfile +0 -41
  647. data/gemfiles/jruby_9.2.18.0_rails6_mysql2.gemfile.lock +0 -289
  648. data/gemfiles/jruby_9.2.18.0_rails6_postgres.gemfile +0 -41
  649. data/gemfiles/jruby_9.2.18.0_rails6_postgres.gemfile.lock +0 -289
  650. data/gemfiles/jruby_9.2.18.0_rails6_postgres_redis.gemfile +0 -42
  651. data/gemfiles/jruby_9.2.18.0_rails6_postgres_redis.gemfile.lock +0 -291
  652. data/gemfiles/jruby_9.2.18.0_rails6_postgres_redis_activesupport.gemfile +0 -42
  653. data/gemfiles/jruby_9.2.18.0_rails6_postgres_redis_activesupport.gemfile.lock +0 -291
  654. data/gemfiles/jruby_9.2.18.0_rails6_postgres_sidekiq.gemfile +0 -43
  655. data/gemfiles/jruby_9.2.18.0_rails6_postgres_sidekiq.gemfile.lock +0 -297
  656. data/gemfiles/jruby_9.2.18.0_rails6_semantic_logger.gemfile +0 -41
  657. data/gemfiles/jruby_9.2.18.0_rails6_semantic_logger.gemfile.lock +0 -288
  658. data/gemfiles/jruby_9.2.18.0_resque2_redis3.gemfile +0 -37
  659. data/gemfiles/jruby_9.2.18.0_resque2_redis3.gemfile.lock +0 -182
  660. data/gemfiles/jruby_9.2.18.0_resque2_redis4.gemfile +0 -37
  661. data/gemfiles/jruby_9.2.18.0_resque2_redis4.gemfile.lock +0 -182
  662. data/gemfiles/ruby_2.1.10_contrib_old.gemfile +0 -68
  663. data/gemfiles/ruby_2.1.10_contrib_old.gemfile.lock +0 -310
  664. data/gemfiles/ruby_2.1.10_core_old.gemfile +0 -34
  665. data/gemfiles/ruby_2.1.10_core_old.gemfile.lock +0 -120
  666. data/gemfiles/ruby_2.1.10_rails30_postgres.gemfile +0 -39
  667. data/gemfiles/ruby_2.1.10_rails30_postgres.gemfile.lock +0 -193
  668. data/gemfiles/ruby_2.1.10_rails30_postgres_sidekiq.gemfile +0 -40
  669. data/gemfiles/ruby_2.1.10_rails30_postgres_sidekiq.gemfile.lock +0 -202
  670. data/gemfiles/ruby_2.1.10_rails32_mysql2.gemfile +0 -42
  671. data/gemfiles/ruby_2.1.10_rails32_mysql2.gemfile.lock +0 -212
  672. data/gemfiles/ruby_2.1.10_rails32_postgres.gemfile +0 -39
  673. data/gemfiles/ruby_2.1.10_rails32_postgres.gemfile.lock +0 -201
  674. data/gemfiles/ruby_2.1.10_rails32_postgres_redis.gemfile +0 -41
  675. data/gemfiles/ruby_2.1.10_rails32_postgres_redis.gemfile.lock +0 -220
  676. data/gemfiles/ruby_2.1.10_rails32_postgres_sidekiq.gemfile +0 -40
  677. data/gemfiles/ruby_2.1.10_rails32_postgres_sidekiq.gemfile.lock +0 -210
  678. data/gemfiles/ruby_2.1.10_rails4_mysql2.gemfile +0 -39
  679. data/gemfiles/ruby_2.1.10_rails4_mysql2.gemfile.lock +0 -220
  680. data/gemfiles/ruby_2.1.10_rails4_postgres.gemfile +0 -39
  681. data/gemfiles/ruby_2.1.10_rails4_postgres.gemfile.lock +0 -220
  682. data/gemfiles/ruby_2.1.10_rails4_postgres_redis.gemfile +0 -41
  683. data/gemfiles/ruby_2.1.10_rails4_postgres_redis.gemfile.lock +0 -239
  684. data/gemfiles/ruby_2.1.10_rails4_semantic_logger.gemfile +0 -39
  685. data/gemfiles/ruby_2.1.10_rails4_semantic_logger.gemfile.lock +0 -218
  686. data/gemfiles/ruby_2.2.10_contrib.gemfile +0 -76
  687. data/gemfiles/ruby_2.2.10_contrib.gemfile.lock +0 -1499
  688. data/gemfiles/ruby_2.2.10_core_old.gemfile +0 -34
  689. data/gemfiles/ruby_2.2.10_core_old.gemfile.lock +0 -120
  690. data/gemfiles/ruby_2.2.10_rails30_postgres.gemfile +0 -39
  691. data/gemfiles/ruby_2.2.10_rails30_postgres.gemfile.lock +0 -193
  692. data/gemfiles/ruby_2.2.10_rails30_postgres_sidekiq.gemfile +0 -40
  693. data/gemfiles/ruby_2.2.10_rails30_postgres_sidekiq.gemfile.lock +0 -202
  694. data/gemfiles/ruby_2.2.10_rails32_mysql2.gemfile +0 -41
  695. data/gemfiles/ruby_2.2.10_rails32_mysql2.gemfile.lock +0 -209
  696. data/gemfiles/ruby_2.2.10_rails32_postgres.gemfile +0 -39
  697. data/gemfiles/ruby_2.2.10_rails32_postgres.gemfile.lock +0 -201
  698. data/gemfiles/ruby_2.2.10_rails32_postgres_redis.gemfile +0 -41
  699. data/gemfiles/ruby_2.2.10_rails32_postgres_redis.gemfile.lock +0 -220
  700. data/gemfiles/ruby_2.2.10_rails32_postgres_sidekiq.gemfile +0 -40
  701. data/gemfiles/ruby_2.2.10_rails32_postgres_sidekiq.gemfile.lock +0 -210
  702. data/gemfiles/ruby_2.2.10_rails4_mysql2.gemfile +0 -39
  703. data/gemfiles/ruby_2.2.10_rails4_mysql2.gemfile.lock +0 -220
  704. data/gemfiles/ruby_2.2.10_rails4_postgres.gemfile +0 -39
  705. data/gemfiles/ruby_2.2.10_rails4_postgres.gemfile.lock +0 -220
  706. data/gemfiles/ruby_2.2.10_rails4_postgres_redis.gemfile +0 -41
  707. data/gemfiles/ruby_2.2.10_rails4_postgres_redis.gemfile.lock +0 -239
  708. data/gemfiles/ruby_2.2.10_rails4_postgres_sidekiq.gemfile +0 -41
  709. data/gemfiles/ruby_2.2.10_rails4_postgres_sidekiq.gemfile.lock +0 -231
  710. data/gemfiles/ruby_2.2.10_rails4_semantic_logger.gemfile +0 -39
  711. data/gemfiles/ruby_2.2.10_rails4_semantic_logger.gemfile.lock +0 -218
  712. data/gemfiles/ruby_2.2.10_rails5_mysql2.gemfile +0 -39
  713. data/gemfiles/ruby_2.2.10_rails5_mysql2.gemfile.lock +0 -236
  714. data/gemfiles/ruby_2.2.10_rails5_postgres.gemfile +0 -39
  715. data/gemfiles/ruby_2.2.10_rails5_postgres.gemfile.lock +0 -236
  716. data/gemfiles/ruby_2.2.10_rails5_postgres_redis.gemfile +0 -40
  717. data/gemfiles/ruby_2.2.10_rails5_postgres_redis.gemfile.lock +0 -238
  718. data/gemfiles/ruby_2.2.10_rails5_postgres_redis_activesupport.gemfile +0 -40
  719. data/gemfiles/ruby_2.2.10_rails5_postgres_redis_activesupport.gemfile.lock +0 -238
  720. data/gemfiles/ruby_2.2.10_rails5_postgres_sidekiq.gemfile +0 -41
  721. data/gemfiles/ruby_2.2.10_rails5_postgres_sidekiq.gemfile.lock +0 -247
  722. data/gemfiles/ruby_2.2.10_rails5_semantic_logger.gemfile +0 -39
  723. data/gemfiles/ruby_2.2.10_rails5_semantic_logger.gemfile.lock +0 -234
  724. data/gemfiles/ruby_2.3.8_contrib.gemfile +0 -75
  725. data/gemfiles/ruby_2.3.8_contrib.gemfile.lock +0 -1508
  726. data/gemfiles/ruby_2.3.8_contrib_old.gemfile +0 -34
  727. data/gemfiles/ruby_2.3.8_contrib_old.gemfile.lock +0 -123
  728. data/gemfiles/ruby_2.3.8_core_old.gemfile +0 -33
  729. data/gemfiles/ruby_2.3.8_core_old.gemfile.lock +0 -119
  730. data/gemfiles/ruby_2.3.8_cucumber3.gemfile +0 -34
  731. data/gemfiles/ruby_2.3.8_cucumber3.gemfile.lock +0 -140
  732. data/gemfiles/ruby_2.3.8_cucumber4.gemfile +0 -34
  733. data/gemfiles/ruby_2.3.8_cucumber4.gemfile.lock +0 -170
  734. data/gemfiles/ruby_2.3.8_rails30_postgres.gemfile +0 -38
  735. data/gemfiles/ruby_2.3.8_rails30_postgres.gemfile.lock +0 -192
  736. data/gemfiles/ruby_2.3.8_rails30_postgres_sidekiq.gemfile +0 -39
  737. data/gemfiles/ruby_2.3.8_rails30_postgres_sidekiq.gemfile.lock +0 -201
  738. data/gemfiles/ruby_2.3.8_rails32_mysql2.gemfile +0 -40
  739. data/gemfiles/ruby_2.3.8_rails32_mysql2.gemfile.lock +0 -208
  740. data/gemfiles/ruby_2.3.8_rails32_postgres.gemfile +0 -38
  741. data/gemfiles/ruby_2.3.8_rails32_postgres.gemfile.lock +0 -200
  742. data/gemfiles/ruby_2.3.8_rails32_postgres_redis.gemfile +0 -40
  743. data/gemfiles/ruby_2.3.8_rails32_postgres_redis.gemfile.lock +0 -219
  744. data/gemfiles/ruby_2.3.8_rails32_postgres_sidekiq.gemfile +0 -39
  745. data/gemfiles/ruby_2.3.8_rails32_postgres_sidekiq.gemfile.lock +0 -209
  746. data/gemfiles/ruby_2.3.8_rails4_mysql2.gemfile +0 -38
  747. data/gemfiles/ruby_2.3.8_rails4_mysql2.gemfile.lock +0 -219
  748. data/gemfiles/ruby_2.3.8_rails4_postgres.gemfile +0 -38
  749. data/gemfiles/ruby_2.3.8_rails4_postgres.gemfile.lock +0 -219
  750. data/gemfiles/ruby_2.3.8_rails4_postgres_redis.gemfile +0 -40
  751. data/gemfiles/ruby_2.3.8_rails4_postgres_redis.gemfile.lock +0 -238
  752. data/gemfiles/ruby_2.3.8_rails4_postgres_sidekiq.gemfile +0 -40
  753. data/gemfiles/ruby_2.3.8_rails4_postgres_sidekiq.gemfile.lock +0 -230
  754. data/gemfiles/ruby_2.3.8_rails4_semantic_logger.gemfile +0 -38
  755. data/gemfiles/ruby_2.3.8_rails4_semantic_logger.gemfile.lock +0 -218
  756. data/gemfiles/ruby_2.3.8_rails5_mysql2.gemfile +0 -37
  757. data/gemfiles/ruby_2.3.8_rails5_mysql2.gemfile.lock +0 -230
  758. data/gemfiles/ruby_2.3.8_rails5_postgres.gemfile +0 -37
  759. data/gemfiles/ruby_2.3.8_rails5_postgres.gemfile.lock +0 -230
  760. data/gemfiles/ruby_2.3.8_rails5_postgres_redis.gemfile +0 -38
  761. data/gemfiles/ruby_2.3.8_rails5_postgres_redis.gemfile.lock +0 -232
  762. data/gemfiles/ruby_2.3.8_rails5_postgres_redis_activesupport.gemfile +0 -38
  763. data/gemfiles/ruby_2.3.8_rails5_postgres_redis_activesupport.gemfile.lock +0 -232
  764. data/gemfiles/ruby_2.3.8_rails5_postgres_sidekiq.gemfile +0 -39
  765. data/gemfiles/ruby_2.3.8_rails5_postgres_sidekiq.gemfile.lock +0 -241
  766. data/gemfiles/ruby_2.3.8_rails5_semantic_logger.gemfile +0 -37
  767. data/gemfiles/ruby_2.3.8_rails5_semantic_logger.gemfile.lock +0 -229
  768. data/gemfiles/ruby_2.3.8_resque2_redis3.gemfile +0 -35
  769. data/gemfiles/ruby_2.3.8_resque2_redis3.gemfile.lock +0 -146
  770. data/gemfiles/ruby_2.3.8_resque2_redis4.gemfile +0 -35
  771. data/gemfiles/ruby_2.3.8_resque2_redis4.gemfile.lock +0 -146
  772. data/gemfiles/ruby_2.4.10_contrib.gemfile +0 -81
  773. data/gemfiles/ruby_2.4.10_contrib.gemfile.lock +0 -1596
  774. data/gemfiles/ruby_2.4.10_contrib_old.gemfile +0 -39
  775. data/gemfiles/ruby_2.4.10_contrib_old.gemfile.lock +0 -157
  776. data/gemfiles/ruby_2.4.10_core_old.gemfile +0 -38
  777. data/gemfiles/ruby_2.4.10_core_old.gemfile.lock +0 -153
  778. data/gemfiles/ruby_2.4.10_cucumber3.gemfile +0 -39
  779. data/gemfiles/ruby_2.4.10_cucumber3.gemfile.lock +0 -174
  780. data/gemfiles/ruby_2.4.10_cucumber4.gemfile +0 -39
  781. data/gemfiles/ruby_2.4.10_cucumber4.gemfile.lock +0 -204
  782. data/gemfiles/ruby_2.4.10_rails5_mysql2.gemfile +0 -42
  783. data/gemfiles/ruby_2.4.10_rails5_mysql2.gemfile.lock +0 -264
  784. data/gemfiles/ruby_2.4.10_rails5_postgres.gemfile +0 -42
  785. data/gemfiles/ruby_2.4.10_rails5_postgres.gemfile.lock +0 -264
  786. data/gemfiles/ruby_2.4.10_rails5_postgres_redis.gemfile +0 -43
  787. data/gemfiles/ruby_2.4.10_rails5_postgres_redis.gemfile.lock +0 -266
  788. data/gemfiles/ruby_2.4.10_rails5_postgres_redis_activesupport.gemfile +0 -43
  789. data/gemfiles/ruby_2.4.10_rails5_postgres_redis_activesupport.gemfile.lock +0 -266
  790. data/gemfiles/ruby_2.4.10_rails5_postgres_sidekiq.gemfile +0 -44
  791. data/gemfiles/ruby_2.4.10_rails5_postgres_sidekiq.gemfile.lock +0 -275
  792. data/gemfiles/ruby_2.4.10_rails5_semantic_logger.gemfile +0 -42
  793. data/gemfiles/ruby_2.4.10_rails5_semantic_logger.gemfile.lock +0 -263
  794. data/gemfiles/ruby_2.4.10_resque2_redis3.gemfile +0 -40
  795. data/gemfiles/ruby_2.4.10_resque2_redis3.gemfile.lock +0 -180
  796. data/gemfiles/ruby_2.4.10_resque2_redis4.gemfile +0 -40
  797. data/gemfiles/ruby_2.4.10_resque2_redis4.gemfile.lock +0 -180
  798. data/gemfiles/ruby_2.5.9_contrib.gemfile +0 -86
  799. data/gemfiles/ruby_2.5.9_contrib.gemfile.lock +0 -1608
  800. data/gemfiles/ruby_2.5.9_contrib_old.gemfile +0 -40
  801. data/gemfiles/ruby_2.5.9_contrib_old.gemfile.lock +0 -167
  802. data/gemfiles/ruby_2.5.9_core_old.gemfile +0 -39
  803. data/gemfiles/ruby_2.5.9_core_old.gemfile.lock +0 -163
  804. data/gemfiles/ruby_2.5.9_cucumber3.gemfile +0 -40
  805. data/gemfiles/ruby_2.5.9_cucumber3.gemfile.lock +0 -184
  806. data/gemfiles/ruby_2.5.9_cucumber4.gemfile +0 -40
  807. data/gemfiles/ruby_2.5.9_cucumber4.gemfile.lock +0 -216
  808. data/gemfiles/ruby_2.5.9_cucumber5.gemfile +0 -40
  809. data/gemfiles/ruby_2.5.9_cucumber5.gemfile.lock +0 -216
  810. data/gemfiles/ruby_2.5.9_rails5_mysql2.gemfile +0 -45
  811. data/gemfiles/ruby_2.5.9_rails5_mysql2.gemfile.lock +0 -276
  812. data/gemfiles/ruby_2.5.9_rails5_postgres.gemfile +0 -45
  813. data/gemfiles/ruby_2.5.9_rails5_postgres.gemfile.lock +0 -276
  814. data/gemfiles/ruby_2.5.9_rails5_postgres_redis.gemfile +0 -46
  815. data/gemfiles/ruby_2.5.9_rails5_postgres_redis.gemfile.lock +0 -278
  816. data/gemfiles/ruby_2.5.9_rails5_postgres_redis_activesupport.gemfile +0 -46
  817. data/gemfiles/ruby_2.5.9_rails5_postgres_redis_activesupport.gemfile.lock +0 -278
  818. data/gemfiles/ruby_2.5.9_rails5_postgres_sidekiq.gemfile +0 -47
  819. data/gemfiles/ruby_2.5.9_rails5_postgres_sidekiq.gemfile.lock +0 -284
  820. data/gemfiles/ruby_2.5.9_rails5_semantic_logger.gemfile +0 -45
  821. data/gemfiles/ruby_2.5.9_rails5_semantic_logger.gemfile.lock +0 -275
  822. data/gemfiles/ruby_2.5.9_rails61_mysql2.gemfile +0 -45
  823. data/gemfiles/ruby_2.5.9_rails61_mysql2.gemfile.lock +0 -295
  824. data/gemfiles/ruby_2.5.9_rails61_postgres.gemfile +0 -45
  825. data/gemfiles/ruby_2.5.9_rails61_postgres.gemfile.lock +0 -295
  826. data/gemfiles/ruby_2.5.9_rails61_postgres_redis.gemfile +0 -46
  827. data/gemfiles/ruby_2.5.9_rails61_postgres_redis.gemfile.lock +0 -297
  828. data/gemfiles/ruby_2.5.9_rails61_postgres_sidekiq.gemfile +0 -46
  829. data/gemfiles/ruby_2.5.9_rails61_postgres_sidekiq.gemfile.lock +0 -302
  830. data/gemfiles/ruby_2.5.9_rails61_semantic_logger.gemfile +0 -45
  831. data/gemfiles/ruby_2.5.9_rails61_semantic_logger.gemfile.lock +0 -294
  832. data/gemfiles/ruby_2.5.9_rails6_mysql2.gemfile +0 -45
  833. data/gemfiles/ruby_2.5.9_rails6_mysql2.gemfile.lock +0 -292
  834. data/gemfiles/ruby_2.5.9_rails6_postgres.gemfile +0 -45
  835. data/gemfiles/ruby_2.5.9_rails6_postgres.gemfile.lock +0 -292
  836. data/gemfiles/ruby_2.5.9_rails6_postgres_redis.gemfile +0 -46
  837. data/gemfiles/ruby_2.5.9_rails6_postgres_redis.gemfile.lock +0 -294
  838. data/gemfiles/ruby_2.5.9_rails6_postgres_redis_activesupport.gemfile +0 -46
  839. data/gemfiles/ruby_2.5.9_rails6_postgres_redis_activesupport.gemfile.lock +0 -294
  840. data/gemfiles/ruby_2.5.9_rails6_postgres_sidekiq.gemfile +0 -47
  841. data/gemfiles/ruby_2.5.9_rails6_postgres_sidekiq.gemfile.lock +0 -300
  842. data/gemfiles/ruby_2.5.9_rails6_semantic_logger.gemfile +0 -45
  843. data/gemfiles/ruby_2.5.9_rails6_semantic_logger.gemfile.lock +0 -291
  844. data/gemfiles/ruby_2.5.9_resque2_redis3.gemfile +0 -41
  845. data/gemfiles/ruby_2.5.9_resque2_redis3.gemfile.lock +0 -190
  846. data/gemfiles/ruby_2.5.9_resque2_redis4.gemfile +0 -41
  847. data/gemfiles/ruby_2.5.9_resque2_redis4.gemfile.lock +0 -190
  848. data/gemfiles/ruby_2.6.7_contrib.gemfile +0 -82
  849. data/gemfiles/ruby_2.6.7_contrib.gemfile.lock +0 -1606
  850. data/gemfiles/ruby_2.6.7_contrib_old.gemfile +0 -40
  851. data/gemfiles/ruby_2.6.7_contrib_old.gemfile.lock +0 -169
  852. data/gemfiles/ruby_2.6.7_core_old.gemfile +0 -39
  853. data/gemfiles/ruby_2.6.7_core_old.gemfile.lock +0 -165
  854. data/gemfiles/ruby_2.6.7_cucumber3.gemfile +0 -40
  855. data/gemfiles/ruby_2.6.7_cucumber3.gemfile.lock +0 -186
  856. data/gemfiles/ruby_2.6.7_cucumber4.gemfile +0 -40
  857. data/gemfiles/ruby_2.6.7_cucumber4.gemfile.lock +0 -218
  858. data/gemfiles/ruby_2.6.7_cucumber5.gemfile +0 -40
  859. data/gemfiles/ruby_2.6.7_cucumber5.gemfile.lock +0 -218
  860. data/gemfiles/ruby_2.6.7_rails5_mysql2.gemfile +0 -43
  861. data/gemfiles/ruby_2.6.7_rails5_mysql2.gemfile.lock +0 -276
  862. data/gemfiles/ruby_2.6.7_rails5_postgres.gemfile +0 -43
  863. data/gemfiles/ruby_2.6.7_rails5_postgres.gemfile.lock +0 -276
  864. data/gemfiles/ruby_2.6.7_rails5_postgres_redis.gemfile +0 -44
  865. data/gemfiles/ruby_2.6.7_rails5_postgres_redis.gemfile.lock +0 -278
  866. data/gemfiles/ruby_2.6.7_rails5_postgres_redis_activesupport.gemfile +0 -44
  867. data/gemfiles/ruby_2.6.7_rails5_postgres_redis_activesupport.gemfile.lock +0 -278
  868. data/gemfiles/ruby_2.6.7_rails5_postgres_sidekiq.gemfile +0 -45
  869. data/gemfiles/ruby_2.6.7_rails5_postgres_sidekiq.gemfile.lock +0 -284
  870. data/gemfiles/ruby_2.6.7_rails5_semantic_logger.gemfile +0 -43
  871. data/gemfiles/ruby_2.6.7_rails5_semantic_logger.gemfile.lock +0 -275
  872. data/gemfiles/ruby_2.6.7_rails61_mysql2.gemfile +0 -43
  873. data/gemfiles/ruby_2.6.7_rails61_mysql2.gemfile.lock +0 -295
  874. data/gemfiles/ruby_2.6.7_rails61_postgres.gemfile +0 -43
  875. data/gemfiles/ruby_2.6.7_rails61_postgres.gemfile.lock +0 -295
  876. data/gemfiles/ruby_2.6.7_rails61_postgres_redis.gemfile +0 -44
  877. data/gemfiles/ruby_2.6.7_rails61_postgres_redis.gemfile.lock +0 -297
  878. data/gemfiles/ruby_2.6.7_rails61_postgres_sidekiq.gemfile +0 -44
  879. data/gemfiles/ruby_2.6.7_rails61_postgres_sidekiq.gemfile.lock +0 -302
  880. data/gemfiles/ruby_2.6.7_rails61_semantic_logger.gemfile +0 -43
  881. data/gemfiles/ruby_2.6.7_rails61_semantic_logger.gemfile.lock +0 -294
  882. data/gemfiles/ruby_2.6.7_rails6_mysql2.gemfile +0 -43
  883. data/gemfiles/ruby_2.6.7_rails6_mysql2.gemfile.lock +0 -292
  884. data/gemfiles/ruby_2.6.7_rails6_postgres.gemfile +0 -43
  885. data/gemfiles/ruby_2.6.7_rails6_postgres.gemfile.lock +0 -292
  886. data/gemfiles/ruby_2.6.7_rails6_postgres_redis.gemfile +0 -44
  887. data/gemfiles/ruby_2.6.7_rails6_postgres_redis.gemfile.lock +0 -294
  888. data/gemfiles/ruby_2.6.7_rails6_postgres_redis_activesupport.gemfile +0 -44
  889. data/gemfiles/ruby_2.6.7_rails6_postgres_redis_activesupport.gemfile.lock +0 -294
  890. data/gemfiles/ruby_2.6.7_rails6_postgres_sidekiq.gemfile +0 -45
  891. data/gemfiles/ruby_2.6.7_rails6_postgres_sidekiq.gemfile.lock +0 -300
  892. data/gemfiles/ruby_2.6.7_rails6_semantic_logger.gemfile +0 -43
  893. data/gemfiles/ruby_2.6.7_rails6_semantic_logger.gemfile.lock +0 -291
  894. data/gemfiles/ruby_2.6.7_resque2_redis3.gemfile +0 -41
  895. data/gemfiles/ruby_2.6.7_resque2_redis3.gemfile.lock +0 -192
  896. data/gemfiles/ruby_2.6.7_resque2_redis4.gemfile +0 -41
  897. data/gemfiles/ruby_2.6.7_resque2_redis4.gemfile.lock +0 -192
  898. data/gemfiles/ruby_2.7.3_contrib.gemfile +0 -81
  899. data/gemfiles/ruby_2.7.3_contrib.gemfile.lock +0 -1580
  900. data/gemfiles/ruby_2.7.3_contrib_old.gemfile +0 -40
  901. data/gemfiles/ruby_2.7.3_contrib_old.gemfile.lock +0 -169
  902. data/gemfiles/ruby_2.7.3_core_old.gemfile +0 -39
  903. data/gemfiles/ruby_2.7.3_core_old.gemfile.lock +0 -165
  904. data/gemfiles/ruby_2.7.3_cucumber3.gemfile +0 -40
  905. data/gemfiles/ruby_2.7.3_cucumber3.gemfile.lock +0 -186
  906. data/gemfiles/ruby_2.7.3_cucumber4.gemfile +0 -40
  907. data/gemfiles/ruby_2.7.3_cucumber4.gemfile.lock +0 -218
  908. data/gemfiles/ruby_2.7.3_cucumber5.gemfile +0 -40
  909. data/gemfiles/ruby_2.7.3_cucumber5.gemfile.lock +0 -218
  910. data/gemfiles/ruby_2.7.3_rails5_mysql2.gemfile +0 -43
  911. data/gemfiles/ruby_2.7.3_rails5_mysql2.gemfile.lock +0 -278
  912. data/gemfiles/ruby_2.7.3_rails5_postgres.gemfile +0 -43
  913. data/gemfiles/ruby_2.7.3_rails5_postgres.gemfile.lock +0 -278
  914. data/gemfiles/ruby_2.7.3_rails5_postgres_redis.gemfile +0 -45
  915. data/gemfiles/ruby_2.7.3_rails5_postgres_redis.gemfile.lock +0 -297
  916. data/gemfiles/ruby_2.7.3_rails5_postgres_redis_activesupport.gemfile +0 -45
  917. data/gemfiles/ruby_2.7.3_rails5_postgres_redis_activesupport.gemfile.lock +0 -297
  918. data/gemfiles/ruby_2.7.3_rails5_postgres_sidekiq.gemfile +0 -45
  919. data/gemfiles/ruby_2.7.3_rails5_postgres_sidekiq.gemfile.lock +0 -286
  920. data/gemfiles/ruby_2.7.3_rails5_semantic_logger.gemfile +0 -43
  921. data/gemfiles/ruby_2.7.3_rails5_semantic_logger.gemfile.lock +0 -277
  922. data/gemfiles/ruby_2.7.3_rails61_mysql2.gemfile +0 -43
  923. data/gemfiles/ruby_2.7.3_rails61_mysql2.gemfile.lock +0 -297
  924. data/gemfiles/ruby_2.7.3_rails61_postgres.gemfile +0 -43
  925. data/gemfiles/ruby_2.7.3_rails61_postgres.gemfile.lock +0 -297
  926. data/gemfiles/ruby_2.7.3_rails61_postgres_redis.gemfile +0 -44
  927. data/gemfiles/ruby_2.7.3_rails61_postgres_redis.gemfile.lock +0 -299
  928. data/gemfiles/ruby_2.7.3_rails61_postgres_sidekiq.gemfile +0 -44
  929. data/gemfiles/ruby_2.7.3_rails61_postgres_sidekiq.gemfile.lock +0 -304
  930. data/gemfiles/ruby_2.7.3_rails61_semantic_logger.gemfile +0 -43
  931. data/gemfiles/ruby_2.7.3_rails61_semantic_logger.gemfile.lock +0 -296
  932. data/gemfiles/ruby_2.7.3_rails6_mysql2.gemfile +0 -43
  933. data/gemfiles/ruby_2.7.3_rails6_mysql2.gemfile.lock +0 -294
  934. data/gemfiles/ruby_2.7.3_rails6_postgres.gemfile +0 -43
  935. data/gemfiles/ruby_2.7.3_rails6_postgres.gemfile.lock +0 -294
  936. data/gemfiles/ruby_2.7.3_rails6_postgres_redis.gemfile +0 -45
  937. data/gemfiles/ruby_2.7.3_rails6_postgres_redis.gemfile.lock +0 -313
  938. data/gemfiles/ruby_2.7.3_rails6_postgres_redis_activesupport.gemfile +0 -45
  939. data/gemfiles/ruby_2.7.3_rails6_postgres_redis_activesupport.gemfile.lock +0 -313
  940. data/gemfiles/ruby_2.7.3_rails6_postgres_sidekiq.gemfile +0 -45
  941. data/gemfiles/ruby_2.7.3_rails6_postgres_sidekiq.gemfile.lock +0 -302
  942. data/gemfiles/ruby_2.7.3_rails6_semantic_logger.gemfile +0 -43
  943. data/gemfiles/ruby_2.7.3_rails6_semantic_logger.gemfile.lock +0 -293
  944. data/gemfiles/ruby_2.7.3_resque2_redis3.gemfile +0 -41
  945. data/gemfiles/ruby_2.7.3_resque2_redis3.gemfile.lock +0 -192
  946. data/gemfiles/ruby_2.7.3_resque2_redis4.gemfile +0 -41
  947. data/gemfiles/ruby_2.7.3_resque2_redis4.gemfile.lock +0 -192
  948. data/gemfiles/ruby_3.0.1_contrib.gemfile +0 -80
  949. data/gemfiles/ruby_3.0.1_contrib.gemfile.lock +0 -1583
  950. data/gemfiles/ruby_3.0.1_core_old.gemfile +0 -40
  951. data/gemfiles/ruby_3.0.1_core_old.gemfile.lock +0 -167
  952. data/gemfiles/ruby_3.0.1_cucumber3.gemfile +0 -41
  953. data/gemfiles/ruby_3.0.1_cucumber3.gemfile.lock +0 -188
  954. data/gemfiles/ruby_3.0.1_cucumber4.gemfile +0 -41
  955. data/gemfiles/ruby_3.0.1_cucumber4.gemfile.lock +0 -220
  956. data/gemfiles/ruby_3.0.1_cucumber5.gemfile +0 -41
  957. data/gemfiles/ruby_3.0.1_cucumber5.gemfile.lock +0 -220
  958. data/gemfiles/ruby_3.0.1_rails61_mysql2.gemfile +0 -44
  959. data/gemfiles/ruby_3.0.1_rails61_mysql2.gemfile.lock +0 -297
  960. data/gemfiles/ruby_3.0.1_rails61_postgres.gemfile +0 -44
  961. data/gemfiles/ruby_3.0.1_rails61_postgres.gemfile.lock +0 -297
  962. data/gemfiles/ruby_3.0.1_rails61_postgres_redis.gemfile +0 -45
  963. data/gemfiles/ruby_3.0.1_rails61_postgres_redis.gemfile.lock +0 -299
  964. data/gemfiles/ruby_3.0.1_rails61_postgres_sidekiq.gemfile +0 -46
  965. data/gemfiles/ruby_3.0.1_rails61_postgres_sidekiq.gemfile.lock +0 -311
  966. data/gemfiles/ruby_3.0.1_rails61_semantic_logger.gemfile +0 -44
  967. data/gemfiles/ruby_3.0.1_rails61_semantic_logger.gemfile.lock +0 -296
  968. data/gemfiles/ruby_3.0.1_resque2_redis3.gemfile +0 -42
  969. data/gemfiles/ruby_3.0.1_resque2_redis3.gemfile.lock +0 -194
  970. data/gemfiles/ruby_3.0.1_resque2_redis4.gemfile +0 -42
  971. data/gemfiles/ruby_3.0.1_resque2_redis4.gemfile.lock +0 -194
  972. data/integration/README.md +0 -67
  973. data/integration/apps/rack/.dockerignore +0 -1
  974. data/integration/apps/rack/.envrc.sample +0 -1
  975. data/integration/apps/rack/.gitignore +0 -4
  976. data/integration/apps/rack/.rspec +0 -1
  977. data/integration/apps/rack/Dockerfile +0 -28
  978. data/integration/apps/rack/Dockerfile-ci +0 -11
  979. data/integration/apps/rack/Gemfile +0 -24
  980. data/integration/apps/rack/README.md +0 -93
  981. data/integration/apps/rack/app/acme.rb +0 -80
  982. data/integration/apps/rack/app/datadog.rb +0 -17
  983. data/integration/apps/rack/bin/run +0 -22
  984. data/integration/apps/rack/bin/setup +0 -17
  985. data/integration/apps/rack/bin/test +0 -24
  986. data/integration/apps/rack/config.ru +0 -6
  987. data/integration/apps/rack/config/puma.rb +0 -14
  988. data/integration/apps/rack/config/unicorn.rb +0 -23
  989. data/integration/apps/rack/docker-compose.ci.yml +0 -62
  990. data/integration/apps/rack/docker-compose.yml +0 -78
  991. data/integration/apps/rack/script/build-images +0 -38
  992. data/integration/apps/rack/script/ci +0 -51
  993. data/integration/apps/rack/spec/integration/basic_spec.rb +0 -10
  994. data/integration/apps/rack/spec/spec_helper.rb +0 -16
  995. data/integration/apps/rack/spec/support/integration_helper.rb +0 -22
  996. data/integration/apps/rails-five/.dockerignore +0 -1
  997. data/integration/apps/rails-five/.env +0 -3
  998. data/integration/apps/rails-five/.envrc.sample +0 -1
  999. data/integration/apps/rails-five/.gitignore +0 -30
  1000. data/integration/apps/rails-five/Dockerfile +0 -25
  1001. data/integration/apps/rails-five/Dockerfile-ci +0 -11
  1002. data/integration/apps/rails-five/Gemfile +0 -104
  1003. data/integration/apps/rails-five/README.md +0 -94
  1004. data/integration/apps/rails-five/Rakefile +0 -6
  1005. data/integration/apps/rails-five/app/channels/application_cable/channel.rb +0 -4
  1006. data/integration/apps/rails-five/app/channels/application_cable/connection.rb +0 -4
  1007. data/integration/apps/rails-five/app/controllers/application_controller.rb +0 -2
  1008. data/integration/apps/rails-five/app/controllers/basic_controller.rb +0 -36
  1009. data/integration/apps/rails-five/app/controllers/concerns/.keep +0 -0
  1010. data/integration/apps/rails-five/app/controllers/health_controller.rb +0 -9
  1011. data/integration/apps/rails-five/app/controllers/jobs_controller.rb +0 -12
  1012. data/integration/apps/rails-five/app/jobs/application_job.rb +0 -2
  1013. data/integration/apps/rails-five/app/jobs/test_job.rb +0 -12
  1014. data/integration/apps/rails-five/app/mailers/application_mailer.rb +0 -4
  1015. data/integration/apps/rails-five/app/models/application_record.rb +0 -3
  1016. data/integration/apps/rails-five/app/models/concerns/.keep +0 -0
  1017. data/integration/apps/rails-five/app/models/test.rb +0 -2
  1018. data/integration/apps/rails-five/app/views/layouts/mailer.html.erb +0 -13
  1019. data/integration/apps/rails-five/app/views/layouts/mailer.text.erb +0 -1
  1020. data/integration/apps/rails-five/bin/bundle +0 -3
  1021. data/integration/apps/rails-five/bin/rails +0 -9
  1022. data/integration/apps/rails-five/bin/rake +0 -9
  1023. data/integration/apps/rails-five/bin/run +0 -24
  1024. data/integration/apps/rails-five/bin/setup +0 -27
  1025. data/integration/apps/rails-five/bin/spring +0 -17
  1026. data/integration/apps/rails-five/bin/test +0 -21
  1027. data/integration/apps/rails-five/bin/update +0 -28
  1028. data/integration/apps/rails-five/config.ru +0 -5
  1029. data/integration/apps/rails-five/config/application.rb +0 -97
  1030. data/integration/apps/rails-five/config/boot.rb +0 -4
  1031. data/integration/apps/rails-five/config/cable.yml +0 -10
  1032. data/integration/apps/rails-five/config/credentials.yml.enc +0 -1
  1033. data/integration/apps/rails-five/config/database.yml +0 -28
  1034. data/integration/apps/rails-five/config/environment.rb +0 -5
  1035. data/integration/apps/rails-five/config/environments/development.rb +0 -51
  1036. data/integration/apps/rails-five/config/environments/production.rb +0 -82
  1037. data/integration/apps/rails-five/config/environments/test.rb +0 -43
  1038. data/integration/apps/rails-five/config/initializers/datadog.rb +0 -18
  1039. data/integration/apps/rails-five/config/initializers/filter_parameter_logging.rb +0 -4
  1040. data/integration/apps/rails-five/config/initializers/resque.rb +0 -4
  1041. data/integration/apps/rails-five/config/initializers/rollbar.rb +0 -5
  1042. data/integration/apps/rails-five/config/initializers/wrap_parameters.rb +0 -14
  1043. data/integration/apps/rails-five/config/locales/en.yml +0 -33
  1044. data/integration/apps/rails-five/config/puma.rb +0 -24
  1045. data/integration/apps/rails-five/config/routes.rb +0 -11
  1046. data/integration/apps/rails-five/config/spring.rb +0 -6
  1047. data/integration/apps/rails-five/config/unicorn.rb +0 -29
  1048. data/integration/apps/rails-five/db/migrate/20190927215052_create_tests.rb +0 -11
  1049. data/integration/apps/rails-five/db/schema.rb +0 -23
  1050. data/integration/apps/rails-five/db/seeds.rb +0 -7
  1051. data/integration/apps/rails-five/docker-compose.ci.yml +0 -98
  1052. data/integration/apps/rails-five/docker-compose.yml +0 -100
  1053. data/integration/apps/rails-five/lib/tasks/.keep +0 -0
  1054. data/integration/apps/rails-five/log/.keep +0 -0
  1055. data/integration/apps/rails-five/public/robots.txt +0 -1
  1056. data/integration/apps/rails-five/script/build-images +0 -35
  1057. data/integration/apps/rails-five/script/ci +0 -51
  1058. data/integration/apps/rails-five/spec/integration/basic_spec.rb +0 -10
  1059. data/integration/apps/rails-five/spec/spec_helper.rb +0 -16
  1060. data/integration/apps/rails-five/spec/support/integration_helper.rb +0 -22
  1061. data/integration/apps/rails-five/storage/.keep +0 -0
  1062. data/integration/apps/rails-five/tmp/.keep +0 -0
  1063. data/integration/apps/rails-five/vendor/.keep +0 -0
  1064. data/integration/apps/rspec/.dockerignore +0 -1
  1065. data/integration/apps/rspec/.envrc.sample +0 -1
  1066. data/integration/apps/rspec/.gitignore +0 -2
  1067. data/integration/apps/rspec/.rspec +0 -1
  1068. data/integration/apps/rspec/Dockerfile +0 -25
  1069. data/integration/apps/rspec/Dockerfile-ci +0 -11
  1070. data/integration/apps/rspec/Gemfile +0 -14
  1071. data/integration/apps/rspec/README.md +0 -70
  1072. data/integration/apps/rspec/agent.yaml +0 -3
  1073. data/integration/apps/rspec/app/datadog.rb +0 -13
  1074. data/integration/apps/rspec/app/fibonacci.rb +0 -30
  1075. data/integration/apps/rspec/bin/run +0 -20
  1076. data/integration/apps/rspec/bin/setup +0 -23
  1077. data/integration/apps/rspec/bin/test +0 -21
  1078. data/integration/apps/rspec/docker-compose.ci.yml +0 -51
  1079. data/integration/apps/rspec/docker-compose.yml +0 -64
  1080. data/integration/apps/rspec/script/build-images +0 -37
  1081. data/integration/apps/rspec/script/ci +0 -53
  1082. data/integration/apps/rspec/spec/fibonacci_spec.rb +0 -16
  1083. data/integration/apps/rspec/spec/rspec_spec.rb +0 -58
  1084. data/integration/apps/rspec/spec/spec_helper.rb +0 -24
  1085. data/integration/apps/ruby/.dockerignore +0 -1
  1086. data/integration/apps/ruby/.envrc.sample +0 -1
  1087. data/integration/apps/ruby/.gitignore +0 -2
  1088. data/integration/apps/ruby/Dockerfile +0 -25
  1089. data/integration/apps/ruby/Dockerfile-ci +0 -11
  1090. data/integration/apps/ruby/Gemfile +0 -11
  1091. data/integration/apps/ruby/README.md +0 -70
  1092. data/integration/apps/ruby/agent.yaml +0 -3
  1093. data/integration/apps/ruby/app/datadog.rb +0 -13
  1094. data/integration/apps/ruby/app/fibonacci.rb +0 -58
  1095. data/integration/apps/ruby/bin/run +0 -20
  1096. data/integration/apps/ruby/bin/setup +0 -17
  1097. data/integration/apps/ruby/bin/test +0 -21
  1098. data/integration/apps/ruby/docker-compose.ci.yml +0 -51
  1099. data/integration/apps/ruby/docker-compose.yml +0 -63
  1100. data/integration/apps/ruby/script/build-images +0 -38
  1101. data/integration/apps/ruby/script/ci +0 -51
  1102. data/integration/images/agent/Dockerfile +0 -2
  1103. data/integration/images/agent/agent.yaml +0 -3
  1104. data/integration/images/include/datadog/analyzer.rb +0 -71
  1105. data/integration/images/include/datadog/demo_env.rb +0 -102
  1106. data/integration/images/include/http-health-check +0 -33
  1107. data/integration/images/ruby/2.1/Dockerfile +0 -54
  1108. data/integration/images/ruby/2.2/Dockerfile +0 -54
  1109. data/integration/images/ruby/2.3/Dockerfile +0 -70
  1110. data/integration/images/ruby/2.4/Dockerfile +0 -54
  1111. data/integration/images/ruby/2.5/Dockerfile +0 -54
  1112. data/integration/images/ruby/2.6/Dockerfile +0 -54
  1113. data/integration/images/ruby/2.7/Dockerfile +0 -54
  1114. data/integration/images/ruby/3.0/Dockerfile +0 -54
  1115. data/integration/images/wrk/Dockerfile +0 -33
  1116. data/integration/images/wrk/scripts/entrypoint.sh +0 -17
  1117. data/integration/images/wrk/scripts/scenarios/basic/default.lua +0 -1
  1118. data/integration/images/wrk/scripts/scenarios/basic/fibonacci.lua +0 -1
  1119. data/integration/script/build-images +0 -43
  1120. data/lib/datadog/core/environment/object_space.rb +0 -22
  1121. data/tasks/release_gem.rake +0 -28
  1122. data/tasks/update_appraisal_gemfiles.rake +0 -36
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  require 'ddtrace/contrib/integration'
2
3
  require 'ddtrace/contrib/elasticsearch/configuration/settings'
3
4
  require 'ddtrace/contrib/elasticsearch/patcher'
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  require 'ddtrace/patcher'
2
3
  require 'ddtrace/contrib/patcher'
3
4
  require 'ddtrace/ext/app_types'
@@ -1,8 +1,11 @@
1
+ # typed: true
1
2
  module Datadog
2
3
  module Contrib
3
4
  module Elasticsearch
4
5
  # Quantize contains ES-specific resource quantization tools.
5
6
  module Quantize
7
+ include Kernel # Ensure that kernel methods are always available (https://sorbet.org/docs/error-reference#7003)
8
+
6
9
  PLACEHOLDER = '?'.freeze
7
10
  ID_PLACEHOLDER = '\1?'.freeze
8
11
  EXCLUDE_KEYS = [].freeze
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  require 'ddtrace/contrib/configuration/settings'
2
3
  require 'ddtrace/contrib/ethon/ext'
3
4
 
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  require 'ddtrace/ext/net'
2
3
  require 'ddtrace/ext/distributed'
3
4
  require 'ddtrace/ext/integration'
@@ -1,3 +1,4 @@
1
+ # typed: true
1
2
  module Datadog
2
3
  module Contrib
3
4
  module Ethon
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  require 'ddtrace/contrib/integration'
2
3
  require 'ddtrace/contrib/ethon/configuration/settings'
3
4
  require 'ddtrace/contrib/configuration/resolvers/pattern_resolver'
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  require 'ddtrace/ext/net'
2
3
  require 'ddtrace/ext/distributed'
3
4
  require 'ddtrace/ext/integration'
@@ -1,8 +1,10 @@
1
+ # typed: true
1
2
  module Datadog
2
3
  module Contrib
3
4
  module Ethon
4
5
  # Patcher enables patching of 'ethon' module.
5
6
  module Patcher
7
+ include Kernel # Ensure that kernel methods are always available (https://sorbet.org/docs/error-reference#7003)
6
8
  include Contrib::Patcher
7
9
 
8
10
  module_function
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  require 'ddtrace/contrib/configuration/settings'
2
3
  require 'ddtrace/contrib/excon/ext'
3
4
 
@@ -1,3 +1,4 @@
1
+ # typed: true
1
2
  module Datadog
2
3
  module Contrib
3
4
  module Excon
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  require 'ddtrace/contrib/integration'
2
3
  require 'ddtrace/contrib/excon/configuration/settings'
3
4
  require 'ddtrace/contrib/configuration/resolvers/pattern_resolver'
@@ -1,3 +1,4 @@
1
+ # typed: ignore
1
2
  require 'excon'
2
3
  require 'ddtrace/ext/http'
3
4
  require 'ddtrace/ext/integration'
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  require 'ddtrace/contrib/patcher'
2
3
 
3
4
  module Datadog
@@ -1,21 +1,35 @@
1
+ # typed: false
1
2
  require 'set'
2
- require 'ddtrace/contrib/registry'
3
+ require 'datadog/contrib'
4
+ require 'ddtrace/configuration/settings'
3
5
 
4
6
  module Datadog
5
7
  module Contrib
6
8
  # Extensions that can be added to the base library
7
9
  # Adds registry, configuration access for integrations.
10
+ #
11
+ # DEV: The Registry should probably be part of the core tracer
12
+ # as it represents a global tracer repository that is strongly intertwined
13
+ # with the tracer lifecycle and deeply modifies the tracer initialization
14
+ # process.
15
+ # Most of this file should probably live inside the tracer core.
8
16
  module Extensions
9
17
  def self.extended(base)
10
- Datadog.extend(Helpers)
11
- Datadog.extend(Configuration)
12
- Datadog::Configuration::Settings.include(Configuration::Settings)
18
+ base.extend(Helpers)
19
+ base.extend(Configuration)
13
20
  end
14
21
 
15
22
  # Helper methods for Datadog module.
16
23
  module Helpers
24
+ # Returns the global integration registry.
25
+ #
26
+ # This method is not safe to use while the tracer is initializing,
27
+ # thus access to the registry should go through
28
+ # ::Datadog::Contrib::REGISTRY for internal tracer work.
29
+ #
30
+ # External use of this method is always safe.
17
31
  def registry
18
- configuration.registry
32
+ Contrib::REGISTRY
19
33
  end
20
34
  end
21
35
 
@@ -60,11 +74,23 @@ module Datadog
60
74
  module Settings
61
75
  InvalidIntegrationError = Class.new(StandardError)
62
76
 
63
- def self.included(base)
64
- # Add the additional options to the global configuration settings
65
- base.instance_eval do
66
- option :registry, default: Registry.new
67
- end
77
+ # The registry only holds declarative constant values and cannot be modified.
78
+ # This option is a no-op and will be removed in the future.
79
+ #
80
+ # @deprecated Use `Datadog.registry` instead
81
+ def registry
82
+ Datadog.logger.warn('Deprecated access to `Datadog.configuration.registry`, use `Datadog.registry` instead.' \
83
+ '`Datadog.configuration.registry` will be removed in a future version.')
84
+ Contrib::REGISTRY
85
+ end
86
+
87
+ # The registry only holds declarative constant values and cannot be modified.
88
+ # This option is a no-op and will be removed in the future.
89
+ #
90
+ # @deprecated The registry is now a global constant, and can't be overwritten.
91
+ def registry=(_arg)
92
+ Datadog.logger.warn('Setting a custom registry is no longer supported and was ignored. ' \
93
+ 'Remove this assignment from your configuration to stop seeing this warning.')
68
94
  end
69
95
 
70
96
  # For the provided `integration_name`, resolves a matching configuration
@@ -125,7 +151,7 @@ module Datadog
125
151
  end
126
152
 
127
153
  def fetch_integration(name)
128
- registry[name] ||
154
+ Contrib::REGISTRY[name] ||
129
155
  raise(InvalidIntegrationError, "'#{name}' is not a valid integration.")
130
156
  end
131
157
 
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  require 'ddtrace/contrib/configuration/settings'
2
3
  require 'ddtrace/ext/http'
3
4
  require 'ddtrace/contrib/faraday/ext'
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  module Datadog
2
3
  module Contrib
3
4
  module Faraday
@@ -1,3 +1,4 @@
1
+ # typed: true
1
2
  module Datadog
2
3
  module Contrib
3
4
  module Faraday
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  require 'ddtrace/contrib/integration'
2
3
  require 'ddtrace/contrib/configuration/resolvers/pattern_resolver'
3
4
  require 'ddtrace/contrib/faraday/configuration/settings'
@@ -1,3 +1,4 @@
1
+ # typed: ignore
1
2
  require 'faraday'
2
3
  require 'ddtrace/ext/http'
3
4
  require 'ddtrace/ext/integration'
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  require 'ddtrace/contrib/patcher'
2
3
  require 'ddtrace/ext/app_types'
3
4
  require 'ddtrace/contrib/faraday/ext'
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  module Datadog
2
3
  module Contrib
3
4
  module Faraday
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  require 'ddtrace/contrib/configuration/settings'
2
3
  require 'ddtrace/ext/http'
3
4
  require 'ddtrace/contrib/grape/ext'
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  require 'ddtrace/ext/http'
2
3
  require 'ddtrace/ext/errors'
3
4
  require 'ddtrace/contrib/analytics'
@@ -33,17 +34,27 @@ module Datadog
33
34
  end
34
35
  end
35
36
 
36
- def endpoint_start_process(*)
37
+ def endpoint_start_process(_name, _start, _finish, _id, payload)
37
38
  return if Thread.current[KEY_RUN]
38
39
  return unless enabled?
39
40
 
41
+ # collect endpoint details
42
+ endpoint = payload.fetch(:endpoint)
43
+ api_view = api_view(endpoint.options[:for])
44
+ request_method = endpoint.options.fetch(:method).first
45
+ path = endpoint_expand_path(endpoint)
46
+ resource = "#{api_view} #{request_method} #{path}"
47
+
40
48
  # Store the beginning of a trace
41
- tracer.trace(
49
+ span = tracer.trace(
42
50
  Ext::SPAN_ENDPOINT_RUN,
43
51
  service: service_name,
44
- span_type: Datadog::Ext::HTTP::TYPE_INBOUND
52
+ span_type: Datadog::Ext::HTTP::TYPE_INBOUND,
53
+ resource: resource,
45
54
  )
46
55
 
56
+ try_setting_rack_request_resource(payload, span.resource)
57
+
47
58
  Thread.current[KEY_RUN] = true
48
59
  rescue StandardError => e
49
60
  Datadog.logger.error(e.message)
@@ -61,20 +72,12 @@ module Datadog
61
72
 
62
73
  begin
63
74
  # collect endpoint details
64
- api = payload[:endpoint].options[:for]
75
+ endpoint = payload.fetch(:endpoint)
76
+ api_view = api_view(endpoint.options[:for])
77
+ request_method = endpoint.options.fetch(:method).first
78
+ path = endpoint_expand_path(endpoint)
65
79
 
66
- api_view = api_view(api)
67
-
68
- request_method = payload[:endpoint].options[:method].first
69
- path = endpoint_expand_path(payload[:endpoint])
70
- resource = "#{api_view} #{request_method} #{path}"
71
- span.resource = resource
72
-
73
- # set the request span resource if it's a `rack.request` span
74
- request_span = payload[:env][Datadog::Contrib::Rack::Ext::RACK_ENV_REQUEST_SPAN]
75
- if !request_span.nil? && request_span.name == Datadog::Contrib::Rack::Ext::SPAN_REQUEST
76
- request_span.resource = resource
77
- end
80
+ try_setting_rack_request_resource(payload, span.resource)
78
81
 
79
82
  # Set analytics sample rate
80
83
  Contrib::Analytics.set_sample_rate(span, analytics_sample_rate) if analytics_enabled?
@@ -229,6 +232,13 @@ module Datadog
229
232
  def datadog_configuration
230
233
  Datadog.configuration[:grape]
231
234
  end
235
+
236
+ def try_setting_rack_request_resource(payload, resource)
237
+ request_span = payload[:env][Datadog::Contrib::Rack::Ext::RACK_ENV_REQUEST_SPAN]
238
+ if !request_span.nil? && request_span.name == Datadog::Contrib::Rack::Ext::SPAN_REQUEST
239
+ request_span.resource = resource
240
+ end
241
+ end
232
242
  end
233
243
  end
234
244
  end
@@ -1,3 +1,4 @@
1
+ # typed: true
1
2
  module Datadog
2
3
  module Contrib
3
4
  module Grape
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  module Datadog
2
3
  module Contrib
3
4
  module Grape
@@ -23,7 +24,7 @@ module Datadog
23
24
  # InstanceMethods - implementing instrumentation
24
25
  module InstanceMethods
25
26
  def run(*args)
26
- ::ActiveSupport::Notifications.instrument('endpoint_run.grape.start_process')
27
+ ::ActiveSupport::Notifications.instrument('endpoint_run.grape.start_process', endpoint: self, env: env)
27
28
  super
28
29
  end
29
30
  end
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  require 'ddtrace/contrib/integration'
2
3
  require 'ddtrace/contrib/grape/configuration/settings'
3
4
  require 'ddtrace/contrib/grape/patcher'
@@ -1,3 +1,4 @@
1
+ # typed: true
1
2
  require 'ddtrace/contrib/patcher'
2
3
  require 'ddtrace/ext/app_types'
3
4
 
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  require 'ddtrace/contrib/configuration/settings'
2
3
  require 'ddtrace/ext/app_types'
3
4
  require 'ddtrace/contrib/graphql/ext'
@@ -1,3 +1,4 @@
1
+ # typed: true
1
2
  module Datadog
2
3
  module Contrib
3
4
  module GraphQL
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  require 'ddtrace/contrib/integration'
2
3
  require 'ddtrace/contrib/graphql/configuration/settings'
3
4
  require 'ddtrace/contrib/graphql/patcher'
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  require 'ddtrace/contrib/patcher'
2
3
 
3
4
  module Datadog
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  require 'ddtrace/contrib/configuration/settings'
2
3
  require 'ddtrace/contrib/grpc/ext'
3
4
 
@@ -23,6 +24,7 @@ module Datadog
23
24
  end
24
25
 
25
26
  option :service_name, default: Ext::SERVICE_NAME
27
+ option :error_handler, default: Datadog::Tracer::DEFAULT_ON_ERROR
26
28
  end
27
29
  end
28
30
  end
@@ -1,3 +1,4 @@
1
+ # typed: ignore
1
2
  require 'ddtrace/ext/app_types'
2
3
  require 'ddtrace/contrib/analytics'
3
4
  require 'ddtrace/contrib/grpc/ext'
@@ -64,6 +65,10 @@ module Datadog
64
65
  def analytics_sample_rate
65
66
  datadog_configuration[:analytics_sample_rate]
66
67
  end
68
+
69
+ def error_handler
70
+ datadog_configuration[:error_handler]
71
+ end
67
72
  end
68
73
 
69
74
  require_relative 'datadog_interceptor/client'
@@ -1,3 +1,4 @@
1
+ # typed: ignore
1
2
  require 'ddtrace/ext/http'
2
3
  require 'ddtrace/ext/integration'
3
4
  require 'ddtrace/contrib/analytics'
@@ -1,3 +1,4 @@
1
+ # typed: ignore
1
2
  require 'ddtrace/ext/http'
2
3
  require 'ddtrace/ext/integration'
3
4
  require 'ddtrace/contrib/analytics'
@@ -17,7 +18,8 @@ module Datadog
17
18
  options = {
18
19
  span_type: Datadog::Ext::HTTP::TYPE_INBOUND,
19
20
  service: service_name,
20
- resource: format_resource(keywords[:method])
21
+ resource: format_resource(keywords[:method]),
22
+ on_error: error_handler
21
23
  }
22
24
  metadata = keywords[:call].metadata
23
25
 
@@ -48,9 +50,6 @@ module Datadog
48
50
  span.set_tag(header, value)
49
51
  end
50
52
 
51
- # Tag as an external peer service
52
- span.set_tag(Datadog::Ext::Integration::TAG_PEER_SERVICE, span.service)
53
-
54
53
  # Set analytics sample rate
55
54
  Contrib::Analytics.set_sample_rate(span, analytics_sample_rate) if analytics_enabled?
56
55
 
@@ -1,3 +1,4 @@
1
+ # typed: true
1
2
  module Datadog
2
3
  module Contrib
3
4
  module GRPC
@@ -1,3 +1,4 @@
1
+ # typed: false
1
2
  require 'ddtrace/contrib/integration'
2
3
  require 'ddtrace/contrib/grpc/configuration/settings'
3
4
  require 'ddtrace/contrib/grpc/patcher'
@@ -1,3 +1,4 @@
1
+ # typed: true
1
2
  require_relative 'datadog_interceptor'
2
3
 
3
4
  module Datadog
@@ -1,3 +1,4 @@
1
+ # typed: true
1
2
  require 'ddtrace/contrib/patcher'
2
3
  require 'ddtrace/contrib/grpc/ext'
3
4
 
@@ -6,6 +7,7 @@ module Datadog
6
7
  module GRPC
7
8
  # Patcher enables patching of 'grpc' module.
8
9
  module Patcher
10
+ include Kernel # Ensure that kernel methods are always available (https://sorbet.org/docs/error-reference#7003)
9
11
  include Contrib::Patcher
10
12
 
11
13
  module_function