ddtrace 0.42.0 → 0.54.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (602) hide show
  1. checksums.yaml +4 -4
  2. data/.editorconfig +22 -0
  3. data/.gitignore +7 -1
  4. data/CHANGELOG.md +1645 -370
  5. data/CONTRIBUTING.md +2 -6
  6. data/LICENSE-3rdparty.csv +2 -0
  7. data/README.md +1 -0
  8. data/bin/ddtracerb +15 -0
  9. data/ddtrace.gemspec +21 -39
  10. data/docs/DevelopmentGuide.md +46 -8
  11. data/docs/GettingStarted.md +439 -92
  12. data/docs/ProfilingDevelopment.md +107 -0
  13. data/ext/ddtrace_profiling_native_extension/NativeExtensionDesign.md +86 -0
  14. data/ext/ddtrace_profiling_native_extension/clock_id.h +4 -0
  15. data/ext/ddtrace_profiling_native_extension/clock_id_from_pthread.c +52 -0
  16. data/ext/ddtrace_profiling_native_extension/clock_id_noop.c +14 -0
  17. data/ext/ddtrace_profiling_native_extension/extconf.rb +197 -0
  18. data/ext/ddtrace_profiling_native_extension/private_vm_api_access.c +35 -0
  19. data/ext/ddtrace_profiling_native_extension/private_vm_api_access.h +3 -0
  20. data/ext/ddtrace_profiling_native_extension/profiling.c +22 -0
  21. data/lib/datadog/ci/configuration/components.rb +31 -0
  22. data/lib/datadog/ci/configuration/settings.rb +37 -0
  23. data/lib/datadog/ci/context_flush.rb +29 -0
  24. data/lib/datadog/ci/contrib/cucumber/configuration/settings.rb +31 -0
  25. data/lib/datadog/ci/contrib/cucumber/ext.rb +20 -0
  26. data/lib/datadog/ci/contrib/cucumber/formatter.rb +99 -0
  27. data/lib/datadog/ci/contrib/cucumber/instrumentation.rb +27 -0
  28. data/lib/datadog/ci/contrib/cucumber/integration.rb +48 -0
  29. data/lib/datadog/ci/contrib/cucumber/patcher.rb +26 -0
  30. data/lib/datadog/ci/contrib/rspec/configuration/settings.rb +31 -0
  31. data/lib/datadog/ci/contrib/rspec/example.rb +75 -0
  32. data/lib/datadog/ci/contrib/rspec/ext.rb +19 -0
  33. data/lib/datadog/ci/contrib/rspec/integration.rb +49 -0
  34. data/lib/datadog/ci/contrib/rspec/patcher.rb +26 -0
  35. data/lib/datadog/ci/ext/app_types.rb +10 -0
  36. data/lib/datadog/ci/ext/environment.rb +485 -0
  37. data/lib/datadog/ci/ext/settings.rb +11 -0
  38. data/lib/datadog/ci/ext/test.rb +36 -0
  39. data/lib/datadog/ci/extensions.rb +18 -0
  40. data/lib/datadog/ci/test.rb +81 -0
  41. data/lib/datadog/ci.rb +17 -0
  42. data/lib/datadog/contrib.rb +71 -0
  43. data/lib/datadog/core/environment/cgroup.rb +52 -0
  44. data/lib/datadog/core/environment/class_count.rb +20 -0
  45. data/lib/datadog/core/environment/container.rb +91 -0
  46. data/lib/datadog/core/environment/ext.rb +27 -0
  47. data/lib/datadog/core/environment/gc.rb +19 -0
  48. data/lib/datadog/core/environment/identity.rb +51 -0
  49. data/lib/datadog/core/environment/socket.rb +17 -0
  50. data/lib/datadog/core/environment/thread_count.rb +19 -0
  51. data/lib/datadog/core/environment/variable_helpers.rb +42 -0
  52. data/lib/datadog/core/environment/vm_cache.rb +46 -0
  53. data/lib/ddtrace/analytics.rb +3 -0
  54. data/lib/ddtrace/auto_instrument.rb +5 -0
  55. data/lib/ddtrace/auto_instrument_base.rb +7 -0
  56. data/lib/ddtrace/buffer.rb +38 -24
  57. data/lib/ddtrace/chunker.rb +1 -0
  58. data/lib/ddtrace/configuration/agent_settings_resolver.rb +309 -0
  59. data/lib/ddtrace/configuration/base.rb +9 -11
  60. data/lib/ddtrace/configuration/components.rb +167 -26
  61. data/lib/ddtrace/configuration/dependency_resolver.rb +1 -0
  62. data/lib/ddtrace/configuration/option.rb +1 -0
  63. data/lib/ddtrace/configuration/option_definition.rb +2 -3
  64. data/lib/ddtrace/configuration/option_definition_set.rb +1 -0
  65. data/lib/ddtrace/configuration/option_set.rb +1 -0
  66. data/lib/ddtrace/configuration/options.rb +7 -9
  67. data/lib/ddtrace/configuration/pin_setup.rb +1 -0
  68. data/lib/ddtrace/configuration/settings.rb +142 -12
  69. data/lib/ddtrace/configuration.rb +132 -24
  70. data/lib/ddtrace/context.rb +51 -22
  71. data/lib/ddtrace/context_flush.rb +15 -2
  72. data/lib/ddtrace/context_provider.rb +13 -2
  73. data/lib/ddtrace/contrib/action_cable/configuration/settings.rb +1 -0
  74. data/lib/ddtrace/contrib/action_cable/event.rb +6 -4
  75. data/lib/ddtrace/contrib/action_cable/events/broadcast.rb +1 -0
  76. data/lib/ddtrace/contrib/action_cable/events/perform_action.rb +1 -0
  77. data/lib/ddtrace/contrib/action_cable/events/transmit.rb +1 -0
  78. data/lib/ddtrace/contrib/action_cable/events.rb +1 -0
  79. data/lib/ddtrace/contrib/action_cable/ext.rb +1 -0
  80. data/lib/ddtrace/contrib/action_cable/instrumentation.rb +47 -0
  81. data/lib/ddtrace/contrib/action_cable/integration.rb +8 -0
  82. data/lib/ddtrace/contrib/action_cable/patcher.rb +2 -0
  83. data/lib/ddtrace/contrib/action_mailer/configuration/settings.rb +32 -0
  84. data/lib/ddtrace/contrib/action_mailer/event.rb +50 -0
  85. data/lib/ddtrace/contrib/action_mailer/events/deliver.rb +54 -0
  86. data/lib/ddtrace/contrib/action_mailer/events/process.rb +41 -0
  87. data/lib/ddtrace/contrib/action_mailer/events.rb +31 -0
  88. data/lib/ddtrace/contrib/action_mailer/ext.rb +32 -0
  89. data/lib/ddtrace/contrib/action_mailer/integration.rb +45 -0
  90. data/lib/ddtrace/contrib/action_mailer/patcher.rb +27 -0
  91. data/lib/ddtrace/contrib/action_pack/action_controller/instrumentation.rb +22 -13
  92. data/lib/ddtrace/contrib/action_pack/action_controller/patcher.rb +2 -1
  93. data/lib/ddtrace/contrib/action_pack/configuration/settings.rb +1 -0
  94. data/lib/ddtrace/contrib/action_pack/ext.rb +1 -0
  95. data/lib/ddtrace/contrib/action_pack/integration.rb +8 -0
  96. data/lib/ddtrace/contrib/action_pack/patcher.rb +1 -0
  97. data/lib/ddtrace/contrib/action_pack/utils.rb +2 -1
  98. data/lib/ddtrace/contrib/action_view/configuration/settings.rb +1 -0
  99. data/lib/ddtrace/contrib/action_view/event.rb +4 -7
  100. data/lib/ddtrace/contrib/action_view/events/render_partial.rb +2 -0
  101. data/lib/ddtrace/contrib/action_view/events/render_template.rb +2 -0
  102. data/lib/ddtrace/contrib/action_view/events.rb +1 -0
  103. data/lib/ddtrace/contrib/action_view/ext.rb +1 -0
  104. data/lib/ddtrace/contrib/action_view/instrumentation/partial_renderer.rb +1 -0
  105. data/lib/ddtrace/contrib/action_view/instrumentation/template_renderer.rb +1 -0
  106. data/lib/ddtrace/contrib/action_view/integration.rb +8 -0
  107. data/lib/ddtrace/contrib/action_view/patcher.rb +5 -4
  108. data/lib/ddtrace/contrib/action_view/utils.rb +2 -1
  109. data/lib/ddtrace/contrib/active_job/configuration/settings.rb +33 -0
  110. data/lib/ddtrace/contrib/active_job/event.rb +54 -0
  111. data/lib/ddtrace/contrib/active_job/events/discard.rb +46 -0
  112. data/lib/ddtrace/contrib/active_job/events/enqueue.rb +45 -0
  113. data/lib/ddtrace/contrib/active_job/events/enqueue_at.rb +45 -0
  114. data/lib/ddtrace/contrib/active_job/events/enqueue_retry.rb +47 -0
  115. data/lib/ddtrace/contrib/active_job/events/perform.rb +45 -0
  116. data/lib/ddtrace/contrib/active_job/events/retry_stopped.rb +46 -0
  117. data/lib/ddtrace/contrib/active_job/events.rb +39 -0
  118. data/lib/ddtrace/contrib/active_job/ext.rb +32 -0
  119. data/lib/ddtrace/contrib/active_job/integration.rb +46 -0
  120. data/lib/ddtrace/contrib/active_job/log_injection.rb +21 -0
  121. data/lib/ddtrace/contrib/active_job/patcher.rb +33 -0
  122. data/lib/ddtrace/contrib/active_model_serializers/configuration/settings.rb +1 -0
  123. data/lib/ddtrace/contrib/active_model_serializers/event.rb +3 -2
  124. data/lib/ddtrace/contrib/active_model_serializers/events/render.rb +1 -0
  125. data/lib/ddtrace/contrib/active_model_serializers/events/serialize.rb +1 -0
  126. data/lib/ddtrace/contrib/active_model_serializers/events.rb +1 -0
  127. data/lib/ddtrace/contrib/active_model_serializers/ext.rb +1 -0
  128. data/lib/ddtrace/contrib/active_model_serializers/integration.rb +1 -0
  129. data/lib/ddtrace/contrib/active_model_serializers/patcher.rb +1 -0
  130. data/lib/ddtrace/contrib/active_record/configuration/makara_resolver.rb +31 -0
  131. data/lib/ddtrace/contrib/active_record/configuration/resolver.rb +108 -18
  132. data/lib/ddtrace/contrib/active_record/configuration/settings.rb +1 -0
  133. data/lib/ddtrace/contrib/active_record/event.rb +3 -2
  134. data/lib/ddtrace/contrib/active_record/events/instantiation.rb +1 -0
  135. data/lib/ddtrace/contrib/active_record/events/sql.rb +1 -0
  136. data/lib/ddtrace/contrib/active_record/events.rb +1 -0
  137. data/lib/ddtrace/contrib/active_record/ext.rb +1 -0
  138. data/lib/ddtrace/contrib/active_record/integration.rb +8 -0
  139. data/lib/ddtrace/contrib/active_record/patcher.rb +1 -0
  140. data/lib/ddtrace/contrib/active_record/utils.rb +69 -21
  141. data/lib/ddtrace/contrib/active_support/cache/instrumentation.rb +105 -3
  142. data/lib/ddtrace/contrib/active_support/cache/patcher.rb +26 -4
  143. data/lib/ddtrace/contrib/active_support/cache/redis.rb +2 -5
  144. data/lib/ddtrace/contrib/active_support/configuration/settings.rb +1 -0
  145. data/lib/ddtrace/contrib/active_support/ext.rb +4 -0
  146. data/lib/ddtrace/contrib/active_support/integration.rb +8 -1
  147. data/lib/ddtrace/contrib/active_support/notifications/event.rb +15 -3
  148. data/lib/ddtrace/contrib/active_support/notifications/subscriber.rb +3 -1
  149. data/lib/ddtrace/contrib/active_support/notifications/subscription.rb +10 -5
  150. data/lib/ddtrace/contrib/active_support/patcher.rb +1 -0
  151. data/lib/ddtrace/contrib/analytics.rb +1 -0
  152. data/lib/ddtrace/contrib/auto_instrument.rb +48 -0
  153. data/lib/ddtrace/contrib/aws/configuration/settings.rb +1 -0
  154. data/lib/ddtrace/contrib/aws/ext.rb +1 -0
  155. data/lib/ddtrace/contrib/aws/instrumentation.rb +32 -1
  156. data/lib/ddtrace/contrib/aws/integration.rb +1 -0
  157. data/lib/ddtrace/contrib/aws/parsed_context.rb +1 -0
  158. data/lib/ddtrace/contrib/aws/patcher.rb +6 -1
  159. data/lib/ddtrace/contrib/aws/services.rb +4 -0
  160. data/lib/ddtrace/contrib/concurrent_ruby/configuration/settings.rb +1 -0
  161. data/lib/ddtrace/contrib/concurrent_ruby/context_composite_executor_service.rb +1 -0
  162. data/lib/ddtrace/contrib/concurrent_ruby/ext.rb +1 -0
  163. data/lib/ddtrace/contrib/concurrent_ruby/future_patch.rb +1 -0
  164. data/lib/ddtrace/contrib/concurrent_ruby/integration.rb +1 -0
  165. data/lib/ddtrace/contrib/concurrent_ruby/patcher.rb +3 -1
  166. data/lib/ddtrace/contrib/configurable.rb +65 -38
  167. data/lib/ddtrace/contrib/configuration/resolver.rb +71 -5
  168. data/lib/ddtrace/contrib/configuration/resolvers/pattern_resolver.rb +21 -20
  169. data/lib/ddtrace/contrib/configuration/settings.rb +8 -6
  170. data/lib/ddtrace/contrib/dalli/configuration/settings.rb +1 -0
  171. data/lib/ddtrace/contrib/dalli/ext.rb +1 -0
  172. data/lib/ddtrace/contrib/dalli/instrumentation.rb +2 -1
  173. data/lib/ddtrace/contrib/dalli/integration.rb +1 -0
  174. data/lib/ddtrace/contrib/dalli/patcher.rb +2 -39
  175. data/lib/ddtrace/contrib/dalli/quantize.rb +1 -0
  176. data/lib/ddtrace/contrib/delayed_job/configuration/settings.rb +2 -0
  177. data/lib/ddtrace/contrib/delayed_job/ext.rb +1 -0
  178. data/lib/ddtrace/contrib/delayed_job/integration.rb +1 -0
  179. data/lib/ddtrace/contrib/delayed_job/patcher.rb +1 -0
  180. data/lib/ddtrace/contrib/delayed_job/plugin.rb +5 -3
  181. data/lib/ddtrace/contrib/elasticsearch/configuration/settings.rb +1 -0
  182. data/lib/ddtrace/contrib/elasticsearch/ext.rb +1 -0
  183. data/lib/ddtrace/contrib/elasticsearch/integration.rb +1 -0
  184. data/lib/ddtrace/contrib/elasticsearch/patcher.rb +2 -0
  185. data/lib/ddtrace/contrib/elasticsearch/quantize.rb +6 -2
  186. data/lib/ddtrace/contrib/ethon/configuration/settings.rb +1 -0
  187. data/lib/ddtrace/contrib/ethon/easy_patch.rb +13 -11
  188. data/lib/ddtrace/contrib/ethon/ext.rb +2 -0
  189. data/lib/ddtrace/contrib/ethon/integration.rb +1 -0
  190. data/lib/ddtrace/contrib/ethon/multi_patch.rb +2 -1
  191. data/lib/ddtrace/contrib/ethon/patcher.rb +4 -2
  192. data/lib/ddtrace/contrib/excon/configuration/settings.rb +1 -0
  193. data/lib/ddtrace/contrib/excon/ext.rb +1 -0
  194. data/lib/ddtrace/contrib/excon/integration.rb +1 -0
  195. data/lib/ddtrace/contrib/excon/middleware.rb +10 -7
  196. data/lib/ddtrace/contrib/excon/patcher.rb +1 -0
  197. data/lib/ddtrace/contrib/extensions.rb +90 -14
  198. data/lib/ddtrace/contrib/faraday/configuration/settings.rb +1 -0
  199. data/lib/ddtrace/contrib/faraday/connection.rb +1 -0
  200. data/lib/ddtrace/contrib/faraday/ext.rb +1 -0
  201. data/lib/ddtrace/contrib/faraday/integration.rb +1 -0
  202. data/lib/ddtrace/contrib/faraday/middleware.rb +2 -3
  203. data/lib/ddtrace/contrib/faraday/patcher.rb +3 -38
  204. data/lib/ddtrace/contrib/faraday/rack_builder.rb +1 -0
  205. data/lib/ddtrace/contrib/grape/configuration/settings.rb +8 -0
  206. data/lib/ddtrace/contrib/grape/endpoint.rb +68 -32
  207. data/lib/ddtrace/contrib/grape/ext.rb +2 -0
  208. data/lib/ddtrace/contrib/grape/instrumentation.rb +4 -3
  209. data/lib/ddtrace/contrib/grape/integration.rb +1 -0
  210. data/lib/ddtrace/contrib/grape/patcher.rb +2 -43
  211. data/lib/ddtrace/contrib/graphql/configuration/settings.rb +1 -0
  212. data/lib/ddtrace/contrib/graphql/ext.rb +1 -0
  213. data/lib/ddtrace/contrib/graphql/integration.rb +1 -0
  214. data/lib/ddtrace/contrib/graphql/patcher.rb +1 -0
  215. data/lib/ddtrace/contrib/grpc/configuration/settings.rb +2 -0
  216. data/lib/ddtrace/contrib/grpc/datadog_interceptor/client.rb +1 -0
  217. data/lib/ddtrace/contrib/grpc/datadog_interceptor/server.rb +4 -4
  218. data/lib/ddtrace/contrib/grpc/datadog_interceptor.rb +13 -8
  219. data/lib/ddtrace/contrib/grpc/ext.rb +1 -0
  220. data/lib/ddtrace/contrib/grpc/integration.rb +1 -0
  221. data/lib/ddtrace/contrib/grpc/intercept_with_datadog.rb +1 -0
  222. data/lib/ddtrace/contrib/grpc/patcher.rb +3 -37
  223. data/lib/ddtrace/contrib/http/circuit_breaker.rb +2 -3
  224. data/lib/ddtrace/contrib/http/configuration/settings.rb +1 -0
  225. data/lib/ddtrace/contrib/http/ext.rb +1 -0
  226. data/lib/ddtrace/contrib/http/instrumentation.rb +9 -8
  227. data/lib/ddtrace/contrib/http/integration.rb +1 -0
  228. data/lib/ddtrace/contrib/http/patcher.rb +2 -1
  229. data/lib/ddtrace/contrib/http_annotation_helper.rb +1 -0
  230. data/lib/ddtrace/contrib/httpclient/configuration/settings.rb +33 -0
  231. data/lib/ddtrace/contrib/httpclient/ext.rb +18 -0
  232. data/lib/ddtrace/contrib/httpclient/instrumentation.rb +148 -0
  233. data/lib/ddtrace/contrib/httpclient/integration.rb +44 -0
  234. data/lib/ddtrace/contrib/httpclient/patcher.rb +39 -0
  235. data/lib/ddtrace/contrib/httprb/configuration/settings.rb +1 -0
  236. data/lib/ddtrace/contrib/httprb/ext.rb +1 -0
  237. data/lib/ddtrace/contrib/httprb/instrumentation.rb +17 -22
  238. data/lib/ddtrace/contrib/httprb/integration.rb +1 -0
  239. data/lib/ddtrace/contrib/httprb/patcher.rb +8 -4
  240. data/lib/ddtrace/contrib/integration.rb +4 -3
  241. data/lib/ddtrace/contrib/kafka/configuration/settings.rb +1 -0
  242. data/lib/ddtrace/contrib/kafka/consumer_event.rb +1 -0
  243. data/lib/ddtrace/contrib/kafka/consumer_group_event.rb +1 -0
  244. data/lib/ddtrace/contrib/kafka/event.rb +4 -3
  245. data/lib/ddtrace/contrib/kafka/events/connection/request.rb +1 -0
  246. data/lib/ddtrace/contrib/kafka/events/consumer/process_batch.rb +1 -0
  247. data/lib/ddtrace/contrib/kafka/events/consumer/process_message.rb +1 -0
  248. data/lib/ddtrace/contrib/kafka/events/consumer_group/heartbeat.rb +1 -0
  249. data/lib/ddtrace/contrib/kafka/events/consumer_group/join_group.rb +1 -0
  250. data/lib/ddtrace/contrib/kafka/events/consumer_group/leave_group.rb +1 -0
  251. data/lib/ddtrace/contrib/kafka/events/consumer_group/sync_group.rb +1 -0
  252. data/lib/ddtrace/contrib/kafka/events/produce_operation/send_messages.rb +1 -0
  253. data/lib/ddtrace/contrib/kafka/events/producer/deliver_messages.rb +1 -0
  254. data/lib/ddtrace/contrib/kafka/events.rb +1 -0
  255. data/lib/ddtrace/contrib/kafka/ext.rb +1 -0
  256. data/lib/ddtrace/contrib/kafka/integration.rb +1 -0
  257. data/lib/ddtrace/contrib/kafka/patcher.rb +1 -0
  258. data/lib/ddtrace/contrib/lograge/configuration/settings.rb +19 -0
  259. data/lib/ddtrace/contrib/lograge/ext.rb +11 -0
  260. data/lib/ddtrace/contrib/lograge/instrumentation.rb +39 -0
  261. data/lib/ddtrace/contrib/lograge/integration.rb +46 -0
  262. data/lib/ddtrace/contrib/lograge/patcher.rb +26 -0
  263. data/lib/ddtrace/contrib/mongodb/configuration/settings.rb +1 -0
  264. data/lib/ddtrace/contrib/mongodb/ext.rb +1 -0
  265. data/lib/ddtrace/contrib/mongodb/instrumentation.rb +6 -3
  266. data/lib/ddtrace/contrib/mongodb/integration.rb +6 -0
  267. data/lib/ddtrace/contrib/mongodb/parsers.rb +1 -0
  268. data/lib/ddtrace/contrib/mongodb/patcher.rb +3 -2
  269. data/lib/ddtrace/contrib/mongodb/subscribers.rb +3 -3
  270. data/lib/ddtrace/contrib/mysql2/configuration/settings.rb +1 -0
  271. data/lib/ddtrace/contrib/mysql2/ext.rb +1 -0
  272. data/lib/ddtrace/contrib/mysql2/instrumentation.rb +2 -1
  273. data/lib/ddtrace/contrib/mysql2/integration.rb +1 -0
  274. data/lib/ddtrace/contrib/mysql2/patcher.rb +2 -1
  275. data/lib/ddtrace/contrib/patchable.rb +21 -9
  276. data/lib/ddtrace/contrib/patcher.rb +12 -8
  277. data/lib/ddtrace/contrib/presto/configuration/settings.rb +1 -0
  278. data/lib/ddtrace/contrib/presto/ext.rb +1 -0
  279. data/lib/ddtrace/contrib/presto/instrumentation.rb +2 -1
  280. data/lib/ddtrace/contrib/presto/integration.rb +1 -0
  281. data/lib/ddtrace/contrib/presto/patcher.rb +7 -3
  282. data/lib/ddtrace/contrib/qless/configuration/settings.rb +36 -0
  283. data/lib/ddtrace/contrib/qless/ext.rb +21 -0
  284. data/lib/ddtrace/contrib/qless/integration.rb +39 -0
  285. data/lib/ddtrace/contrib/qless/patcher.rb +35 -0
  286. data/lib/ddtrace/contrib/qless/qless_job.rb +74 -0
  287. data/lib/ddtrace/contrib/qless/tracer_cleaner.rb +34 -0
  288. data/lib/ddtrace/contrib/que/configuration/settings.rb +2 -0
  289. data/lib/ddtrace/contrib/que/ext.rb +20 -19
  290. data/lib/ddtrace/contrib/que/integration.rb +1 -0
  291. data/lib/ddtrace/contrib/que/patcher.rb +1 -0
  292. data/lib/ddtrace/contrib/que/tracer.rb +4 -2
  293. data/lib/ddtrace/contrib/racecar/configuration/settings.rb +1 -0
  294. data/lib/ddtrace/contrib/racecar/event.rb +4 -2
  295. data/lib/ddtrace/contrib/racecar/events/batch.rb +1 -0
  296. data/lib/ddtrace/contrib/racecar/events/consume.rb +1 -0
  297. data/lib/ddtrace/contrib/racecar/events/message.rb +1 -0
  298. data/lib/ddtrace/contrib/racecar/events.rb +1 -0
  299. data/lib/ddtrace/contrib/racecar/ext.rb +1 -0
  300. data/lib/ddtrace/contrib/racecar/integration.rb +1 -0
  301. data/lib/ddtrace/contrib/racecar/patcher.rb +1 -0
  302. data/lib/ddtrace/contrib/rack/configuration/settings.rb +4 -3
  303. data/lib/ddtrace/contrib/rack/ext.rb +1 -0
  304. data/lib/ddtrace/contrib/rack/integration.rb +8 -0
  305. data/lib/ddtrace/contrib/rack/middlewares.rb +8 -12
  306. data/lib/ddtrace/contrib/rack/patcher.rb +2 -3
  307. data/lib/ddtrace/contrib/rack/request_queue.rb +7 -1
  308. data/lib/ddtrace/contrib/rails/auto_instrument_railtie.rb +10 -0
  309. data/lib/ddtrace/contrib/rails/configuration/settings.rb +8 -0
  310. data/lib/ddtrace/contrib/rails/ext.rb +1 -0
  311. data/lib/ddtrace/contrib/rails/framework.rb +50 -2
  312. data/lib/ddtrace/contrib/rails/integration.rb +1 -0
  313. data/lib/ddtrace/contrib/rails/log_injection.rb +1 -40
  314. data/lib/ddtrace/contrib/rails/middlewares.rb +1 -0
  315. data/lib/ddtrace/contrib/rails/patcher.rb +40 -21
  316. data/lib/ddtrace/contrib/rails/railtie.rb +1 -0
  317. data/lib/ddtrace/contrib/rails/utils.rb +5 -0
  318. data/lib/ddtrace/contrib/rake/configuration/settings.rb +1 -0
  319. data/lib/ddtrace/contrib/rake/ext.rb +1 -0
  320. data/lib/ddtrace/contrib/rake/instrumentation.rb +6 -3
  321. data/lib/ddtrace/contrib/rake/integration.rb +2 -1
  322. data/lib/ddtrace/contrib/rake/patcher.rb +2 -1
  323. data/lib/ddtrace/contrib/redis/configuration/resolver.rb +15 -5
  324. data/lib/ddtrace/contrib/redis/configuration/settings.rb +6 -0
  325. data/lib/ddtrace/contrib/redis/ext.rb +2 -0
  326. data/lib/ddtrace/contrib/redis/instrumentation.rb +90 -0
  327. data/lib/ddtrace/contrib/redis/integration.rb +1 -0
  328. data/lib/ddtrace/contrib/redis/patcher.rb +3 -67
  329. data/lib/ddtrace/contrib/redis/quantize.rb +29 -0
  330. data/lib/ddtrace/contrib/redis/tags.rb +6 -1
  331. data/lib/ddtrace/contrib/redis/vendor/LICENSE +20 -0
  332. data/lib/ddtrace/contrib/redis/vendor/resolver.rb +7 -7
  333. data/lib/ddtrace/contrib/registerable.rb +4 -4
  334. data/lib/ddtrace/contrib/registry.rb +3 -2
  335. data/lib/ddtrace/contrib/resque/configuration/settings.rb +19 -1
  336. data/lib/ddtrace/contrib/resque/ext.rb +1 -0
  337. data/lib/ddtrace/contrib/resque/integration.rb +2 -5
  338. data/lib/ddtrace/contrib/resque/patcher.rb +5 -4
  339. data/lib/ddtrace/contrib/resque/resque_job.rb +26 -2
  340. data/lib/ddtrace/contrib/rest_client/configuration/settings.rb +1 -0
  341. data/lib/ddtrace/contrib/rest_client/ext.rb +1 -0
  342. data/lib/ddtrace/contrib/rest_client/integration.rb +1 -0
  343. data/lib/ddtrace/contrib/rest_client/patcher.rb +3 -1
  344. data/lib/ddtrace/contrib/rest_client/request_patch.rb +3 -4
  345. data/lib/ddtrace/contrib/semantic_logger/configuration/settings.rb +19 -0
  346. data/lib/ddtrace/contrib/semantic_logger/ext.rb +11 -0
  347. data/lib/ddtrace/contrib/semantic_logger/instrumentation.rb +43 -0
  348. data/lib/ddtrace/contrib/semantic_logger/integration.rb +48 -0
  349. data/lib/ddtrace/contrib/semantic_logger/patcher.rb +26 -0
  350. data/lib/ddtrace/contrib/sequel/configuration/settings.rb +1 -0
  351. data/lib/ddtrace/contrib/sequel/database.rb +2 -1
  352. data/lib/ddtrace/contrib/sequel/dataset.rb +2 -1
  353. data/lib/ddtrace/contrib/sequel/ext.rb +1 -0
  354. data/lib/ddtrace/contrib/sequel/integration.rb +1 -0
  355. data/lib/ddtrace/contrib/sequel/patcher.rb +3 -2
  356. data/lib/ddtrace/contrib/sequel/utils.rb +6 -6
  357. data/lib/ddtrace/contrib/shoryuken/configuration/settings.rb +3 -0
  358. data/lib/ddtrace/contrib/shoryuken/ext.rb +1 -0
  359. data/lib/ddtrace/contrib/shoryuken/integration.rb +1 -0
  360. data/lib/ddtrace/contrib/shoryuken/patcher.rb +1 -0
  361. data/lib/ddtrace/contrib/shoryuken/tracer.rb +9 -2
  362. data/lib/ddtrace/contrib/sidekiq/client_tracer.rb +1 -0
  363. data/lib/ddtrace/contrib/sidekiq/configuration/settings.rb +2 -0
  364. data/lib/ddtrace/contrib/sidekiq/ext.rb +4 -0
  365. data/lib/ddtrace/contrib/sidekiq/integration.rb +11 -0
  366. data/lib/ddtrace/contrib/sidekiq/patcher.rb +27 -0
  367. data/lib/ddtrace/contrib/sidekiq/server_internal_tracer/heartbeat.rb +30 -0
  368. data/lib/ddtrace/contrib/sidekiq/server_internal_tracer/job_fetch.rb +30 -0
  369. data/lib/ddtrace/contrib/sidekiq/server_internal_tracer/scheduled_push.rb +29 -0
  370. data/lib/ddtrace/contrib/sidekiq/server_tracer.rb +6 -7
  371. data/lib/ddtrace/contrib/sidekiq/tracing.rb +1 -1
  372. data/lib/ddtrace/contrib/sinatra/configuration/settings.rb +1 -0
  373. data/lib/ddtrace/contrib/sinatra/env.rb +4 -4
  374. data/lib/ddtrace/contrib/sinatra/ext.rb +1 -0
  375. data/lib/ddtrace/contrib/sinatra/headers.rb +2 -3
  376. data/lib/ddtrace/contrib/sinatra/integration.rb +1 -0
  377. data/lib/ddtrace/contrib/sinatra/patcher.rb +3 -1
  378. data/lib/ddtrace/contrib/sinatra/tracer.rb +28 -7
  379. data/lib/ddtrace/contrib/sinatra/tracer_middleware.rb +13 -6
  380. data/lib/ddtrace/contrib/sneakers/configuration/settings.rb +2 -0
  381. data/lib/ddtrace/contrib/sneakers/ext.rb +12 -11
  382. data/lib/ddtrace/contrib/sneakers/integration.rb +1 -0
  383. data/lib/ddtrace/contrib/sneakers/patcher.rb +1 -0
  384. data/lib/ddtrace/contrib/sneakers/tracer.rb +17 -21
  385. data/lib/ddtrace/contrib/status_code_matcher.rb +70 -0
  386. data/lib/ddtrace/contrib/sucker_punch/configuration/settings.rb +1 -0
  387. data/lib/ddtrace/contrib/sucker_punch/exception_handler.rb +5 -6
  388. data/lib/ddtrace/contrib/sucker_punch/ext.rb +1 -0
  389. data/lib/ddtrace/contrib/sucker_punch/instrumentation.rb +5 -0
  390. data/lib/ddtrace/contrib/sucker_punch/integration.rb +1 -0
  391. data/lib/ddtrace/contrib/sucker_punch/patcher.rb +2 -0
  392. data/lib/ddtrace/correlation.rb +3 -1
  393. data/lib/ddtrace/diagnostics/environment_logger.rb +9 -7
  394. data/lib/ddtrace/diagnostics/health.rb +1 -0
  395. data/lib/ddtrace/distributed_tracing/headers/b3.rb +1 -0
  396. data/lib/ddtrace/distributed_tracing/headers/b3_single.rb +1 -0
  397. data/lib/ddtrace/distributed_tracing/headers/datadog.rb +1 -0
  398. data/lib/ddtrace/distributed_tracing/headers/headers.rb +2 -0
  399. data/lib/ddtrace/distributed_tracing/headers/helpers.rb +2 -3
  400. data/lib/ddtrace/encoding.rb +3 -0
  401. data/lib/ddtrace/error.rb +78 -8
  402. data/lib/ddtrace/event.rb +1 -0
  403. data/lib/ddtrace/ext/analytics.rb +1 -0
  404. data/lib/ddtrace/ext/app_types.rb +1 -0
  405. data/lib/ddtrace/ext/correlation.rb +1 -0
  406. data/lib/ddtrace/ext/diagnostics.rb +1 -0
  407. data/lib/ddtrace/ext/distributed.rb +9 -2
  408. data/lib/ddtrace/ext/environment.rb +8 -0
  409. data/lib/ddtrace/ext/errors.rb +1 -0
  410. data/lib/ddtrace/ext/forced_tracing.rb +1 -0
  411. data/lib/ddtrace/ext/git.rb +32 -0
  412. data/lib/ddtrace/ext/http.rb +2 -1
  413. data/lib/ddtrace/ext/integration.rb +1 -0
  414. data/lib/ddtrace/ext/manual_tracing.rb +1 -0
  415. data/lib/ddtrace/ext/metrics.rb +1 -0
  416. data/lib/ddtrace/ext/net.rb +1 -0
  417. data/lib/ddtrace/ext/priority.rb +7 -4
  418. data/lib/ddtrace/ext/profiling.rb +53 -0
  419. data/lib/ddtrace/ext/runtime.rb +5 -7
  420. data/lib/ddtrace/ext/sampling.rb +1 -0
  421. data/lib/ddtrace/ext/sql.rb +1 -0
  422. data/lib/ddtrace/ext/test.rb +9 -0
  423. data/lib/ddtrace/ext/transport.rb +14 -0
  424. data/lib/ddtrace/forced_tracing.rb +3 -0
  425. data/lib/ddtrace/logger.rb +2 -1
  426. data/lib/ddtrace/metrics.rb +84 -24
  427. data/lib/ddtrace/opentelemetry/extensions.rb +2 -1
  428. data/lib/ddtrace/opentelemetry/span.rb +1 -0
  429. data/lib/ddtrace/opentracer/binary_propagator.rb +1 -0
  430. data/lib/ddtrace/opentracer/carrier.rb +1 -0
  431. data/lib/ddtrace/opentracer/distributed_headers.rb +4 -0
  432. data/lib/ddtrace/opentracer/global_tracer.rb +1 -0
  433. data/lib/ddtrace/opentracer/propagator.rb +1 -0
  434. data/lib/ddtrace/opentracer/rack_propagator.rb +1 -0
  435. data/lib/ddtrace/opentracer/scope.rb +1 -0
  436. data/lib/ddtrace/opentracer/scope_manager.rb +1 -0
  437. data/lib/ddtrace/opentracer/span.rb +3 -6
  438. data/lib/ddtrace/opentracer/span_context.rb +1 -0
  439. data/lib/ddtrace/opentracer/span_context_factory.rb +1 -0
  440. data/lib/ddtrace/opentracer/text_map_propagator.rb +1 -0
  441. data/lib/ddtrace/opentracer/thread_local_scope.rb +2 -0
  442. data/lib/ddtrace/opentracer/thread_local_scope_manager.rb +1 -0
  443. data/lib/ddtrace/opentracer/tracer.rb +1 -0
  444. data/lib/ddtrace/opentracer.rb +21 -39
  445. data/lib/ddtrace/patcher.rb +28 -6
  446. data/lib/ddtrace/pin.rb +9 -61
  447. data/lib/ddtrace/pipeline/span_filter.rb +2 -1
  448. data/lib/ddtrace/pipeline/span_processor.rb +1 -0
  449. data/lib/ddtrace/pipeline.rb +1 -0
  450. data/lib/ddtrace/profiling/backtrace_location.rb +33 -0
  451. data/lib/ddtrace/profiling/buffer.rb +42 -0
  452. data/lib/ddtrace/profiling/collectors/stack.rb +297 -0
  453. data/lib/ddtrace/profiling/encoding/profile.rb +46 -0
  454. data/lib/ddtrace/profiling/event.rb +14 -0
  455. data/lib/ddtrace/profiling/events/stack.rb +81 -0
  456. data/lib/ddtrace/profiling/exporter.rb +24 -0
  457. data/lib/ddtrace/profiling/ext/forking.rb +98 -0
  458. data/lib/ddtrace/profiling/flush.rb +44 -0
  459. data/lib/ddtrace/profiling/native_extension.rb +40 -0
  460. data/lib/ddtrace/profiling/pprof/builder.rb +126 -0
  461. data/lib/ddtrace/profiling/pprof/converter.rb +103 -0
  462. data/lib/ddtrace/profiling/pprof/message_set.rb +15 -0
  463. data/lib/ddtrace/profiling/pprof/payload.rb +19 -0
  464. data/lib/ddtrace/profiling/pprof/pprof.proto +212 -0
  465. data/lib/ddtrace/profiling/pprof/pprof_pb.rb +82 -0
  466. data/lib/ddtrace/profiling/pprof/stack_sample.rb +140 -0
  467. data/lib/ddtrace/profiling/pprof/string_table.rb +11 -0
  468. data/lib/ddtrace/profiling/pprof/template.rb +119 -0
  469. data/lib/ddtrace/profiling/preload.rb +4 -0
  470. data/lib/ddtrace/profiling/profiler.rb +31 -0
  471. data/lib/ddtrace/profiling/recorder.rb +96 -0
  472. data/lib/ddtrace/profiling/scheduler.rb +150 -0
  473. data/lib/ddtrace/profiling/tasks/setup.rb +90 -0
  474. data/lib/ddtrace/profiling/trace_identifiers/ddtrace.rb +42 -0
  475. data/lib/ddtrace/profiling/trace_identifiers/helper.rb +46 -0
  476. data/lib/ddtrace/profiling/transport/client.rb +15 -0
  477. data/lib/ddtrace/profiling/transport/http/api/endpoint.rb +94 -0
  478. data/lib/ddtrace/profiling/transport/http/api/instance.rb +37 -0
  479. data/lib/ddtrace/profiling/transport/http/api/spec.rb +41 -0
  480. data/lib/ddtrace/profiling/transport/http/api.rb +44 -0
  481. data/lib/ddtrace/profiling/transport/http/builder.rb +29 -0
  482. data/lib/ddtrace/profiling/transport/http/client.rb +34 -0
  483. data/lib/ddtrace/profiling/transport/http/response.rb +22 -0
  484. data/lib/ddtrace/profiling/transport/http.rb +111 -0
  485. data/lib/ddtrace/profiling/transport/io/client.rb +28 -0
  486. data/lib/ddtrace/profiling/transport/io/response.rb +17 -0
  487. data/lib/ddtrace/profiling/transport/io.rb +31 -0
  488. data/lib/ddtrace/profiling/transport/parcel.rb +18 -0
  489. data/lib/ddtrace/profiling/transport/request.rb +16 -0
  490. data/lib/ddtrace/profiling/transport/response.rb +9 -0
  491. data/lib/ddtrace/profiling.rb +149 -0
  492. data/lib/ddtrace/propagation/grpc_propagator.rb +2 -0
  493. data/lib/ddtrace/propagation/http_propagator.rb +18 -2
  494. data/lib/ddtrace/quantization/hash.rb +1 -0
  495. data/lib/ddtrace/quantization/http.rb +4 -0
  496. data/lib/ddtrace/runtime/metrics.rb +35 -14
  497. data/lib/ddtrace/sampler.rb +20 -9
  498. data/lib/ddtrace/sampling/matcher.rb +1 -0
  499. data/lib/ddtrace/sampling/rate_limiter.rb +66 -16
  500. data/lib/ddtrace/sampling/rule.rb +2 -1
  501. data/lib/ddtrace/sampling/rule_sampler.rb +19 -11
  502. data/lib/ddtrace/sampling.rb +1 -0
  503. data/lib/ddtrace/span.rb +27 -14
  504. data/lib/ddtrace/sync_writer.rb +17 -15
  505. data/lib/ddtrace/tasks/exec.rb +47 -0
  506. data/lib/ddtrace/tasks/help.rb +15 -0
  507. data/lib/ddtrace/tracer.rb +61 -50
  508. data/lib/ddtrace/transport/http/adapters/net.rb +41 -11
  509. data/lib/ddtrace/transport/http/adapters/registry.rb +2 -0
  510. data/lib/ddtrace/transport/http/adapters/test.rb +5 -2
  511. data/lib/ddtrace/transport/http/adapters/unix_socket.rb +26 -16
  512. data/lib/ddtrace/transport/http/api/endpoint.rb +1 -0
  513. data/lib/ddtrace/transport/http/api/fallbacks.rb +1 -0
  514. data/lib/ddtrace/transport/http/api/instance.rb +1 -0
  515. data/lib/ddtrace/transport/http/api/map.rb +1 -0
  516. data/lib/ddtrace/transport/http/api/spec.rb +1 -0
  517. data/lib/ddtrace/transport/http/api.rb +1 -0
  518. data/lib/ddtrace/transport/http/builder.rb +21 -7
  519. data/lib/ddtrace/transport/http/client.rb +3 -1
  520. data/lib/ddtrace/transport/http/env.rb +9 -0
  521. data/lib/ddtrace/transport/http/response.rb +1 -0
  522. data/lib/ddtrace/transport/http/statistics.rb +3 -2
  523. data/lib/ddtrace/transport/http/traces.rb +6 -6
  524. data/lib/ddtrace/transport/http.rb +48 -41
  525. data/lib/ddtrace/transport/io/client.rb +17 -9
  526. data/lib/ddtrace/transport/io/response.rb +2 -3
  527. data/lib/ddtrace/transport/io/traces.rb +10 -1
  528. data/lib/ddtrace/transport/io.rb +2 -1
  529. data/lib/ddtrace/transport/parcel.rb +7 -0
  530. data/lib/ddtrace/transport/request.rb +1 -0
  531. data/lib/ddtrace/transport/response.rb +1 -0
  532. data/lib/ddtrace/transport/statistics.rb +1 -0
  533. data/lib/ddtrace/transport/traces.rb +21 -3
  534. data/lib/ddtrace/utils/compression.rb +28 -0
  535. data/lib/ddtrace/utils/database.rb +1 -0
  536. data/lib/ddtrace/utils/forking.rb +53 -0
  537. data/lib/ddtrace/utils/object_set.rb +40 -0
  538. data/lib/ddtrace/utils/only_once.rb +41 -0
  539. data/lib/ddtrace/utils/sequence.rb +18 -0
  540. data/lib/ddtrace/utils/string_table.rb +46 -0
  541. data/lib/ddtrace/utils/time.rb +40 -3
  542. data/lib/ddtrace/utils.rb +23 -12
  543. data/lib/ddtrace/vendor/active_record/MIT-LICENSE +20 -0
  544. data/lib/ddtrace/vendor/active_record/connection_specification.rb +1 -0
  545. data/lib/ddtrace/vendor/multipart-post/LICENSE +11 -0
  546. data/lib/ddtrace/vendor/multipart-post/multipart/post/composite_read_io.rb +117 -0
  547. data/lib/ddtrace/vendor/multipart-post/multipart/post/multipartable.rb +58 -0
  548. data/lib/ddtrace/vendor/multipart-post/multipart/post/parts.rb +136 -0
  549. data/lib/ddtrace/vendor/multipart-post/multipart/post/version.rb +10 -0
  550. data/lib/ddtrace/vendor/multipart-post/multipart/post.rb +9 -0
  551. data/lib/ddtrace/vendor/multipart-post/multipart.rb +13 -0
  552. data/lib/ddtrace/vendor/multipart-post/net/http/post/multipart.rb +33 -0
  553. data/lib/ddtrace/version.rb +16 -3
  554. data/lib/ddtrace/worker.rb +1 -0
  555. data/lib/ddtrace/workers/async.rb +15 -5
  556. data/lib/ddtrace/workers/{loop.rb → interval_loop.rb} +23 -12
  557. data/lib/ddtrace/workers/polling.rb +14 -6
  558. data/lib/ddtrace/workers/queue.rb +3 -1
  559. data/lib/ddtrace/workers/runtime_metrics.rb +22 -4
  560. data/lib/ddtrace/workers/trace_writer.rb +14 -16
  561. data/lib/ddtrace/workers.rb +8 -2
  562. data/lib/ddtrace/writer.rb +33 -8
  563. data/lib/ddtrace.rb +22 -48
  564. metadata +182 -405
  565. data/.circleci/config.yml +0 -548
  566. data/.circleci/images/primary/Dockerfile-2.0.0 +0 -73
  567. data/.circleci/images/primary/Dockerfile-2.1.10 +0 -73
  568. data/.circleci/images/primary/Dockerfile-2.2.10 +0 -73
  569. data/.circleci/images/primary/Dockerfile-2.3.8 +0 -75
  570. data/.circleci/images/primary/Dockerfile-2.4.6 +0 -73
  571. data/.circleci/images/primary/Dockerfile-2.5.6 +0 -73
  572. data/.circleci/images/primary/Dockerfile-2.6.4 +0 -73
  573. data/.circleci/images/primary/Dockerfile-2.7.0 +0 -73
  574. data/.circleci/images/primary/Dockerfile-jruby-9.2 +0 -77
  575. data/.dockerignore +0 -1
  576. data/.env +0 -26
  577. data/.github/CODEOWNERS +0 -1
  578. data/.gitlab-ci.yml +0 -27
  579. data/.rspec +0 -1
  580. data/.rubocop.yml +0 -85
  581. data/.simplecov +0 -38
  582. data/Appraisals +0 -1121
  583. data/Gemfile +0 -7
  584. data/Rakefile +0 -788
  585. data/benchmarks/postgres_database.yml +0 -9
  586. data/benchmarks/sidekiq_test.rb +0 -154
  587. data/docker-compose.yml +0 -370
  588. data/lib/ddtrace/augmentation/method_wrapper.rb +0 -20
  589. data/lib/ddtrace/augmentation/method_wrapping.rb +0 -38
  590. data/lib/ddtrace/augmentation/shim.rb +0 -102
  591. data/lib/ddtrace/augmentation.rb +0 -13
  592. data/lib/ddtrace/environment.rb +0 -41
  593. data/lib/ddtrace/monkey.rb +0 -58
  594. data/lib/ddtrace/runtime/cgroup.rb +0 -44
  595. data/lib/ddtrace/runtime/class_count.rb +0 -17
  596. data/lib/ddtrace/runtime/container.rb +0 -73
  597. data/lib/ddtrace/runtime/gc.rb +0 -16
  598. data/lib/ddtrace/runtime/identity.rb +0 -41
  599. data/lib/ddtrace/runtime/object_space.rb +0 -19
  600. data/lib/ddtrace/runtime/socket.rb +0 -14
  601. data/lib/ddtrace/runtime/thread_count.rb +0 -16
  602. data/tasks/release_gem.rake +0 -28
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ddtrace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.42.0
4
+ version: 0.54.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Datadog, Inc.
8
- autorequire:
9
- bindir: exe
8
+ autorequire:
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-21 00:00:00.000000000 Z
11
+ date: 2022-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: msgpack
@@ -25,423 +25,95 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: dogstatsd-ruby
28
+ name: debase-ruby_core_source
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: 3.3.0
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: 3.3.0
41
- - !ruby/object:Gem::Dependency
42
- name: opentracing
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: 0.4.1
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: 0.4.1
55
- - !ruby/object:Gem::Dependency
56
- name: concurrent-ruby
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
31
+ - - "<="
60
32
  - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: rake
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '10.5'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '10.5'
83
- - !ruby/object:Gem::Dependency
84
- name: rubocop
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - '='
88
- - !ruby/object:Gem::Version
89
- version: 0.49.1
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - '='
95
- - !ruby/object:Gem::Version
96
- version: 0.49.1
97
- - !ruby/object:Gem::Dependency
98
- name: rspec
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '3.0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '3.0'
111
- - !ruby/object:Gem::Dependency
112
- name: rspec-collection_matchers
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '1.1'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '1.1'
125
- - !ruby/object:Gem::Dependency
126
- name: ruby-prof
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - "~>"
130
- - !ruby/object:Gem::Version
131
- version: '1.4'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - "~>"
137
- - !ruby/object:Gem::Version
138
- version: '1.4'
139
- - !ruby/object:Gem::Dependency
140
- name: minitest
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - '='
144
- - !ruby/object:Gem::Version
145
- version: 5.10.1
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - '='
151
- - !ruby/object:Gem::Version
152
- version: 5.10.1
153
- - !ruby/object:Gem::Dependency
154
- name: minitest-around
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - '='
158
- - !ruby/object:Gem::Version
159
- version: 0.5.0
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - '='
165
- - !ruby/object:Gem::Version
166
- version: 0.5.0
167
- - !ruby/object:Gem::Dependency
168
- name: minitest-stub_any_instance
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - '='
172
- - !ruby/object:Gem::Version
173
- version: 1.0.2
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - '='
179
- - !ruby/object:Gem::Version
180
- version: 1.0.2
181
- - !ruby/object:Gem::Dependency
182
- name: appraisal
183
- requirement: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - "~>"
186
- - !ruby/object:Gem::Version
187
- version: '2.2'
188
- type: :development
189
- prerelease: false
190
- version_requirements: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - "~>"
193
- - !ruby/object:Gem::Version
194
- version: '2.2'
195
- - !ruby/object:Gem::Dependency
196
- name: yard
197
- requirement: !ruby/object:Gem::Requirement
198
- requirements:
199
- - - "~>"
200
- - !ruby/object:Gem::Version
201
- version: '0.9'
202
- type: :development
203
- prerelease: false
204
- version_requirements: !ruby/object:Gem::Requirement
205
- requirements:
206
- - - "~>"
207
- - !ruby/object:Gem::Version
208
- version: '0.9'
209
- - !ruby/object:Gem::Dependency
210
- name: webmock
211
- requirement: !ruby/object:Gem::Requirement
212
- requirements:
213
- - - "~>"
214
- - !ruby/object:Gem::Version
215
- version: '2.0'
216
- type: :development
217
- prerelease: false
218
- version_requirements: !ruby/object:Gem::Requirement
219
- requirements:
220
- - - "~>"
221
- - !ruby/object:Gem::Version
222
- version: '2.0'
223
- - !ruby/object:Gem::Dependency
224
- name: builder
225
- requirement: !ruby/object:Gem::Requirement
226
- requirements:
227
- - - ">="
228
- - !ruby/object:Gem::Version
229
- version: '0'
230
- type: :development
231
- prerelease: false
232
- version_requirements: !ruby/object:Gem::Requirement
233
- requirements:
234
- - - ">="
235
- - !ruby/object:Gem::Version
236
- version: '0'
237
- - !ruby/object:Gem::Dependency
238
- name: sqlite3
239
- requirement: !ruby/object:Gem::Requirement
240
- requirements:
241
- - - "~>"
242
- - !ruby/object:Gem::Version
243
- version: 1.3.6
244
- type: :development
245
- prerelease: false
246
- version_requirements: !ruby/object:Gem::Requirement
247
- requirements:
248
- - - "~>"
249
- - !ruby/object:Gem::Version
250
- version: 1.3.6
251
- - !ruby/object:Gem::Dependency
252
- name: climate_control
253
- requirement: !ruby/object:Gem::Requirement
254
- requirements:
255
- - - "~>"
256
- - !ruby/object:Gem::Version
257
- version: 0.2.0
258
- type: :development
259
- prerelease: false
260
- version_requirements: !ruby/object:Gem::Requirement
261
- requirements:
262
- - - "~>"
263
- - !ruby/object:Gem::Version
264
- version: 0.2.0
265
- - !ruby/object:Gem::Dependency
266
- name: addressable
267
- requirement: !ruby/object:Gem::Requirement
268
- requirements:
269
- - - "~>"
270
- - !ruby/object:Gem::Version
271
- version: 2.4.0
272
- type: :development
273
- prerelease: false
274
- version_requirements: !ruby/object:Gem::Requirement
275
- requirements:
276
- - - "~>"
277
- - !ruby/object:Gem::Version
278
- version: 2.4.0
279
- - !ruby/object:Gem::Dependency
280
- name: benchmark-ips
281
- requirement: !ruby/object:Gem::Requirement
282
- requirements:
283
- - - "~>"
284
- - !ruby/object:Gem::Version
285
- version: '2.8'
286
- type: :development
287
- prerelease: false
288
- version_requirements: !ruby/object:Gem::Requirement
289
- requirements:
290
- - - "~>"
291
- - !ruby/object:Gem::Version
292
- version: '2.8'
293
- - !ruby/object:Gem::Dependency
294
- name: benchmark-memory
295
- requirement: !ruby/object:Gem::Requirement
296
- requirements:
297
- - - "~>"
298
- - !ruby/object:Gem::Version
299
- version: '0.1'
300
- type: :development
301
- prerelease: false
302
- version_requirements: !ruby/object:Gem::Requirement
303
- requirements:
304
- - - "~>"
305
- - !ruby/object:Gem::Version
306
- version: '0.1'
307
- - !ruby/object:Gem::Dependency
308
- name: memory_profiler
309
- requirement: !ruby/object:Gem::Requirement
310
- requirements:
311
- - - "~>"
312
- - !ruby/object:Gem::Version
313
- version: '0.9'
314
- type: :development
315
- prerelease: false
316
- version_requirements: !ruby/object:Gem::Requirement
317
- requirements:
318
- - - "~>"
319
- - !ruby/object:Gem::Version
320
- version: '0.9'
321
- - !ruby/object:Gem::Dependency
322
- name: redcarpet
323
- requirement: !ruby/object:Gem::Requirement
324
- requirements:
325
- - - "~>"
326
- - !ruby/object:Gem::Version
327
- version: '3.4'
328
- type: :development
329
- prerelease: false
330
- version_requirements: !ruby/object:Gem::Requirement
331
- requirements:
332
- - - "~>"
333
- - !ruby/object:Gem::Version
334
- version: '3.4'
335
- - !ruby/object:Gem::Dependency
336
- name: pry
337
- requirement: !ruby/object:Gem::Requirement
338
- requirements:
339
- - - "~>"
340
- - !ruby/object:Gem::Version
341
- version: 0.10.4
342
- type: :development
343
- prerelease: false
344
- version_requirements: !ruby/object:Gem::Requirement
345
- requirements:
346
- - - "~>"
347
- - !ruby/object:Gem::Version
348
- version: 0.10.4
349
- - !ruby/object:Gem::Dependency
350
- name: pry-stack_explorer
351
- requirement: !ruby/object:Gem::Requirement
352
- requirements:
353
- - - "~>"
354
- - !ruby/object:Gem::Version
355
- version: 0.4.9.2
356
- type: :development
357
- prerelease: false
358
- version_requirements: !ruby/object:Gem::Requirement
359
- requirements:
360
- - - "~>"
361
- - !ruby/object:Gem::Version
362
- version: 0.4.9.2
363
- - !ruby/object:Gem::Dependency
364
- name: simplecov
365
- requirement: !ruby/object:Gem::Requirement
366
- requirements:
367
- - - "~>"
368
- - !ruby/object:Gem::Version
369
- version: '0.17'
370
- type: :development
371
- prerelease: false
372
- version_requirements: !ruby/object:Gem::Requirement
373
- requirements:
374
- - - "~>"
375
- - !ruby/object:Gem::Version
376
- version: '0.17'
377
- - !ruby/object:Gem::Dependency
378
- name: warning
379
- requirement: !ruby/object:Gem::Requirement
380
- requirements:
381
- - - "~>"
382
- - !ruby/object:Gem::Version
383
- version: '1'
384
- type: :development
33
+ version: 0.10.14
34
+ type: :runtime
385
35
  prerelease: false
386
36
  version_requirements: !ruby/object:Gem::Requirement
387
37
  requirements:
388
- - - "~>"
38
+ - - "<="
389
39
  - !ruby/object:Gem::Version
390
- version: '1'
40
+ version: 0.10.14
391
41
  description: |
392
42
  ddtrace is Datadog’s tracing client for Ruby. It is used to trace requests
393
43
  as they flow across web servers, databases and microservices so that developers
394
44
  have great visiblity into bottlenecks and troublesome requests.
395
45
  email:
396
46
  - dev@datadoghq.com
397
- executables: []
398
- extensions: []
47
+ executables:
48
+ - ddtracerb
49
+ extensions:
50
+ - ext/ddtrace_profiling_native_extension/extconf.rb
399
51
  extra_rdoc_files: []
400
52
  files:
401
- - ".circleci/config.yml"
402
- - ".circleci/images/primary/Dockerfile-2.0.0"
403
- - ".circleci/images/primary/Dockerfile-2.1.10"
404
- - ".circleci/images/primary/Dockerfile-2.2.10"
405
- - ".circleci/images/primary/Dockerfile-2.3.8"
406
- - ".circleci/images/primary/Dockerfile-2.4.6"
407
- - ".circleci/images/primary/Dockerfile-2.5.6"
408
- - ".circleci/images/primary/Dockerfile-2.6.4"
409
- - ".circleci/images/primary/Dockerfile-2.7.0"
410
- - ".circleci/images/primary/Dockerfile-jruby-9.2"
411
- - ".dockerignore"
412
- - ".env"
413
- - ".github/CODEOWNERS"
53
+ - ".editorconfig"
414
54
  - ".gitignore"
415
- - ".gitlab-ci.yml"
416
- - ".rspec"
417
- - ".rubocop.yml"
418
- - ".simplecov"
419
55
  - ".yardopts"
420
- - Appraisals
421
56
  - CHANGELOG.md
422
57
  - CONTRIBUTING.md
423
- - Gemfile
424
58
  - LICENSE
59
+ - LICENSE-3rdparty.csv
425
60
  - LICENSE.Apache
426
61
  - LICENSE.BSD3
427
62
  - NOTICE
428
63
  - README.md
429
- - Rakefile
430
- - benchmarks/postgres_database.yml
431
- - benchmarks/sidekiq_test.rb
64
+ - bin/ddtracerb
432
65
  - ddtrace.gemspec
433
- - docker-compose.yml
434
66
  - docs/DevelopmentGuide.md
435
67
  - docs/GettingStarted.md
68
+ - docs/ProfilingDevelopment.md
69
+ - ext/ddtrace_profiling_native_extension/NativeExtensionDesign.md
70
+ - ext/ddtrace_profiling_native_extension/clock_id.h
71
+ - ext/ddtrace_profiling_native_extension/clock_id_from_pthread.c
72
+ - ext/ddtrace_profiling_native_extension/clock_id_noop.c
73
+ - ext/ddtrace_profiling_native_extension/extconf.rb
74
+ - ext/ddtrace_profiling_native_extension/private_vm_api_access.c
75
+ - ext/ddtrace_profiling_native_extension/private_vm_api_access.h
76
+ - ext/ddtrace_profiling_native_extension/profiling.c
77
+ - lib/datadog/ci.rb
78
+ - lib/datadog/ci/configuration/components.rb
79
+ - lib/datadog/ci/configuration/settings.rb
80
+ - lib/datadog/ci/context_flush.rb
81
+ - lib/datadog/ci/contrib/cucumber/configuration/settings.rb
82
+ - lib/datadog/ci/contrib/cucumber/ext.rb
83
+ - lib/datadog/ci/contrib/cucumber/formatter.rb
84
+ - lib/datadog/ci/contrib/cucumber/instrumentation.rb
85
+ - lib/datadog/ci/contrib/cucumber/integration.rb
86
+ - lib/datadog/ci/contrib/cucumber/patcher.rb
87
+ - lib/datadog/ci/contrib/rspec/configuration/settings.rb
88
+ - lib/datadog/ci/contrib/rspec/example.rb
89
+ - lib/datadog/ci/contrib/rspec/ext.rb
90
+ - lib/datadog/ci/contrib/rspec/integration.rb
91
+ - lib/datadog/ci/contrib/rspec/patcher.rb
92
+ - lib/datadog/ci/ext/app_types.rb
93
+ - lib/datadog/ci/ext/environment.rb
94
+ - lib/datadog/ci/ext/settings.rb
95
+ - lib/datadog/ci/ext/test.rb
96
+ - lib/datadog/ci/extensions.rb
97
+ - lib/datadog/ci/test.rb
98
+ - lib/datadog/contrib.rb
99
+ - lib/datadog/core/environment/cgroup.rb
100
+ - lib/datadog/core/environment/class_count.rb
101
+ - lib/datadog/core/environment/container.rb
102
+ - lib/datadog/core/environment/ext.rb
103
+ - lib/datadog/core/environment/gc.rb
104
+ - lib/datadog/core/environment/identity.rb
105
+ - lib/datadog/core/environment/socket.rb
106
+ - lib/datadog/core/environment/thread_count.rb
107
+ - lib/datadog/core/environment/variable_helpers.rb
108
+ - lib/datadog/core/environment/vm_cache.rb
436
109
  - lib/ddtrace.rb
437
110
  - lib/ddtrace/analytics.rb
438
- - lib/ddtrace/augmentation.rb
439
- - lib/ddtrace/augmentation/method_wrapper.rb
440
- - lib/ddtrace/augmentation/method_wrapping.rb
441
- - lib/ddtrace/augmentation/shim.rb
111
+ - lib/ddtrace/auto_instrument.rb
112
+ - lib/ddtrace/auto_instrument_base.rb
442
113
  - lib/ddtrace/buffer.rb
443
114
  - lib/ddtrace/chunker.rb
444
115
  - lib/ddtrace/configuration.rb
116
+ - lib/ddtrace/configuration/agent_settings_resolver.rb
445
117
  - lib/ddtrace/configuration/base.rb
446
118
  - lib/ddtrace/configuration/components.rb
447
119
  - lib/ddtrace/configuration/dependency_resolver.rb
@@ -465,6 +137,14 @@ files:
465
137
  - lib/ddtrace/contrib/action_cable/instrumentation.rb
466
138
  - lib/ddtrace/contrib/action_cable/integration.rb
467
139
  - lib/ddtrace/contrib/action_cable/patcher.rb
140
+ - lib/ddtrace/contrib/action_mailer/configuration/settings.rb
141
+ - lib/ddtrace/contrib/action_mailer/event.rb
142
+ - lib/ddtrace/contrib/action_mailer/events.rb
143
+ - lib/ddtrace/contrib/action_mailer/events/deliver.rb
144
+ - lib/ddtrace/contrib/action_mailer/events/process.rb
145
+ - lib/ddtrace/contrib/action_mailer/ext.rb
146
+ - lib/ddtrace/contrib/action_mailer/integration.rb
147
+ - lib/ddtrace/contrib/action_mailer/patcher.rb
468
148
  - lib/ddtrace/contrib/action_pack/action_controller/instrumentation.rb
469
149
  - lib/ddtrace/contrib/action_pack/action_controller/patcher.rb
470
150
  - lib/ddtrace/contrib/action_pack/configuration/settings.rb
@@ -483,6 +163,19 @@ files:
483
163
  - lib/ddtrace/contrib/action_view/integration.rb
484
164
  - lib/ddtrace/contrib/action_view/patcher.rb
485
165
  - lib/ddtrace/contrib/action_view/utils.rb
166
+ - lib/ddtrace/contrib/active_job/configuration/settings.rb
167
+ - lib/ddtrace/contrib/active_job/event.rb
168
+ - lib/ddtrace/contrib/active_job/events.rb
169
+ - lib/ddtrace/contrib/active_job/events/discard.rb
170
+ - lib/ddtrace/contrib/active_job/events/enqueue.rb
171
+ - lib/ddtrace/contrib/active_job/events/enqueue_at.rb
172
+ - lib/ddtrace/contrib/active_job/events/enqueue_retry.rb
173
+ - lib/ddtrace/contrib/active_job/events/perform.rb
174
+ - lib/ddtrace/contrib/active_job/events/retry_stopped.rb
175
+ - lib/ddtrace/contrib/active_job/ext.rb
176
+ - lib/ddtrace/contrib/active_job/integration.rb
177
+ - lib/ddtrace/contrib/active_job/log_injection.rb
178
+ - lib/ddtrace/contrib/active_job/patcher.rb
486
179
  - lib/ddtrace/contrib/active_model_serializers/configuration/settings.rb
487
180
  - lib/ddtrace/contrib/active_model_serializers/event.rb
488
181
  - lib/ddtrace/contrib/active_model_serializers/events.rb
@@ -491,6 +184,7 @@ files:
491
184
  - lib/ddtrace/contrib/active_model_serializers/ext.rb
492
185
  - lib/ddtrace/contrib/active_model_serializers/integration.rb
493
186
  - lib/ddtrace/contrib/active_model_serializers/patcher.rb
187
+ - lib/ddtrace/contrib/active_record/configuration/makara_resolver.rb
494
188
  - lib/ddtrace/contrib/active_record/configuration/resolver.rb
495
189
  - lib/ddtrace/contrib/active_record/configuration/settings.rb
496
190
  - lib/ddtrace/contrib/active_record/event.rb
@@ -512,6 +206,7 @@ files:
512
206
  - lib/ddtrace/contrib/active_support/notifications/subscription.rb
513
207
  - lib/ddtrace/contrib/active_support/patcher.rb
514
208
  - lib/ddtrace/contrib/analytics.rb
209
+ - lib/ddtrace/contrib/auto_instrument.rb
515
210
  - lib/ddtrace/contrib/aws/configuration/settings.rb
516
211
  - lib/ddtrace/contrib/aws/ext.rb
517
212
  - lib/ddtrace/contrib/aws/instrumentation.rb
@@ -589,6 +284,11 @@ files:
589
284
  - lib/ddtrace/contrib/http/integration.rb
590
285
  - lib/ddtrace/contrib/http/patcher.rb
591
286
  - lib/ddtrace/contrib/http_annotation_helper.rb
287
+ - lib/ddtrace/contrib/httpclient/configuration/settings.rb
288
+ - lib/ddtrace/contrib/httpclient/ext.rb
289
+ - lib/ddtrace/contrib/httpclient/instrumentation.rb
290
+ - lib/ddtrace/contrib/httpclient/integration.rb
291
+ - lib/ddtrace/contrib/httpclient/patcher.rb
592
292
  - lib/ddtrace/contrib/httprb/configuration/settings.rb
593
293
  - lib/ddtrace/contrib/httprb/ext.rb
594
294
  - lib/ddtrace/contrib/httprb/instrumentation.rb
@@ -612,6 +312,11 @@ files:
612
312
  - lib/ddtrace/contrib/kafka/ext.rb
613
313
  - lib/ddtrace/contrib/kafka/integration.rb
614
314
  - lib/ddtrace/contrib/kafka/patcher.rb
315
+ - lib/ddtrace/contrib/lograge/configuration/settings.rb
316
+ - lib/ddtrace/contrib/lograge/ext.rb
317
+ - lib/ddtrace/contrib/lograge/instrumentation.rb
318
+ - lib/ddtrace/contrib/lograge/integration.rb
319
+ - lib/ddtrace/contrib/lograge/patcher.rb
615
320
  - lib/ddtrace/contrib/mongodb/configuration/settings.rb
616
321
  - lib/ddtrace/contrib/mongodb/ext.rb
617
322
  - lib/ddtrace/contrib/mongodb/instrumentation.rb
@@ -631,6 +336,12 @@ files:
631
336
  - lib/ddtrace/contrib/presto/instrumentation.rb
632
337
  - lib/ddtrace/contrib/presto/integration.rb
633
338
  - lib/ddtrace/contrib/presto/patcher.rb
339
+ - lib/ddtrace/contrib/qless/configuration/settings.rb
340
+ - lib/ddtrace/contrib/qless/ext.rb
341
+ - lib/ddtrace/contrib/qless/integration.rb
342
+ - lib/ddtrace/contrib/qless/patcher.rb
343
+ - lib/ddtrace/contrib/qless/qless_job.rb
344
+ - lib/ddtrace/contrib/qless/tracer_cleaner.rb
634
345
  - lib/ddtrace/contrib/que/configuration/settings.rb
635
346
  - lib/ddtrace/contrib/que/ext.rb
636
347
  - lib/ddtrace/contrib/que/integration.rb
@@ -651,6 +362,7 @@ files:
651
362
  - lib/ddtrace/contrib/rack/middlewares.rb
652
363
  - lib/ddtrace/contrib/rack/patcher.rb
653
364
  - lib/ddtrace/contrib/rack/request_queue.rb
365
+ - lib/ddtrace/contrib/rails/auto_instrument_railtie.rb
654
366
  - lib/ddtrace/contrib/rails/configuration/settings.rb
655
367
  - lib/ddtrace/contrib/rails/ext.rb
656
368
  - lib/ddtrace/contrib/rails/framework.rb
@@ -668,10 +380,12 @@ files:
668
380
  - lib/ddtrace/contrib/redis/configuration/resolver.rb
669
381
  - lib/ddtrace/contrib/redis/configuration/settings.rb
670
382
  - lib/ddtrace/contrib/redis/ext.rb
383
+ - lib/ddtrace/contrib/redis/instrumentation.rb
671
384
  - lib/ddtrace/contrib/redis/integration.rb
672
385
  - lib/ddtrace/contrib/redis/patcher.rb
673
386
  - lib/ddtrace/contrib/redis/quantize.rb
674
387
  - lib/ddtrace/contrib/redis/tags.rb
388
+ - lib/ddtrace/contrib/redis/vendor/LICENSE
675
389
  - lib/ddtrace/contrib/redis/vendor/resolver.rb
676
390
  - lib/ddtrace/contrib/registerable.rb
677
391
  - lib/ddtrace/contrib/registry.rb
@@ -685,6 +399,11 @@ files:
685
399
  - lib/ddtrace/contrib/rest_client/integration.rb
686
400
  - lib/ddtrace/contrib/rest_client/patcher.rb
687
401
  - lib/ddtrace/contrib/rest_client/request_patch.rb
402
+ - lib/ddtrace/contrib/semantic_logger/configuration/settings.rb
403
+ - lib/ddtrace/contrib/semantic_logger/ext.rb
404
+ - lib/ddtrace/contrib/semantic_logger/instrumentation.rb
405
+ - lib/ddtrace/contrib/semantic_logger/integration.rb
406
+ - lib/ddtrace/contrib/semantic_logger/patcher.rb
688
407
  - lib/ddtrace/contrib/sequel/configuration/settings.rb
689
408
  - lib/ddtrace/contrib/sequel/database.rb
690
409
  - lib/ddtrace/contrib/sequel/dataset.rb
@@ -702,6 +421,9 @@ files:
702
421
  - lib/ddtrace/contrib/sidekiq/ext.rb
703
422
  - lib/ddtrace/contrib/sidekiq/integration.rb
704
423
  - lib/ddtrace/contrib/sidekiq/patcher.rb
424
+ - lib/ddtrace/contrib/sidekiq/server_internal_tracer/heartbeat.rb
425
+ - lib/ddtrace/contrib/sidekiq/server_internal_tracer/job_fetch.rb
426
+ - lib/ddtrace/contrib/sidekiq/server_internal_tracer/scheduled_push.rb
705
427
  - lib/ddtrace/contrib/sidekiq/server_tracer.rb
706
428
  - lib/ddtrace/contrib/sidekiq/tracing.rb
707
429
  - lib/ddtrace/contrib/sinatra/configuration/settings.rb
@@ -717,6 +439,7 @@ files:
717
439
  - lib/ddtrace/contrib/sneakers/integration.rb
718
440
  - lib/ddtrace/contrib/sneakers/patcher.rb
719
441
  - lib/ddtrace/contrib/sneakers/tracer.rb
442
+ - lib/ddtrace/contrib/status_code_matcher.rb
720
443
  - lib/ddtrace/contrib/sucker_punch/configuration/settings.rb
721
444
  - lib/ddtrace/contrib/sucker_punch/exception_handler.rb
722
445
  - lib/ddtrace/contrib/sucker_punch/ext.rb
@@ -732,7 +455,6 @@ files:
732
455
  - lib/ddtrace/distributed_tracing/headers/headers.rb
733
456
  - lib/ddtrace/distributed_tracing/headers/helpers.rb
734
457
  - lib/ddtrace/encoding.rb
735
- - lib/ddtrace/environment.rb
736
458
  - lib/ddtrace/error.rb
737
459
  - lib/ddtrace/event.rb
738
460
  - lib/ddtrace/ext/analytics.rb
@@ -743,20 +465,22 @@ files:
743
465
  - lib/ddtrace/ext/environment.rb
744
466
  - lib/ddtrace/ext/errors.rb
745
467
  - lib/ddtrace/ext/forced_tracing.rb
468
+ - lib/ddtrace/ext/git.rb
746
469
  - lib/ddtrace/ext/http.rb
747
470
  - lib/ddtrace/ext/integration.rb
748
471
  - lib/ddtrace/ext/manual_tracing.rb
749
472
  - lib/ddtrace/ext/metrics.rb
750
473
  - lib/ddtrace/ext/net.rb
751
474
  - lib/ddtrace/ext/priority.rb
475
+ - lib/ddtrace/ext/profiling.rb
752
476
  - lib/ddtrace/ext/runtime.rb
753
477
  - lib/ddtrace/ext/sampling.rb
754
478
  - lib/ddtrace/ext/sql.rb
479
+ - lib/ddtrace/ext/test.rb
755
480
  - lib/ddtrace/ext/transport.rb
756
481
  - lib/ddtrace/forced_tracing.rb
757
482
  - lib/ddtrace/logger.rb
758
483
  - lib/ddtrace/metrics.rb
759
- - lib/ddtrace/monkey.rb
760
484
  - lib/ddtrace/opentelemetry/extensions.rb
761
485
  - lib/ddtrace/opentelemetry/span.rb
762
486
  - lib/ddtrace/opentracer.rb
@@ -780,19 +504,53 @@ files:
780
504
  - lib/ddtrace/pipeline.rb
781
505
  - lib/ddtrace/pipeline/span_filter.rb
782
506
  - lib/ddtrace/pipeline/span_processor.rb
507
+ - lib/ddtrace/profiling.rb
508
+ - lib/ddtrace/profiling/backtrace_location.rb
509
+ - lib/ddtrace/profiling/buffer.rb
510
+ - lib/ddtrace/profiling/collectors/stack.rb
511
+ - lib/ddtrace/profiling/encoding/profile.rb
512
+ - lib/ddtrace/profiling/event.rb
513
+ - lib/ddtrace/profiling/events/stack.rb
514
+ - lib/ddtrace/profiling/exporter.rb
515
+ - lib/ddtrace/profiling/ext/forking.rb
516
+ - lib/ddtrace/profiling/flush.rb
517
+ - lib/ddtrace/profiling/native_extension.rb
518
+ - lib/ddtrace/profiling/pprof/builder.rb
519
+ - lib/ddtrace/profiling/pprof/converter.rb
520
+ - lib/ddtrace/profiling/pprof/message_set.rb
521
+ - lib/ddtrace/profiling/pprof/payload.rb
522
+ - lib/ddtrace/profiling/pprof/pprof.proto
523
+ - lib/ddtrace/profiling/pprof/pprof_pb.rb
524
+ - lib/ddtrace/profiling/pprof/stack_sample.rb
525
+ - lib/ddtrace/profiling/pprof/string_table.rb
526
+ - lib/ddtrace/profiling/pprof/template.rb
527
+ - lib/ddtrace/profiling/preload.rb
528
+ - lib/ddtrace/profiling/profiler.rb
529
+ - lib/ddtrace/profiling/recorder.rb
530
+ - lib/ddtrace/profiling/scheduler.rb
531
+ - lib/ddtrace/profiling/tasks/setup.rb
532
+ - lib/ddtrace/profiling/trace_identifiers/ddtrace.rb
533
+ - lib/ddtrace/profiling/trace_identifiers/helper.rb
534
+ - lib/ddtrace/profiling/transport/client.rb
535
+ - lib/ddtrace/profiling/transport/http.rb
536
+ - lib/ddtrace/profiling/transport/http/api.rb
537
+ - lib/ddtrace/profiling/transport/http/api/endpoint.rb
538
+ - lib/ddtrace/profiling/transport/http/api/instance.rb
539
+ - lib/ddtrace/profiling/transport/http/api/spec.rb
540
+ - lib/ddtrace/profiling/transport/http/builder.rb
541
+ - lib/ddtrace/profiling/transport/http/client.rb
542
+ - lib/ddtrace/profiling/transport/http/response.rb
543
+ - lib/ddtrace/profiling/transport/io.rb
544
+ - lib/ddtrace/profiling/transport/io/client.rb
545
+ - lib/ddtrace/profiling/transport/io/response.rb
546
+ - lib/ddtrace/profiling/transport/parcel.rb
547
+ - lib/ddtrace/profiling/transport/request.rb
548
+ - lib/ddtrace/profiling/transport/response.rb
783
549
  - lib/ddtrace/propagation/grpc_propagator.rb
784
550
  - lib/ddtrace/propagation/http_propagator.rb
785
551
  - lib/ddtrace/quantization/hash.rb
786
552
  - lib/ddtrace/quantization/http.rb
787
- - lib/ddtrace/runtime/cgroup.rb
788
- - lib/ddtrace/runtime/class_count.rb
789
- - lib/ddtrace/runtime/container.rb
790
- - lib/ddtrace/runtime/gc.rb
791
- - lib/ddtrace/runtime/identity.rb
792
553
  - lib/ddtrace/runtime/metrics.rb
793
- - lib/ddtrace/runtime/object_space.rb
794
- - lib/ddtrace/runtime/socket.rb
795
- - lib/ddtrace/runtime/thread_count.rb
796
554
  - lib/ddtrace/sampler.rb
797
555
  - lib/ddtrace/sampling.rb
798
556
  - lib/ddtrace/sampling/matcher.rb
@@ -801,6 +559,8 @@ files:
801
559
  - lib/ddtrace/sampling/rule_sampler.rb
802
560
  - lib/ddtrace/span.rb
803
561
  - lib/ddtrace/sync_writer.rb
562
+ - lib/ddtrace/tasks/exec.rb
563
+ - lib/ddtrace/tasks/help.rb
804
564
  - lib/ddtrace/tracer.rb
805
565
  - lib/ddtrace/transport/http.rb
806
566
  - lib/ddtrace/transport/http/adapters/net.rb
@@ -829,26 +589,40 @@ files:
829
589
  - lib/ddtrace/transport/statistics.rb
830
590
  - lib/ddtrace/transport/traces.rb
831
591
  - lib/ddtrace/utils.rb
592
+ - lib/ddtrace/utils/compression.rb
832
593
  - lib/ddtrace/utils/database.rb
594
+ - lib/ddtrace/utils/forking.rb
595
+ - lib/ddtrace/utils/object_set.rb
596
+ - lib/ddtrace/utils/only_once.rb
597
+ - lib/ddtrace/utils/sequence.rb
598
+ - lib/ddtrace/utils/string_table.rb
833
599
  - lib/ddtrace/utils/time.rb
600
+ - lib/ddtrace/vendor/active_record/MIT-LICENSE
834
601
  - lib/ddtrace/vendor/active_record/connection_specification.rb
602
+ - lib/ddtrace/vendor/multipart-post/LICENSE
603
+ - lib/ddtrace/vendor/multipart-post/multipart.rb
604
+ - lib/ddtrace/vendor/multipart-post/multipart/post.rb
605
+ - lib/ddtrace/vendor/multipart-post/multipart/post/composite_read_io.rb
606
+ - lib/ddtrace/vendor/multipart-post/multipart/post/multipartable.rb
607
+ - lib/ddtrace/vendor/multipart-post/multipart/post/parts.rb
608
+ - lib/ddtrace/vendor/multipart-post/multipart/post/version.rb
609
+ - lib/ddtrace/vendor/multipart-post/net/http/post/multipart.rb
835
610
  - lib/ddtrace/version.rb
836
611
  - lib/ddtrace/worker.rb
837
612
  - lib/ddtrace/workers.rb
838
613
  - lib/ddtrace/workers/async.rb
839
- - lib/ddtrace/workers/loop.rb
614
+ - lib/ddtrace/workers/interval_loop.rb
840
615
  - lib/ddtrace/workers/polling.rb
841
616
  - lib/ddtrace/workers/queue.rb
842
617
  - lib/ddtrace/workers/runtime_metrics.rb
843
618
  - lib/ddtrace/workers/trace_writer.rb
844
619
  - lib/ddtrace/writer.rb
845
- - tasks/release_gem.rake
846
620
  homepage: https://github.com/DataDog/dd-trace-rb
847
621
  licenses:
848
622
  - BSD-3-Clause
849
623
  metadata:
850
624
  allowed_push_host: https://rubygems.org
851
- post_install_message:
625
+ post_install_message:
852
626
  rdoc_options: []
853
627
  require_paths:
854
628
  - lib
@@ -856,15 +630,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
856
630
  requirements:
857
631
  - - ">="
858
632
  - !ruby/object:Gem::Version
859
- version: 2.0.0
633
+ version: 2.1.0
634
+ - - "<"
635
+ - !ruby/object:Gem::Version
636
+ version: '3.2'
860
637
  required_rubygems_version: !ruby/object:Gem::Requirement
861
638
  requirements:
862
639
  - - ">="
863
640
  - !ruby/object:Gem::Version
864
641
  version: 2.0.0
865
642
  requirements: []
866
- rubygems_version: 3.0.3
867
- signing_key:
643
+ rubygems_version: 3.1.6
644
+ signing_key:
868
645
  specification_version: 4
869
646
  summary: Datadog tracing code for your Ruby applications
870
647
  test_files: []