ddtrace 1.9.0 → 1.10.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (695) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +77 -1
  3. data/LICENSE-3rdparty.csv +1 -0
  4. data/ext/ddtrace_profiling_loader/extconf.rb +0 -2
  5. data/ext/ddtrace_profiling_native_extension/collectors_cpu_and_wall_time_worker.c +81 -36
  6. data/ext/ddtrace_profiling_native_extension/collectors_idle_sampling_helper.c +3 -3
  7. data/ext/ddtrace_profiling_native_extension/collectors_stack.c +37 -48
  8. data/ext/ddtrace_profiling_native_extension/collectors_stack.h +3 -1
  9. data/ext/ddtrace_profiling_native_extension/{collectors_cpu_and_wall_time.c → collectors_thread_context.c} +222 -143
  10. data/ext/ddtrace_profiling_native_extension/collectors_thread_context.h +14 -0
  11. data/ext/ddtrace_profiling_native_extension/extconf.rb +7 -18
  12. data/ext/ddtrace_profiling_native_extension/http_transport.c +25 -32
  13. data/ext/ddtrace_profiling_native_extension/libdatadog_helpers.h +9 -2
  14. data/ext/ddtrace_profiling_native_extension/native_extension_helpers.rb +9 -9
  15. data/ext/ddtrace_profiling_native_extension/private_vm_api_access.c +7 -121
  16. data/ext/ddtrace_profiling_native_extension/private_vm_api_access.h +1 -1
  17. data/ext/ddtrace_profiling_native_extension/profiling.c +2 -2
  18. data/ext/ddtrace_profiling_native_extension/ruby_helpers.c +2 -2
  19. data/ext/ddtrace_profiling_native_extension/ruby_helpers.h +1 -1
  20. data/ext/ddtrace_profiling_native_extension/stack_recorder.c +125 -21
  21. data/ext/ddtrace_profiling_native_extension/stack_recorder.h +9 -34
  22. data/lib/datadog/appsec/assets/waf_rules/recommended.json +321 -185
  23. data/lib/datadog/appsec/assets/waf_rules/strict.json +59 -2
  24. data/lib/datadog/appsec/assets.rb +0 -2
  25. data/lib/datadog/appsec/autoload.rb +4 -11
  26. data/lib/datadog/appsec/component.rb +41 -0
  27. data/lib/datadog/appsec/configuration/settings.rb +8 -3
  28. data/lib/datadog/appsec/configuration.rb +4 -2
  29. data/lib/datadog/appsec/contrib/auto_instrument.rb +0 -2
  30. data/lib/datadog/appsec/contrib/configuration/settings.rb +0 -2
  31. data/lib/datadog/appsec/contrib/integration.rb +0 -2
  32. data/lib/datadog/appsec/contrib/patcher.rb +0 -2
  33. data/lib/datadog/appsec/contrib/rack/configuration/settings.rb +0 -2
  34. data/lib/datadog/appsec/contrib/rack/ext.rb +0 -2
  35. data/lib/datadog/appsec/contrib/rack/gateway/request.rb +97 -0
  36. data/lib/datadog/appsec/contrib/rack/gateway/response.rb +30 -0
  37. data/lib/datadog/appsec/contrib/rack/gateway/watcher.rb +111 -109
  38. data/lib/datadog/appsec/contrib/rack/integration.rb +0 -2
  39. data/lib/datadog/appsec/contrib/rack/patcher.rb +2 -2
  40. data/lib/datadog/appsec/contrib/rack/reactive/request.rb +18 -21
  41. data/lib/datadog/appsec/contrib/rack/reactive/request_body.rb +10 -11
  42. data/lib/datadog/appsec/contrib/rack/reactive/response.rb +10 -11
  43. data/lib/datadog/appsec/contrib/rack/request_body_middleware.rb +6 -4
  44. data/lib/datadog/appsec/contrib/rack/request_middleware.rb +40 -26
  45. data/lib/datadog/appsec/contrib/rails/configuration/settings.rb +0 -2
  46. data/lib/datadog/appsec/contrib/rails/ext.rb +0 -2
  47. data/lib/datadog/appsec/contrib/rails/framework.rb +0 -2
  48. data/lib/datadog/appsec/contrib/rails/gateway/request.rb +67 -0
  49. data/lib/datadog/appsec/contrib/rails/gateway/watcher.rb +41 -37
  50. data/lib/datadog/appsec/contrib/rails/integration.rb +0 -2
  51. data/lib/datadog/appsec/contrib/rails/patcher.rb +3 -3
  52. data/lib/datadog/appsec/contrib/rails/reactive/action.rb +12 -11
  53. data/lib/datadog/appsec/contrib/rails/request.rb +0 -2
  54. data/lib/datadog/appsec/contrib/rails/request_middleware.rb +0 -2
  55. data/lib/datadog/appsec/contrib/sinatra/configuration/settings.rb +0 -2
  56. data/lib/datadog/appsec/contrib/sinatra/ext.rb +0 -2
  57. data/lib/datadog/appsec/contrib/sinatra/framework.rb +0 -2
  58. data/lib/datadog/appsec/contrib/sinatra/gateway/request.rb +17 -0
  59. data/lib/datadog/appsec/contrib/sinatra/gateway/route_params.rb +23 -0
  60. data/lib/datadog/appsec/contrib/sinatra/gateway/watcher.rb +76 -71
  61. data/lib/datadog/appsec/contrib/sinatra/integration.rb +0 -2
  62. data/lib/datadog/appsec/contrib/sinatra/patcher.rb +12 -4
  63. data/lib/datadog/appsec/contrib/sinatra/reactive/routed.rb +10 -9
  64. data/lib/datadog/appsec/contrib/sinatra/request_middleware.rb +0 -2
  65. data/lib/datadog/appsec/event.rb +4 -8
  66. data/lib/datadog/appsec/ext.rb +9 -0
  67. data/lib/datadog/appsec/extensions.rb +10 -2
  68. data/lib/datadog/appsec/instrumentation/gateway/argument.rb +24 -0
  69. data/lib/datadog/appsec/instrumentation/gateway.rb +11 -5
  70. data/lib/datadog/appsec/instrumentation.rb +9 -0
  71. data/lib/datadog/appsec/monitor/gateway/watcher.rb +86 -0
  72. data/lib/datadog/appsec/monitor/reactive/set_user.rb +61 -0
  73. data/lib/datadog/appsec/monitor.rb +11 -0
  74. data/lib/datadog/appsec/processor.rb +74 -25
  75. data/lib/datadog/appsec/rate_limiter.rb +0 -2
  76. data/lib/datadog/appsec/reactive/address_hash.rb +6 -2
  77. data/lib/datadog/appsec/reactive/engine.rb +10 -7
  78. data/lib/datadog/appsec/reactive/operation.rb +19 -2
  79. data/lib/datadog/appsec/reactive/subscriber.rb +2 -1
  80. data/lib/datadog/appsec/response.rb +0 -2
  81. data/lib/datadog/appsec/utils/http/media_range.rb +0 -2
  82. data/lib/datadog/appsec/utils/http/media_type.rb +0 -2
  83. data/lib/datadog/appsec.rb +20 -2
  84. data/lib/datadog/ci/configuration/components.rb +0 -2
  85. data/lib/datadog/ci/configuration/settings.rb +0 -2
  86. data/lib/datadog/ci/contrib/cucumber/configuration/settings.rb +0 -2
  87. data/lib/datadog/ci/contrib/cucumber/ext.rb +0 -2
  88. data/lib/datadog/ci/contrib/cucumber/formatter.rb +0 -2
  89. data/lib/datadog/ci/contrib/cucumber/instrumentation.rb +0 -2
  90. data/lib/datadog/ci/contrib/cucumber/integration.rb +0 -2
  91. data/lib/datadog/ci/contrib/cucumber/patcher.rb +0 -2
  92. data/lib/datadog/ci/contrib/rspec/configuration/settings.rb +0 -2
  93. data/lib/datadog/ci/contrib/rspec/example.rb +0 -2
  94. data/lib/datadog/ci/contrib/rspec/ext.rb +0 -2
  95. data/lib/datadog/ci/contrib/rspec/integration.rb +0 -2
  96. data/lib/datadog/ci/contrib/rspec/patcher.rb +0 -2
  97. data/lib/datadog/ci/ext/app_types.rb +0 -2
  98. data/lib/datadog/ci/ext/environment.rb +2 -24
  99. data/lib/datadog/ci/ext/settings.rb +0 -2
  100. data/lib/datadog/ci/ext/test.rb +0 -2
  101. data/lib/datadog/ci/extensions.rb +0 -2
  102. data/lib/datadog/ci/flush.rb +0 -2
  103. data/lib/datadog/ci/test.rb +0 -2
  104. data/lib/datadog/ci.rb +0 -2
  105. data/lib/datadog/core/buffer/cruby.rb +0 -2
  106. data/lib/datadog/core/buffer/random.rb +0 -2
  107. data/lib/datadog/core/buffer/thread_safe.rb +0 -2
  108. data/lib/datadog/core/chunker.rb +0 -2
  109. data/lib/datadog/core/configuration/agent_settings_resolver.rb +0 -17
  110. data/lib/datadog/core/configuration/base.rb +0 -2
  111. data/lib/datadog/core/configuration/components.rb +14 -318
  112. data/lib/datadog/core/configuration/dependency_resolver.rb +0 -2
  113. data/lib/datadog/core/configuration/ext.rb +0 -2
  114. data/lib/datadog/core/configuration/option.rb +0 -2
  115. data/lib/datadog/core/configuration/option_definition.rb +0 -2
  116. data/lib/datadog/core/configuration/option_definition_set.rb +0 -2
  117. data/lib/datadog/core/configuration/option_set.rb +0 -2
  118. data/lib/datadog/core/configuration/options.rb +0 -2
  119. data/lib/datadog/core/configuration/settings.rb +14 -5
  120. data/lib/datadog/core/configuration.rb +0 -4
  121. data/lib/datadog/core/diagnostics/environment_logger.rb +0 -2
  122. data/lib/datadog/core/diagnostics/health.rb +0 -2
  123. data/lib/datadog/core/encoding.rb +0 -4
  124. data/lib/datadog/core/environment/cgroup.rb +0 -4
  125. data/lib/datadog/core/environment/class_count.rb +0 -2
  126. data/lib/datadog/core/environment/container.rb +0 -4
  127. data/lib/datadog/core/environment/ext.rb +0 -2
  128. data/lib/datadog/core/environment/gc.rb +0 -2
  129. data/lib/datadog/core/environment/identity.rb +0 -2
  130. data/lib/datadog/core/environment/platform.rb +0 -2
  131. data/lib/datadog/core/environment/socket.rb +0 -2
  132. data/lib/datadog/core/environment/thread_count.rb +0 -2
  133. data/lib/datadog/core/environment/variable_helpers.rb +0 -2
  134. data/lib/datadog/core/environment/vm_cache.rb +17 -2
  135. data/lib/datadog/core/error.rb +0 -2
  136. data/lib/datadog/core/extensions.rb +0 -2
  137. data/lib/datadog/core/git/ext.rb +0 -2
  138. data/lib/datadog/core/logger.rb +0 -2
  139. data/lib/datadog/core/metrics/client.rb +0 -2
  140. data/lib/datadog/core/metrics/ext.rb +0 -2
  141. data/lib/datadog/core/metrics/helpers.rb +0 -2
  142. data/lib/datadog/core/metrics/logging.rb +0 -2
  143. data/lib/datadog/core/metrics/metric.rb +0 -2
  144. data/lib/datadog/core/metrics/options.rb +0 -2
  145. data/lib/datadog/core/pin.rb +0 -2
  146. data/lib/datadog/core/runtime/ext.rb +2 -2
  147. data/lib/datadog/core/runtime/metrics.rb +21 -7
  148. data/lib/datadog/core/telemetry/client.rb +0 -2
  149. data/lib/datadog/core/telemetry/collector.rb +0 -2
  150. data/lib/datadog/core/telemetry/emitter.rb +0 -2
  151. data/lib/datadog/core/telemetry/event.rb +0 -4
  152. data/lib/datadog/core/telemetry/ext.rb +0 -2
  153. data/lib/datadog/core/telemetry/heartbeat.rb +0 -2
  154. data/lib/datadog/core/telemetry/http/adapters/net.rb +0 -2
  155. data/lib/datadog/core/telemetry/http/env.rb +0 -2
  156. data/lib/datadog/core/telemetry/http/response.rb +0 -4
  157. data/lib/datadog/core/telemetry/http/transport.rb +0 -2
  158. data/lib/datadog/core/telemetry/v1/app_event.rb +0 -2
  159. data/lib/datadog/core/utils/compression.rb +0 -2
  160. data/lib/datadog/core/utils/forking.rb +0 -2
  161. data/lib/datadog/core/utils/network.rb +140 -0
  162. data/lib/datadog/core/utils/object_set.rb +0 -2
  163. data/lib/datadog/core/utils/only_once.rb +0 -2
  164. data/lib/datadog/core/utils/safe_dup.rb +0 -2
  165. data/lib/datadog/core/utils/sequence.rb +0 -2
  166. data/lib/datadog/core/utils/string_table.rb +0 -2
  167. data/lib/datadog/core/utils/time.rb +0 -4
  168. data/lib/datadog/core/utils.rb +0 -2
  169. data/lib/datadog/core/vendor/ipaddr.rb +78 -0
  170. data/lib/datadog/core/vendor/multipart-post/multipart/post/composite_read_io.rb +0 -2
  171. data/lib/datadog/core/vendor/multipart-post/multipart/post/multipartable.rb +0 -2
  172. data/lib/datadog/core/vendor/multipart-post/multipart/post/parts.rb +0 -2
  173. data/lib/datadog/core/vendor/multipart-post/multipart/post/version.rb +0 -2
  174. data/lib/datadog/core/vendor/multipart-post/multipart/post.rb +0 -2
  175. data/lib/datadog/core/vendor/multipart-post/multipart.rb +0 -2
  176. data/lib/datadog/core/vendor/multipart-post/net/http/post/multipart.rb +0 -2
  177. data/lib/datadog/core/worker.rb +0 -2
  178. data/lib/datadog/core/workers/async.rb +0 -2
  179. data/lib/datadog/core/workers/interval_loop.rb +0 -2
  180. data/lib/datadog/core/workers/polling.rb +0 -2
  181. data/lib/datadog/core/workers/queue.rb +0 -2
  182. data/lib/datadog/core/workers/runtime_metrics.rb +0 -2
  183. data/lib/datadog/core.rb +0 -1
  184. data/lib/datadog/kit/appsec/events.rb +1 -2
  185. data/lib/datadog/kit/enable_core_dumps.rb +5 -6
  186. data/lib/datadog/kit/identity.rb +7 -1
  187. data/lib/datadog/kit.rb +0 -2
  188. data/lib/datadog/opentelemetry/api/context.rb +0 -1
  189. data/lib/datadog/opentelemetry/api/trace/span.rb +0 -1
  190. data/lib/datadog/opentelemetry/sdk/configurator.rb +0 -1
  191. data/lib/datadog/opentelemetry/sdk/id_generator.rb +0 -1
  192. data/lib/datadog/opentelemetry/sdk/propagator.rb +0 -1
  193. data/lib/datadog/opentelemetry/sdk/span_processor.rb +0 -1
  194. data/lib/datadog/opentelemetry.rb +0 -1
  195. data/lib/datadog/opentracer/binary_propagator.rb +0 -2
  196. data/lib/datadog/opentracer/carrier.rb +0 -2
  197. data/lib/datadog/opentracer/distributed_headers.rb +0 -2
  198. data/lib/datadog/opentracer/global_tracer.rb +0 -2
  199. data/lib/datadog/opentracer/propagator.rb +0 -2
  200. data/lib/datadog/opentracer/rack_propagator.rb +0 -2
  201. data/lib/datadog/opentracer/scope.rb +0 -2
  202. data/lib/datadog/opentracer/scope_manager.rb +0 -2
  203. data/lib/datadog/opentracer/span.rb +0 -2
  204. data/lib/datadog/opentracer/span_context.rb +0 -2
  205. data/lib/datadog/opentracer/span_context_factory.rb +0 -2
  206. data/lib/datadog/opentracer/text_map_propagator.rb +0 -2
  207. data/lib/datadog/opentracer/thread_local_scope.rb +0 -2
  208. data/lib/datadog/opentracer/thread_local_scope_manager.rb +0 -2
  209. data/lib/datadog/opentracer/tracer.rb +0 -2
  210. data/lib/datadog/opentracer.rb +0 -2
  211. data/lib/datadog/profiling/backtrace_location.rb +0 -2
  212. data/lib/datadog/profiling/buffer.rb +0 -2
  213. data/lib/datadog/profiling/collectors/code_provenance.rb +0 -2
  214. data/lib/datadog/profiling/collectors/cpu_and_wall_time_worker.rb +12 -7
  215. data/lib/datadog/profiling/collectors/dynamic_sampling_rate.rb +0 -2
  216. data/lib/datadog/profiling/collectors/idle_sampling_helper.rb +1 -3
  217. data/lib/datadog/profiling/collectors/old_stack.rb +1 -5
  218. data/lib/datadog/profiling/collectors/stack.rb +0 -2
  219. data/lib/datadog/profiling/collectors/{cpu_and_wall_time.rb → thread_context.rb} +8 -5
  220. data/lib/datadog/profiling/component.rb +161 -0
  221. data/lib/datadog/profiling/encoding/profile.rb +0 -2
  222. data/lib/datadog/profiling/event.rb +0 -2
  223. data/lib/datadog/profiling/events/stack.rb +0 -2
  224. data/lib/datadog/profiling/exporter.rb +0 -2
  225. data/lib/datadog/profiling/ext/forking.rb +0 -2
  226. data/lib/datadog/profiling/ext.rb +0 -2
  227. data/lib/datadog/profiling/flush.rb +0 -2
  228. data/lib/datadog/profiling/http_transport.rb +0 -2
  229. data/lib/datadog/profiling/load_native_extension.rb +0 -2
  230. data/lib/datadog/profiling/native_extension.rb +0 -2
  231. data/lib/datadog/profiling/old_recorder.rb +0 -2
  232. data/lib/datadog/profiling/pprof/builder.rb +0 -2
  233. data/lib/datadog/profiling/pprof/converter.rb +0 -2
  234. data/lib/datadog/profiling/pprof/message_set.rb +0 -2
  235. data/lib/datadog/profiling/pprof/payload.rb +0 -2
  236. data/lib/datadog/profiling/pprof/pprof_pb.rb +0 -2
  237. data/lib/datadog/profiling/pprof/stack_sample.rb +0 -2
  238. data/lib/datadog/profiling/pprof/string_table.rb +0 -2
  239. data/lib/datadog/profiling/pprof/template.rb +0 -2
  240. data/lib/datadog/profiling/preload.rb +0 -2
  241. data/lib/datadog/profiling/profiler.rb +0 -2
  242. data/lib/datadog/profiling/scheduler.rb +0 -2
  243. data/lib/datadog/profiling/stack_recorder.rb +3 -8
  244. data/lib/datadog/profiling/tag_builder.rb +0 -2
  245. data/lib/datadog/profiling/tasks/exec.rb +0 -2
  246. data/lib/datadog/profiling/tasks/help.rb +0 -2
  247. data/lib/datadog/profiling/tasks/setup.rb +0 -2
  248. data/lib/datadog/profiling/trace_identifiers/ddtrace.rb +0 -2
  249. data/lib/datadog/profiling/trace_identifiers/helper.rb +0 -2
  250. data/lib/datadog/profiling.rb +44 -7
  251. data/lib/datadog/tracing/analytics.rb +0 -2
  252. data/lib/datadog/tracing/buffer.rb +0 -4
  253. data/lib/datadog/tracing/client_ip.rb +38 -141
  254. data/lib/datadog/tracing/component.rb +176 -0
  255. data/lib/datadog/tracing/configuration/ext.rb +2 -2
  256. data/lib/datadog/tracing/configuration/settings.rb +20 -2
  257. data/lib/datadog/tracing/context.rb +0 -2
  258. data/lib/datadog/tracing/context_provider.rb +0 -2
  259. data/lib/datadog/tracing/contrib/action_cable/configuration/settings.rb +0 -2
  260. data/lib/datadog/tracing/contrib/action_cable/event.rb +0 -2
  261. data/lib/datadog/tracing/contrib/action_cable/events/broadcast.rb +0 -2
  262. data/lib/datadog/tracing/contrib/action_cable/events/perform_action.rb +0 -2
  263. data/lib/datadog/tracing/contrib/action_cable/events/transmit.rb +0 -2
  264. data/lib/datadog/tracing/contrib/action_cable/events.rb +0 -2
  265. data/lib/datadog/tracing/contrib/action_cable/ext.rb +0 -2
  266. data/lib/datadog/tracing/contrib/action_cable/instrumentation.rb +0 -2
  267. data/lib/datadog/tracing/contrib/action_cable/integration.rb +0 -2
  268. data/lib/datadog/tracing/contrib/action_cable/patcher.rb +0 -2
  269. data/lib/datadog/tracing/contrib/action_mailer/configuration/settings.rb +0 -2
  270. data/lib/datadog/tracing/contrib/action_mailer/event.rb +0 -2
  271. data/lib/datadog/tracing/contrib/action_mailer/events/deliver.rb +0 -2
  272. data/lib/datadog/tracing/contrib/action_mailer/events/process.rb +0 -2
  273. data/lib/datadog/tracing/contrib/action_mailer/events.rb +0 -2
  274. data/lib/datadog/tracing/contrib/action_mailer/ext.rb +0 -2
  275. data/lib/datadog/tracing/contrib/action_mailer/integration.rb +0 -2
  276. data/lib/datadog/tracing/contrib/action_mailer/patcher.rb +0 -2
  277. data/lib/datadog/tracing/contrib/action_pack/action_controller/instrumentation.rb +0 -2
  278. data/lib/datadog/tracing/contrib/action_pack/action_controller/patcher.rb +0 -2
  279. data/lib/datadog/tracing/contrib/action_pack/configuration/settings.rb +0 -2
  280. data/lib/datadog/tracing/contrib/action_pack/ext.rb +0 -2
  281. data/lib/datadog/tracing/contrib/action_pack/integration.rb +0 -2
  282. data/lib/datadog/tracing/contrib/action_pack/patcher.rb +0 -2
  283. data/lib/datadog/tracing/contrib/action_pack/utils.rb +0 -2
  284. data/lib/datadog/tracing/contrib/action_view/configuration/settings.rb +0 -2
  285. data/lib/datadog/tracing/contrib/action_view/event.rb +0 -2
  286. data/lib/datadog/tracing/contrib/action_view/events/render_partial.rb +0 -2
  287. data/lib/datadog/tracing/contrib/action_view/events/render_template.rb +0 -2
  288. data/lib/datadog/tracing/contrib/action_view/events.rb +0 -2
  289. data/lib/datadog/tracing/contrib/action_view/ext.rb +0 -2
  290. data/lib/datadog/tracing/contrib/action_view/instrumentation/partial_renderer.rb +0 -2
  291. data/lib/datadog/tracing/contrib/action_view/instrumentation/template_renderer.rb +0 -2
  292. data/lib/datadog/tracing/contrib/action_view/integration.rb +0 -2
  293. data/lib/datadog/tracing/contrib/action_view/patcher.rb +0 -2
  294. data/lib/datadog/tracing/contrib/action_view/utils.rb +0 -2
  295. data/lib/datadog/tracing/contrib/active_job/configuration/settings.rb +0 -2
  296. data/lib/datadog/tracing/contrib/active_job/event.rb +0 -2
  297. data/lib/datadog/tracing/contrib/active_job/events/discard.rb +0 -2
  298. data/lib/datadog/tracing/contrib/active_job/events/enqueue.rb +0 -2
  299. data/lib/datadog/tracing/contrib/active_job/events/enqueue_at.rb +0 -2
  300. data/lib/datadog/tracing/contrib/active_job/events/enqueue_retry.rb +0 -2
  301. data/lib/datadog/tracing/contrib/active_job/events/perform.rb +0 -2
  302. data/lib/datadog/tracing/contrib/active_job/events/retry_stopped.rb +0 -2
  303. data/lib/datadog/tracing/contrib/active_job/events.rb +0 -2
  304. data/lib/datadog/tracing/contrib/active_job/ext.rb +0 -2
  305. data/lib/datadog/tracing/contrib/active_job/integration.rb +0 -2
  306. data/lib/datadog/tracing/contrib/active_job/log_injection.rb +0 -2
  307. data/lib/datadog/tracing/contrib/active_job/patcher.rb +0 -2
  308. data/lib/datadog/tracing/contrib/active_model_serializers/configuration/settings.rb +0 -2
  309. data/lib/datadog/tracing/contrib/active_model_serializers/event.rb +0 -2
  310. data/lib/datadog/tracing/contrib/active_model_serializers/events/render.rb +0 -2
  311. data/lib/datadog/tracing/contrib/active_model_serializers/events/serialize.rb +0 -2
  312. data/lib/datadog/tracing/contrib/active_model_serializers/events.rb +0 -2
  313. data/lib/datadog/tracing/contrib/active_model_serializers/ext.rb +0 -2
  314. data/lib/datadog/tracing/contrib/active_model_serializers/integration.rb +0 -2
  315. data/lib/datadog/tracing/contrib/active_model_serializers/patcher.rb +0 -2
  316. data/lib/datadog/tracing/contrib/active_record/configuration/makara_resolver.rb +0 -2
  317. data/lib/datadog/tracing/contrib/active_record/configuration/resolver.rb +0 -2
  318. data/lib/datadog/tracing/contrib/active_record/configuration/settings.rb +0 -2
  319. data/lib/datadog/tracing/contrib/active_record/event.rb +0 -2
  320. data/lib/datadog/tracing/contrib/active_record/events/instantiation.rb +0 -2
  321. data/lib/datadog/tracing/contrib/active_record/events/sql.rb +0 -2
  322. data/lib/datadog/tracing/contrib/active_record/events.rb +0 -2
  323. data/lib/datadog/tracing/contrib/active_record/ext.rb +0 -2
  324. data/lib/datadog/tracing/contrib/active_record/integration.rb +0 -2
  325. data/lib/datadog/tracing/contrib/active_record/patcher.rb +0 -2
  326. data/lib/datadog/tracing/contrib/active_record/utils.rb +0 -2
  327. data/lib/datadog/tracing/contrib/active_record/vendor/connection_specification.rb +0 -2
  328. data/lib/datadog/tracing/contrib/active_support/cache/instrumentation.rb +0 -2
  329. data/lib/datadog/tracing/contrib/active_support/cache/patcher.rb +0 -2
  330. data/lib/datadog/tracing/contrib/active_support/cache/redis.rb +0 -2
  331. data/lib/datadog/tracing/contrib/active_support/configuration/settings.rb +0 -2
  332. data/lib/datadog/tracing/contrib/active_support/ext.rb +0 -2
  333. data/lib/datadog/tracing/contrib/active_support/integration.rb +0 -2
  334. data/lib/datadog/tracing/contrib/active_support/notifications/event.rb +0 -2
  335. data/lib/datadog/tracing/contrib/active_support/notifications/subscriber.rb +0 -2
  336. data/lib/datadog/tracing/contrib/active_support/notifications/subscription.rb +0 -2
  337. data/lib/datadog/tracing/contrib/active_support/patcher.rb +0 -2
  338. data/lib/datadog/tracing/contrib/analytics.rb +0 -2
  339. data/lib/datadog/tracing/contrib/auto_instrument.rb +0 -2
  340. data/lib/datadog/tracing/contrib/aws/configuration/settings.rb +0 -2
  341. data/lib/datadog/tracing/contrib/aws/ext.rb +0 -2
  342. data/lib/datadog/tracing/contrib/aws/instrumentation.rb +0 -2
  343. data/lib/datadog/tracing/contrib/aws/integration.rb +0 -2
  344. data/lib/datadog/tracing/contrib/aws/parsed_context.rb +0 -2
  345. data/lib/datadog/tracing/contrib/aws/patcher.rb +0 -2
  346. data/lib/datadog/tracing/contrib/aws/services.rb +0 -2
  347. data/lib/datadog/tracing/contrib/concurrent_ruby/configuration/settings.rb +0 -2
  348. data/lib/datadog/tracing/contrib/concurrent_ruby/context_composite_executor_service.rb +0 -2
  349. data/lib/datadog/tracing/contrib/concurrent_ruby/ext.rb +0 -2
  350. data/lib/datadog/tracing/contrib/concurrent_ruby/future_patch.rb +0 -2
  351. data/lib/datadog/tracing/contrib/concurrent_ruby/integration.rb +0 -2
  352. data/lib/datadog/tracing/contrib/concurrent_ruby/patcher.rb +0 -3
  353. data/lib/datadog/tracing/contrib/configurable.rb +0 -2
  354. data/lib/datadog/tracing/contrib/configuration/resolver.rb +0 -2
  355. data/lib/datadog/tracing/contrib/configuration/resolvers/pattern_resolver.rb +0 -2
  356. data/lib/datadog/tracing/contrib/configuration/settings.rb +0 -4
  357. data/lib/datadog/tracing/contrib/dalli/configuration/settings.rb +0 -2
  358. data/lib/datadog/tracing/contrib/dalli/ext.rb +0 -2
  359. data/lib/datadog/tracing/contrib/dalli/instrumentation.rb +2 -2
  360. data/lib/datadog/tracing/contrib/dalli/integration.rb +0 -2
  361. data/lib/datadog/tracing/contrib/dalli/patcher.rb +0 -2
  362. data/lib/datadog/tracing/contrib/dalli/quantize.rb +0 -2
  363. data/lib/datadog/tracing/contrib/delayed_job/configuration/settings.rb +0 -2
  364. data/lib/datadog/tracing/contrib/delayed_job/ext.rb +0 -2
  365. data/lib/datadog/tracing/contrib/delayed_job/integration.rb +0 -2
  366. data/lib/datadog/tracing/contrib/delayed_job/patcher.rb +0 -2
  367. data/lib/datadog/tracing/contrib/delayed_job/plugin.rb +4 -2
  368. data/lib/datadog/tracing/contrib/delayed_job/server_internal_tracer/worker.rb +2 -2
  369. data/lib/datadog/tracing/contrib/elasticsearch/configuration/settings.rb +0 -2
  370. data/lib/datadog/tracing/contrib/elasticsearch/ext.rb +0 -2
  371. data/lib/datadog/tracing/contrib/elasticsearch/integration.rb +0 -2
  372. data/lib/datadog/tracing/contrib/elasticsearch/patcher.rb +3 -4
  373. data/lib/datadog/tracing/contrib/elasticsearch/quantize.rb +0 -4
  374. data/lib/datadog/tracing/contrib/ethon/configuration/settings.rb +0 -2
  375. data/lib/datadog/tracing/contrib/ethon/easy_patch.rb +0 -2
  376. data/lib/datadog/tracing/contrib/ethon/ext.rb +0 -2
  377. data/lib/datadog/tracing/contrib/ethon/integration.rb +0 -2
  378. data/lib/datadog/tracing/contrib/ethon/multi_patch.rb +0 -2
  379. data/lib/datadog/tracing/contrib/ethon/patcher.rb +0 -3
  380. data/lib/datadog/tracing/contrib/excon/configuration/settings.rb +0 -2
  381. data/lib/datadog/tracing/contrib/excon/ext.rb +0 -2
  382. data/lib/datadog/tracing/contrib/excon/integration.rb +0 -2
  383. data/lib/datadog/tracing/contrib/excon/middleware.rb +0 -2
  384. data/lib/datadog/tracing/contrib/excon/patcher.rb +0 -2
  385. data/lib/datadog/tracing/contrib/ext.rb +5 -0
  386. data/lib/datadog/tracing/contrib/extensions.rb +0 -2
  387. data/lib/datadog/tracing/contrib/faraday/configuration/settings.rb +0 -2
  388. data/lib/datadog/tracing/contrib/faraday/connection.rb +0 -2
  389. data/lib/datadog/tracing/contrib/faraday/ext.rb +0 -2
  390. data/lib/datadog/tracing/contrib/faraday/integration.rb +0 -2
  391. data/lib/datadog/tracing/contrib/faraday/middleware.rb +0 -2
  392. data/lib/datadog/tracing/contrib/faraday/patcher.rb +0 -2
  393. data/lib/datadog/tracing/contrib/faraday/rack_builder.rb +0 -2
  394. data/lib/datadog/tracing/contrib/grape/configuration/settings.rb +0 -2
  395. data/lib/datadog/tracing/contrib/grape/endpoint.rb +0 -2
  396. data/lib/datadog/tracing/contrib/grape/ext.rb +0 -2
  397. data/lib/datadog/tracing/contrib/grape/instrumentation.rb +0 -2
  398. data/lib/datadog/tracing/contrib/grape/integration.rb +0 -2
  399. data/lib/datadog/tracing/contrib/grape/patcher.rb +0 -2
  400. data/lib/datadog/tracing/contrib/graphql/configuration/settings.rb +0 -2
  401. data/lib/datadog/tracing/contrib/graphql/ext.rb +0 -2
  402. data/lib/datadog/tracing/contrib/graphql/integration.rb +0 -2
  403. data/lib/datadog/tracing/contrib/graphql/patcher.rb +0 -2
  404. data/lib/datadog/tracing/contrib/grpc/configuration/settings.rb +0 -2
  405. data/lib/datadog/tracing/contrib/grpc/datadog_interceptor/client.rb +0 -2
  406. data/lib/datadog/tracing/contrib/grpc/datadog_interceptor/server.rb +0 -2
  407. data/lib/datadog/tracing/contrib/grpc/datadog_interceptor.rb +0 -2
  408. data/lib/datadog/tracing/contrib/grpc/distributed/fetcher.rb +0 -1
  409. data/lib/datadog/tracing/contrib/grpc/distributed/propagation.rb +0 -1
  410. data/lib/datadog/tracing/contrib/grpc/ext.rb +0 -2
  411. data/lib/datadog/tracing/contrib/grpc/integration.rb +8 -3
  412. data/lib/datadog/tracing/contrib/grpc/intercept_with_datadog.rb +0 -2
  413. data/lib/datadog/tracing/contrib/grpc/patcher.rb +0 -3
  414. data/lib/datadog/tracing/contrib/hanami/action_tracer.rb +0 -2
  415. data/lib/datadog/tracing/contrib/hanami/configuration/settings.rb +0 -2
  416. data/lib/datadog/tracing/contrib/hanami/ext.rb +0 -2
  417. data/lib/datadog/tracing/contrib/hanami/integration.rb +0 -2
  418. data/lib/datadog/tracing/contrib/hanami/patcher.rb +0 -2
  419. data/lib/datadog/tracing/contrib/hanami/plugin.rb +0 -2
  420. data/lib/datadog/tracing/contrib/hanami/renderer_policy_tracing.rb +0 -2
  421. data/lib/datadog/tracing/contrib/hanami/router_tracing.rb +0 -2
  422. data/lib/datadog/tracing/contrib/http/circuit_breaker.rb +0 -2
  423. data/lib/datadog/tracing/contrib/http/configuration/settings.rb +0 -2
  424. data/lib/datadog/tracing/contrib/http/distributed/fetcher.rb +0 -1
  425. data/lib/datadog/tracing/contrib/http/distributed/propagation.rb +0 -1
  426. data/lib/datadog/tracing/contrib/http/ext.rb +0 -2
  427. data/lib/datadog/tracing/contrib/http/instrumentation.rb +0 -2
  428. data/lib/datadog/tracing/contrib/http/integration.rb +0 -2
  429. data/lib/datadog/tracing/contrib/http/patcher.rb +0 -2
  430. data/lib/datadog/tracing/contrib/http_annotation_helper.rb +0 -2
  431. data/lib/datadog/tracing/contrib/httpclient/configuration/settings.rb +0 -2
  432. data/lib/datadog/tracing/contrib/httpclient/ext.rb +0 -2
  433. data/lib/datadog/tracing/contrib/httpclient/instrumentation.rb +0 -2
  434. data/lib/datadog/tracing/contrib/httpclient/integration.rb +0 -2
  435. data/lib/datadog/tracing/contrib/httpclient/patcher.rb +0 -2
  436. data/lib/datadog/tracing/contrib/httprb/configuration/settings.rb +0 -2
  437. data/lib/datadog/tracing/contrib/httprb/ext.rb +0 -2
  438. data/lib/datadog/tracing/contrib/httprb/instrumentation.rb +0 -2
  439. data/lib/datadog/tracing/contrib/httprb/integration.rb +0 -2
  440. data/lib/datadog/tracing/contrib/httprb/patcher.rb +0 -2
  441. data/lib/datadog/tracing/contrib/integration.rb +0 -2
  442. data/lib/datadog/tracing/contrib/kafka/configuration/settings.rb +0 -2
  443. data/lib/datadog/tracing/contrib/kafka/consumer_event.rb +0 -2
  444. data/lib/datadog/tracing/contrib/kafka/consumer_group_event.rb +0 -2
  445. data/lib/datadog/tracing/contrib/kafka/event.rb +1 -2
  446. data/lib/datadog/tracing/contrib/kafka/events/connection/request.rb +0 -2
  447. data/lib/datadog/tracing/contrib/kafka/events/consumer/process_batch.rb +0 -2
  448. data/lib/datadog/tracing/contrib/kafka/events/consumer/process_message.rb +0 -2
  449. data/lib/datadog/tracing/contrib/kafka/events/consumer_group/heartbeat.rb +0 -2
  450. data/lib/datadog/tracing/contrib/kafka/events/consumer_group/join_group.rb +0 -2
  451. data/lib/datadog/tracing/contrib/kafka/events/consumer_group/leave_group.rb +0 -2
  452. data/lib/datadog/tracing/contrib/kafka/events/consumer_group/sync_group.rb +0 -2
  453. data/lib/datadog/tracing/contrib/kafka/events/produce_operation/send_messages.rb +0 -2
  454. data/lib/datadog/tracing/contrib/kafka/events/producer/deliver_messages.rb +0 -2
  455. data/lib/datadog/tracing/contrib/kafka/events.rb +0 -2
  456. data/lib/datadog/tracing/contrib/kafka/ext.rb +1 -2
  457. data/lib/datadog/tracing/contrib/kafka/integration.rb +0 -2
  458. data/lib/datadog/tracing/contrib/kafka/patcher.rb +0 -2
  459. data/lib/datadog/tracing/contrib/lograge/configuration/settings.rb +0 -2
  460. data/lib/datadog/tracing/contrib/lograge/ext.rb +0 -2
  461. data/lib/datadog/tracing/contrib/lograge/instrumentation.rb +0 -2
  462. data/lib/datadog/tracing/contrib/lograge/integration.rb +0 -2
  463. data/lib/datadog/tracing/contrib/lograge/patcher.rb +0 -2
  464. data/lib/datadog/tracing/contrib/mongodb/configuration/settings.rb +0 -2
  465. data/lib/datadog/tracing/contrib/mongodb/ext.rb +0 -2
  466. data/lib/datadog/tracing/contrib/mongodb/instrumentation.rb +0 -2
  467. data/lib/datadog/tracing/contrib/mongodb/integration.rb +0 -2
  468. data/lib/datadog/tracing/contrib/mongodb/parsers.rb +0 -2
  469. data/lib/datadog/tracing/contrib/mongodb/patcher.rb +0 -2
  470. data/lib/datadog/tracing/contrib/mongodb/subscribers.rb +0 -2
  471. data/lib/datadog/tracing/contrib/mysql2/configuration/settings.rb +0 -2
  472. data/lib/datadog/tracing/contrib/mysql2/ext.rb +0 -2
  473. data/lib/datadog/tracing/contrib/mysql2/instrumentation.rb +0 -2
  474. data/lib/datadog/tracing/contrib/mysql2/integration.rb +0 -2
  475. data/lib/datadog/tracing/contrib/mysql2/patcher.rb +0 -2
  476. data/lib/datadog/tracing/contrib/patchable.rb +0 -2
  477. data/lib/datadog/tracing/contrib/patcher.rb +0 -2
  478. data/lib/datadog/tracing/contrib/pg/configuration/settings.rb +0 -2
  479. data/lib/datadog/tracing/contrib/pg/ext.rb +0 -2
  480. data/lib/datadog/tracing/contrib/pg/instrumentation.rb +0 -2
  481. data/lib/datadog/tracing/contrib/pg/integration.rb +0 -2
  482. data/lib/datadog/tracing/contrib/pg/patcher.rb +0 -2
  483. data/lib/datadog/tracing/contrib/presto/configuration/settings.rb +0 -2
  484. data/lib/datadog/tracing/contrib/presto/ext.rb +1 -2
  485. data/lib/datadog/tracing/contrib/presto/instrumentation.rb +3 -2
  486. data/lib/datadog/tracing/contrib/presto/integration.rb +0 -2
  487. data/lib/datadog/tracing/contrib/presto/patcher.rb +0 -2
  488. data/lib/datadog/tracing/contrib/propagation/sql_comment/comment.rb +0 -2
  489. data/lib/datadog/tracing/contrib/propagation/sql_comment/ext.rb +0 -2
  490. data/lib/datadog/tracing/contrib/propagation/sql_comment/mode.rb +0 -2
  491. data/lib/datadog/tracing/contrib/propagation/sql_comment.rb +0 -2
  492. data/lib/datadog/tracing/contrib/qless/configuration/settings.rb +0 -2
  493. data/lib/datadog/tracing/contrib/qless/ext.rb +0 -2
  494. data/lib/datadog/tracing/contrib/qless/integration.rb +0 -2
  495. data/lib/datadog/tracing/contrib/qless/patcher.rb +0 -3
  496. data/lib/datadog/tracing/contrib/qless/qless_job.rb +3 -2
  497. data/lib/datadog/tracing/contrib/qless/tracer_cleaner.rb +0 -2
  498. data/lib/datadog/tracing/contrib/que/configuration/settings.rb +0 -2
  499. data/lib/datadog/tracing/contrib/que/ext.rb +0 -2
  500. data/lib/datadog/tracing/contrib/que/integration.rb +0 -2
  501. data/lib/datadog/tracing/contrib/que/patcher.rb +0 -2
  502. data/lib/datadog/tracing/contrib/que/tracer.rb +2 -2
  503. data/lib/datadog/tracing/contrib/racecar/configuration/settings.rb +0 -2
  504. data/lib/datadog/tracing/contrib/racecar/event.rb +1 -2
  505. data/lib/datadog/tracing/contrib/racecar/events/batch.rb +0 -2
  506. data/lib/datadog/tracing/contrib/racecar/events/consume.rb +0 -2
  507. data/lib/datadog/tracing/contrib/racecar/events/message.rb +0 -2
  508. data/lib/datadog/tracing/contrib/racecar/events.rb +0 -2
  509. data/lib/datadog/tracing/contrib/racecar/ext.rb +1 -2
  510. data/lib/datadog/tracing/contrib/racecar/integration.rb +0 -2
  511. data/lib/datadog/tracing/contrib/racecar/patcher.rb +0 -2
  512. data/lib/datadog/tracing/contrib/rack/configuration/settings.rb +0 -2
  513. data/lib/datadog/tracing/contrib/rack/ext.rb +5 -2
  514. data/lib/datadog/tracing/contrib/rack/integration.rb +0 -2
  515. data/lib/datadog/tracing/contrib/rack/middlewares.rb +42 -18
  516. data/lib/datadog/tracing/contrib/rack/patcher.rb +0 -2
  517. data/lib/datadog/tracing/contrib/rack/request_queue.rb +0 -2
  518. data/lib/datadog/tracing/contrib/rails/auto_instrument_railtie.rb +0 -2
  519. data/lib/datadog/tracing/contrib/rails/configuration/settings.rb +0 -2
  520. data/lib/datadog/tracing/contrib/rails/ext.rb +0 -2
  521. data/lib/datadog/tracing/contrib/rails/framework.rb +0 -2
  522. data/lib/datadog/tracing/contrib/rails/integration.rb +0 -2
  523. data/lib/datadog/tracing/contrib/rails/log_injection.rb +0 -2
  524. data/lib/datadog/tracing/contrib/rails/middlewares.rb +0 -2
  525. data/lib/datadog/tracing/contrib/rails/patcher.rb +0 -2
  526. data/lib/datadog/tracing/contrib/rails/railtie.rb +0 -2
  527. data/lib/datadog/tracing/contrib/rails/utils.rb +0 -2
  528. data/lib/datadog/tracing/contrib/rake/configuration/settings.rb +0 -2
  529. data/lib/datadog/tracing/contrib/rake/ext.rb +0 -2
  530. data/lib/datadog/tracing/contrib/rake/instrumentation.rb +0 -2
  531. data/lib/datadog/tracing/contrib/rake/integration.rb +0 -2
  532. data/lib/datadog/tracing/contrib/rake/patcher.rb +0 -2
  533. data/lib/datadog/tracing/contrib/redis/configuration/resolver.rb +0 -2
  534. data/lib/datadog/tracing/contrib/redis/configuration/settings.rb +0 -2
  535. data/lib/datadog/tracing/contrib/redis/ext.rb +0 -2
  536. data/lib/datadog/tracing/contrib/redis/instrumentation.rb +0 -2
  537. data/lib/datadog/tracing/contrib/redis/integration.rb +0 -2
  538. data/lib/datadog/tracing/contrib/redis/patcher.rb +0 -2
  539. data/lib/datadog/tracing/contrib/redis/quantize.rb +0 -2
  540. data/lib/datadog/tracing/contrib/redis/tags.rb +0 -2
  541. data/lib/datadog/tracing/contrib/redis/trace_middleware.rb +0 -2
  542. data/lib/datadog/tracing/contrib/redis/vendor/resolver.rb +0 -2
  543. data/lib/datadog/tracing/contrib/registerable.rb +0 -2
  544. data/lib/datadog/tracing/contrib/registry.rb +0 -2
  545. data/lib/datadog/tracing/contrib/resque/configuration/settings.rb +0 -2
  546. data/lib/datadog/tracing/contrib/resque/ext.rb +0 -2
  547. data/lib/datadog/tracing/contrib/resque/integration.rb +0 -2
  548. data/lib/datadog/tracing/contrib/resque/patcher.rb +0 -2
  549. data/lib/datadog/tracing/contrib/resque/resque_job.rb +2 -2
  550. data/lib/datadog/tracing/contrib/rest_client/configuration/settings.rb +0 -2
  551. data/lib/datadog/tracing/contrib/rest_client/ext.rb +0 -2
  552. data/lib/datadog/tracing/contrib/rest_client/integration.rb +0 -2
  553. data/lib/datadog/tracing/contrib/rest_client/patcher.rb +0 -3
  554. data/lib/datadog/tracing/contrib/rest_client/request_patch.rb +0 -2
  555. data/lib/datadog/tracing/contrib/semantic_logger/configuration/settings.rb +0 -2
  556. data/lib/datadog/tracing/contrib/semantic_logger/ext.rb +0 -2
  557. data/lib/datadog/tracing/contrib/semantic_logger/instrumentation.rb +0 -2
  558. data/lib/datadog/tracing/contrib/semantic_logger/integration.rb +0 -2
  559. data/lib/datadog/tracing/contrib/semantic_logger/patcher.rb +0 -2
  560. data/lib/datadog/tracing/contrib/sequel/configuration/settings.rb +0 -2
  561. data/lib/datadog/tracing/contrib/sequel/database.rb +0 -2
  562. data/lib/datadog/tracing/contrib/sequel/dataset.rb +0 -2
  563. data/lib/datadog/tracing/contrib/sequel/ext.rb +0 -2
  564. data/lib/datadog/tracing/contrib/sequel/integration.rb +0 -2
  565. data/lib/datadog/tracing/contrib/sequel/patcher.rb +0 -2
  566. data/lib/datadog/tracing/contrib/sequel/utils.rb +0 -2
  567. data/lib/datadog/tracing/contrib/shoryuken/configuration/settings.rb +0 -2
  568. data/lib/datadog/tracing/contrib/shoryuken/ext.rb +1 -2
  569. data/lib/datadog/tracing/contrib/shoryuken/integration.rb +0 -2
  570. data/lib/datadog/tracing/contrib/shoryuken/patcher.rb +0 -2
  571. data/lib/datadog/tracing/contrib/shoryuken/tracer.rb +2 -2
  572. data/lib/datadog/tracing/contrib/sidekiq/client_tracer.rb +2 -2
  573. data/lib/datadog/tracing/contrib/sidekiq/configuration/settings.rb +0 -2
  574. data/lib/datadog/tracing/contrib/sidekiq/ext.rb +0 -2
  575. data/lib/datadog/tracing/contrib/sidekiq/integration.rb +0 -2
  576. data/lib/datadog/tracing/contrib/sidekiq/patcher.rb +0 -2
  577. data/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/heartbeat.rb +4 -2
  578. data/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/job_fetch.rb +2 -2
  579. data/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/redis_info.rb +2 -2
  580. data/lib/datadog/tracing/contrib/sidekiq/server_internal_tracer/scheduled_poller.rb +4 -2
  581. data/lib/datadog/tracing/contrib/sidekiq/server_tracer.rb +2 -2
  582. data/lib/datadog/tracing/contrib/sidekiq/tracing.rb +0 -2
  583. data/lib/datadog/tracing/contrib/sinatra/configuration/settings.rb +0 -2
  584. data/lib/datadog/tracing/contrib/sinatra/env.rb +0 -2
  585. data/lib/datadog/tracing/contrib/sinatra/ext.rb +0 -2
  586. data/lib/datadog/tracing/contrib/sinatra/framework.rb +0 -2
  587. data/lib/datadog/tracing/contrib/sinatra/headers.rb +0 -2
  588. data/lib/datadog/tracing/contrib/sinatra/integration.rb +0 -2
  589. data/lib/datadog/tracing/contrib/sinatra/patcher.rb +0 -3
  590. data/lib/datadog/tracing/contrib/sinatra/tracer.rb +0 -2
  591. data/lib/datadog/tracing/contrib/sinatra/tracer_middleware.rb +0 -2
  592. data/lib/datadog/tracing/contrib/sneakers/configuration/settings.rb +0 -2
  593. data/lib/datadog/tracing/contrib/sneakers/ext.rb +1 -2
  594. data/lib/datadog/tracing/contrib/sneakers/integration.rb +0 -2
  595. data/lib/datadog/tracing/contrib/sneakers/patcher.rb +0 -2
  596. data/lib/datadog/tracing/contrib/sneakers/tracer.rb +3 -2
  597. data/lib/datadog/tracing/contrib/status_code_matcher.rb +0 -2
  598. data/lib/datadog/tracing/contrib/stripe/patcher.rb +0 -1
  599. data/lib/datadog/tracing/contrib/sucker_punch/configuration/settings.rb +0 -2
  600. data/lib/datadog/tracing/contrib/sucker_punch/exception_handler.rb +0 -2
  601. data/lib/datadog/tracing/contrib/sucker_punch/ext.rb +0 -2
  602. data/lib/datadog/tracing/contrib/sucker_punch/instrumentation.rb +0 -2
  603. data/lib/datadog/tracing/contrib/sucker_punch/integration.rb +0 -2
  604. data/lib/datadog/tracing/contrib/sucker_punch/patcher.rb +0 -3
  605. data/lib/datadog/tracing/contrib/utils/database.rb +0 -2
  606. data/lib/datadog/tracing/contrib/utils/quantization/hash.rb +0 -2
  607. data/lib/datadog/tracing/contrib/utils/quantization/http.rb +0 -4
  608. data/lib/datadog/tracing/contrib.rb +0 -2
  609. data/lib/datadog/tracing/correlation.rb +15 -3
  610. data/lib/datadog/tracing/diagnostics/ext.rb +0 -2
  611. data/lib/datadog/tracing/diagnostics/health.rb +0 -2
  612. data/lib/datadog/tracing/distributed/b3_multi.rb +12 -6
  613. data/lib/datadog/tracing/distributed/b3_single.rb +8 -6
  614. data/lib/datadog/tracing/distributed/datadog.rb +58 -11
  615. data/lib/datadog/tracing/distributed/datadog_tags_codec.rb +0 -1
  616. data/lib/datadog/tracing/distributed/fetcher.rb +0 -9
  617. data/lib/datadog/tracing/distributed/headers/ext.rb +0 -1
  618. data/lib/datadog/tracing/distributed/helpers.rb +21 -36
  619. data/lib/datadog/tracing/distributed/none.rb +0 -1
  620. data/lib/datadog/tracing/distributed/propagation.rb +0 -1
  621. data/lib/datadog/tracing/distributed/trace_context.rb +8 -13
  622. data/lib/datadog/tracing/event.rb +0 -2
  623. data/lib/datadog/tracing/flush.rb +0 -2
  624. data/lib/datadog/tracing/metadata/analytics.rb +0 -2
  625. data/lib/datadog/tracing/metadata/errors.rb +0 -2
  626. data/lib/datadog/tracing/metadata/ext.rb +6 -2
  627. data/lib/datadog/tracing/metadata/tagging.rb +0 -2
  628. data/lib/datadog/tracing/metadata.rb +0 -2
  629. data/lib/datadog/tracing/pipeline/span_filter.rb +0 -2
  630. data/lib/datadog/tracing/pipeline/span_processor.rb +0 -2
  631. data/lib/datadog/tracing/pipeline.rb +0 -2
  632. data/lib/datadog/tracing/propagation/http.rb +0 -2
  633. data/lib/datadog/tracing/runtime/metrics.rb +0 -2
  634. data/lib/datadog/tracing/sampling/all_sampler.rb +0 -2
  635. data/lib/datadog/tracing/sampling/ext.rb +0 -2
  636. data/lib/datadog/tracing/sampling/matcher.rb +0 -2
  637. data/lib/datadog/tracing/sampling/priority_sampler.rb +0 -2
  638. data/lib/datadog/tracing/sampling/rate_by_key_sampler.rb +0 -2
  639. data/lib/datadog/tracing/sampling/rate_by_service_sampler.rb +0 -2
  640. data/lib/datadog/tracing/sampling/rate_limiter.rb +0 -2
  641. data/lib/datadog/tracing/sampling/rate_sampler.rb +0 -2
  642. data/lib/datadog/tracing/sampling/rule.rb +0 -2
  643. data/lib/datadog/tracing/sampling/rule_sampler.rb +0 -2
  644. data/lib/datadog/tracing/sampling/sampler.rb +0 -2
  645. data/lib/datadog/tracing/span.rb +0 -2
  646. data/lib/datadog/tracing/span_operation.rb +1 -3
  647. data/lib/datadog/tracing/sync_writer.rb +0 -2
  648. data/lib/datadog/tracing/trace_digest.rb +0 -2
  649. data/lib/datadog/tracing/trace_operation.rb +1 -3
  650. data/lib/datadog/tracing/trace_segment.rb +7 -2
  651. data/lib/datadog/tracing/tracer.rb +0 -2
  652. data/lib/datadog/tracing/utils.rb +33 -2
  653. data/lib/datadog/tracing/workers/trace_writer.rb +0 -2
  654. data/lib/datadog/tracing/workers.rb +0 -2
  655. data/lib/datadog/tracing/writer.rb +0 -2
  656. data/lib/datadog/tracing.rb +0 -2
  657. data/lib/ddtrace/auto_instrument.rb +0 -2
  658. data/lib/ddtrace/auto_instrument_base.rb +0 -2
  659. data/lib/ddtrace/profiling/preload.rb +0 -2
  660. data/lib/ddtrace/transport/ext.rb +0 -2
  661. data/lib/ddtrace/transport/http/adapters/net.rb +0 -2
  662. data/lib/ddtrace/transport/http/adapters/registry.rb +0 -2
  663. data/lib/ddtrace/transport/http/adapters/test.rb +0 -2
  664. data/lib/ddtrace/transport/http/adapters/unix_socket.rb +0 -2
  665. data/lib/ddtrace/transport/http/api/endpoint.rb +0 -2
  666. data/lib/ddtrace/transport/http/api/fallbacks.rb +0 -2
  667. data/lib/ddtrace/transport/http/api/instance.rb +0 -2
  668. data/lib/ddtrace/transport/http/api/map.rb +0 -2
  669. data/lib/ddtrace/transport/http/api/spec.rb +0 -2
  670. data/lib/ddtrace/transport/http/api.rb +0 -2
  671. data/lib/ddtrace/transport/http/builder.rb +0 -2
  672. data/lib/ddtrace/transport/http/client.rb +0 -2
  673. data/lib/ddtrace/transport/http/env.rb +0 -2
  674. data/lib/ddtrace/transport/http/response.rb +0 -2
  675. data/lib/ddtrace/transport/http/statistics.rb +0 -2
  676. data/lib/ddtrace/transport/http/traces.rb +1 -3
  677. data/lib/ddtrace/transport/http.rb +0 -4
  678. data/lib/ddtrace/transport/io/client.rb +0 -2
  679. data/lib/ddtrace/transport/io/response.rb +0 -2
  680. data/lib/ddtrace/transport/io/traces.rb +0 -4
  681. data/lib/ddtrace/transport/io.rb +0 -2
  682. data/lib/ddtrace/transport/parcel.rb +0 -4
  683. data/lib/ddtrace/transport/request.rb +0 -2
  684. data/lib/ddtrace/transport/response.rb +0 -2
  685. data/lib/ddtrace/transport/serializable_trace.rb +9 -5
  686. data/lib/ddtrace/transport/statistics.rb +0 -2
  687. data/lib/ddtrace/transport/trace_formatter.rb +7 -2
  688. data/lib/ddtrace/transport/traces.rb +1 -3
  689. data/lib/ddtrace/version.rb +2 -4
  690. data/lib/ddtrace.rb +1 -5
  691. metadata +26 -13
  692. data/ext/ddtrace_profiling_native_extension/collectors_cpu_and_wall_time.h +0 -9
  693. data/lib/datadog/appsec/assets/waf_rules/risky.json +0 -1499
  694. data/lib/datadog/appsec/contrib/rack/request.rb +0 -78
  695. data/lib/datadog/appsec/contrib/rack/response.rb +0 -24
@@ -1,5 +1,3 @@
1
- # typed: true
2
-
3
1
  module Datadog
4
2
  module Transport
5
3
  module HTTP
@@ -1,5 +1,3 @@
1
- # typed: false
2
-
3
1
  require_relative '../response'
4
2
 
5
3
  module Datadog
@@ -1,5 +1,3 @@
1
- # typed: true
2
-
3
1
  require_relative '../statistics'
4
2
 
5
3
  module Datadog
@@ -1,5 +1,3 @@
1
- # typed: false
2
-
3
1
  require 'json'
4
2
 
5
3
  require_relative '../traces'
@@ -27,7 +25,7 @@ module Datadog
27
25
 
28
26
  # Extensions for HTTP client
29
27
  module Client
30
- def send_payload(request)
28
+ def send_traces_payload(request)
31
29
  send_request(request) do |api, env|
32
30
  api.send_traces(env)
33
31
  end
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # typed: true
4
-
5
3
  require 'uri'
6
4
 
7
5
  require_relative '../../datadog/core/environment/container'
@@ -18,8 +16,6 @@ module Datadog
18
16
  module Transport
19
17
  # Namespace for HTTP transport components
20
18
  module HTTP
21
- include Kernel # Ensure that kernel methods are always available (https://sorbet.org/docs/error-reference#7003)
22
-
23
19
  # NOTE: Due to... legacy reasons... This class likes having a default `AgentSettings` instance to fall back to.
24
20
  # Because we generate this instance with an empty instance of `Settings`, the resulting `AgentSettings` below
25
21
  # represents only settings specified via environment variables + the usual defaults.
@@ -1,5 +1,3 @@
1
- # typed: true
2
-
3
1
  require_relative '../statistics'
4
2
  require_relative 'response'
5
3
 
@@ -1,5 +1,3 @@
1
- # typed: true
2
-
3
1
  require_relative '../response'
4
2
 
5
3
  module Datadog
@@ -1,5 +1,3 @@
1
- # typed: false
2
-
3
1
  require_relative '../traces'
4
2
 
5
3
  require_relative 'response'
@@ -22,8 +20,6 @@ module Datadog
22
20
 
23
21
  # Extensions for HTTP client
24
22
  module Client
25
- include Kernel # Ensure that kernel methods are always available (https://sorbet.org/docs/error-reference#7003)
26
-
27
23
  def send_traces(traces)
28
24
  # Build a request
29
25
  req = Transport::Traces::Request.new(Parcel.new(traces))
@@ -1,5 +1,3 @@
1
- # typed: true
2
-
3
1
  require_relative '../../datadog/core/encoding'
4
2
  require_relative 'io/client'
5
3
  require_relative 'io/traces'
@@ -1,12 +1,8 @@
1
- # typed: true
2
-
3
1
  module Datadog
4
2
  module Transport
5
3
  # Data transfer object for generic data
6
4
  # @abstract
7
5
  module Parcel
8
- include Kernel # Ensure that kernel methods are always available (https://sorbet.org/docs/error-reference#7003)
9
-
10
6
  attr_reader \
11
7
  :data
12
8
 
@@ -1,5 +1,3 @@
1
- # typed: true
2
-
3
1
  module Datadog
4
2
  module Transport
5
3
  # Defines request for transport operations
@@ -1,5 +1,3 @@
1
- # typed: false
2
-
3
1
  module Datadog
4
2
  module Transport
5
3
  # Defines abstract response for transport operations
@@ -1,7 +1,6 @@
1
- # typed: true
2
-
3
1
  require 'json'
4
2
  require 'msgpack'
3
+ require 'datadog/tracing/utils'
5
4
 
6
5
  module Datadog
7
6
  module Transport
@@ -30,7 +29,7 @@ module Datadog
30
29
  # JSON serializer interface.
31
30
  # Used by older version of the transport.
32
31
  def to_json(*args)
33
- trace.spans.map(&:to_hash).to_json(*args)
32
+ trace.spans.map { |s| SerializableSpan.new(s).to_hash }.to_json(*args)
34
33
  end
35
34
  end
36
35
 
@@ -41,6 +40,7 @@ module Datadog
41
40
 
42
41
  def initialize(span)
43
42
  @span = span
43
+ @trace_id = Tracing::Utils::TraceId.to_low_order(span.trace_id)
44
44
  end
45
45
 
46
46
  # MessagePack serializer interface. Making this object
@@ -77,7 +77,7 @@ module Datadog
77
77
  packer.write('parent_id')
78
78
  packer.write(span.parent_id)
79
79
  packer.write('trace_id')
80
- packer.write(span.trace_id)
80
+ packer.write(@trace_id)
81
81
  packer.write('name')
82
82
  packer.write(span.name)
83
83
  packer.write('service')
@@ -99,7 +99,7 @@ module Datadog
99
99
  # JSON serializer interface.
100
100
  # Used by older version of the transport.
101
101
  def to_json(*args)
102
- span.to_hash.to_json(*args)
102
+ to_hash.to_json(*args)
103
103
  end
104
104
 
105
105
  # Used for serialization
@@ -108,6 +108,10 @@ module Datadog
108
108
  time.to_i * 1000000000 + time.nsec
109
109
  end
110
110
 
111
+ def to_hash
112
+ span.to_hash.merge(trace_id: @trace_id)
113
+ end
114
+
111
115
  # Used for serialization
112
116
  # @return [Integer] in nanoseconds since Epoch
113
117
  def duration_nano(duration)
@@ -1,5 +1,3 @@
1
- # typed: true
2
-
3
1
  require_relative '../../datadog/core/metrics/metric'
4
2
  require_relative '../../datadog/core/diagnostics/health'
5
3
 
@@ -1,5 +1,3 @@
1
- # typed: true
2
-
3
1
  require_relative '../../datadog/core/environment/identity'
4
2
  require_relative '../../datadog/core/environment/socket'
5
3
  require_relative '../../datadog/core/runtime/ext'
@@ -49,6 +47,7 @@ module Datadog
49
47
  tag_rate_limiter_rate!
50
48
  tag_sample_rate!
51
49
  tag_sampling_decision_maker!
50
+ tag_high_order_trace_id!
52
51
  tag_sampling_priority!
53
52
 
54
53
  trace
@@ -168,6 +167,12 @@ module Datadog
168
167
  )
169
168
  end
170
169
 
170
+ def tag_high_order_trace_id!
171
+ return unless (high_order_tid = trace.high_order_tid)
172
+
173
+ root_span.set_tag(Tracing::Metadata::Ext::Distributed::TAG_TID, high_order_tid)
174
+ end
175
+
171
176
  private
172
177
 
173
178
  def partial?
@@ -1,5 +1,3 @@
1
- # typed: true
2
-
3
1
  require_relative '../../datadog/core/chunker'
4
2
  require_relative 'parcel'
5
3
  require_relative 'request'
@@ -130,7 +128,7 @@ module Datadog
130
128
  responses = chunker.encode_in_chunks(traces.lazy).map do |encoded_traces, trace_count|
131
129
  request = Request.new(EncodedParcel.new(encoded_traces, trace_count))
132
130
 
133
- client.send_payload(request).tap do |response|
131
+ client.send_traces_payload(request).tap do |response|
134
132
  if downgrade?(response)
135
133
  downgrade!
136
134
  return send_traces(traces)
@@ -1,10 +1,8 @@
1
- # typed: true
2
-
3
1
  module DDTrace
4
2
  module VERSION
5
3
  MAJOR = 1
6
- MINOR = 9
7
- PATCH = 0
4
+ MINOR = 10
5
+ PATCH = 1
8
6
  PRE = nil
9
7
 
10
8
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')
data/lib/ddtrace.rb CHANGED
@@ -1,13 +1,9 @@
1
- # typed: strict
2
-
3
1
  # Load tracing
4
2
  require_relative 'datadog/tracing'
5
3
  require_relative 'datadog/tracing/contrib'
6
4
 
7
- # Load appsec
8
- require_relative 'datadog/appsec/autoload' # TODO: datadog/appsec?
9
-
10
5
  # Load other products (must follow tracing)
11
6
  require_relative 'datadog/profiling'
7
+ require_relative 'datadog/appsec'
12
8
  require_relative 'datadog/ci'
13
9
  require_relative 'datadog/kit'
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: 1.9.0
4
+ version: 1.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Datadog, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-30 00:00:00.000000000 Z
11
+ date: 1980-01-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: msgpack
@@ -50,28 +50,28 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 1.5.1.0.0
53
+ version: 1.6.2.0.0
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 1.5.1.0.0
60
+ version: 1.6.2.0.0
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: libdatadog
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: 1.0.1.1.0
67
+ version: 2.0.0.1.0
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: 1.0.1.1.0
74
+ version: 2.0.0.1.0
75
75
  description: |
76
76
  ddtrace is Datadog's tracing client for Ruby. It is used to trace requests
77
77
  as they flow across web servers, databases and microservices so that developers
@@ -99,8 +99,6 @@ files:
99
99
  - ext/ddtrace_profiling_native_extension/clock_id.h
100
100
  - ext/ddtrace_profiling_native_extension/clock_id_from_pthread.c
101
101
  - ext/ddtrace_profiling_native_extension/clock_id_noop.c
102
- - ext/ddtrace_profiling_native_extension/collectors_cpu_and_wall_time.c
103
- - ext/ddtrace_profiling_native_extension/collectors_cpu_and_wall_time.h
104
102
  - ext/ddtrace_profiling_native_extension/collectors_cpu_and_wall_time_worker.c
105
103
  - ext/ddtrace_profiling_native_extension/collectors_dynamic_sampling_rate.c
106
104
  - ext/ddtrace_profiling_native_extension/collectors_dynamic_sampling_rate.h
@@ -108,6 +106,8 @@ files:
108
106
  - ext/ddtrace_profiling_native_extension/collectors_idle_sampling_helper.h
109
107
  - ext/ddtrace_profiling_native_extension/collectors_stack.c
110
108
  - ext/ddtrace_profiling_native_extension/collectors_stack.h
109
+ - ext/ddtrace_profiling_native_extension/collectors_thread_context.c
110
+ - ext/ddtrace_profiling_native_extension/collectors_thread_context.h
111
111
  - ext/ddtrace_profiling_native_extension/extconf.rb
112
112
  - ext/ddtrace_profiling_native_extension/helpers.h
113
113
  - ext/ddtrace_profiling_native_extension/http_transport.c
@@ -131,9 +131,9 @@ files:
131
131
  - lib/datadog/appsec/assets/blocked.text
132
132
  - lib/datadog/appsec/assets/waf_rules/README.md
133
133
  - lib/datadog/appsec/assets/waf_rules/recommended.json
134
- - lib/datadog/appsec/assets/waf_rules/risky.json
135
134
  - lib/datadog/appsec/assets/waf_rules/strict.json
136
135
  - lib/datadog/appsec/autoload.rb
136
+ - lib/datadog/appsec/component.rb
137
137
  - lib/datadog/appsec/configuration.rb
138
138
  - lib/datadog/appsec/configuration/settings.rb
139
139
  - lib/datadog/appsec/contrib/auto_instrument.rb
@@ -142,19 +142,20 @@ files:
142
142
  - lib/datadog/appsec/contrib/patcher.rb
143
143
  - lib/datadog/appsec/contrib/rack/configuration/settings.rb
144
144
  - lib/datadog/appsec/contrib/rack/ext.rb
145
+ - lib/datadog/appsec/contrib/rack/gateway/request.rb
146
+ - lib/datadog/appsec/contrib/rack/gateway/response.rb
145
147
  - lib/datadog/appsec/contrib/rack/gateway/watcher.rb
146
148
  - lib/datadog/appsec/contrib/rack/integration.rb
147
149
  - lib/datadog/appsec/contrib/rack/patcher.rb
148
150
  - lib/datadog/appsec/contrib/rack/reactive/request.rb
149
151
  - lib/datadog/appsec/contrib/rack/reactive/request_body.rb
150
152
  - lib/datadog/appsec/contrib/rack/reactive/response.rb
151
- - lib/datadog/appsec/contrib/rack/request.rb
152
153
  - lib/datadog/appsec/contrib/rack/request_body_middleware.rb
153
154
  - lib/datadog/appsec/contrib/rack/request_middleware.rb
154
- - lib/datadog/appsec/contrib/rack/response.rb
155
155
  - lib/datadog/appsec/contrib/rails/configuration/settings.rb
156
156
  - lib/datadog/appsec/contrib/rails/ext.rb
157
157
  - lib/datadog/appsec/contrib/rails/framework.rb
158
+ - lib/datadog/appsec/contrib/rails/gateway/request.rb
158
159
  - lib/datadog/appsec/contrib/rails/gateway/watcher.rb
159
160
  - lib/datadog/appsec/contrib/rails/integration.rb
160
161
  - lib/datadog/appsec/contrib/rails/patcher.rb
@@ -164,14 +165,22 @@ files:
164
165
  - lib/datadog/appsec/contrib/sinatra/configuration/settings.rb
165
166
  - lib/datadog/appsec/contrib/sinatra/ext.rb
166
167
  - lib/datadog/appsec/contrib/sinatra/framework.rb
168
+ - lib/datadog/appsec/contrib/sinatra/gateway/request.rb
169
+ - lib/datadog/appsec/contrib/sinatra/gateway/route_params.rb
167
170
  - lib/datadog/appsec/contrib/sinatra/gateway/watcher.rb
168
171
  - lib/datadog/appsec/contrib/sinatra/integration.rb
169
172
  - lib/datadog/appsec/contrib/sinatra/patcher.rb
170
173
  - lib/datadog/appsec/contrib/sinatra/reactive/routed.rb
171
174
  - lib/datadog/appsec/contrib/sinatra/request_middleware.rb
172
175
  - lib/datadog/appsec/event.rb
176
+ - lib/datadog/appsec/ext.rb
173
177
  - lib/datadog/appsec/extensions.rb
178
+ - lib/datadog/appsec/instrumentation.rb
174
179
  - lib/datadog/appsec/instrumentation/gateway.rb
180
+ - lib/datadog/appsec/instrumentation/gateway/argument.rb
181
+ - lib/datadog/appsec/monitor.rb
182
+ - lib/datadog/appsec/monitor/gateway/watcher.rb
183
+ - lib/datadog/appsec/monitor/reactive/set_user.rb
175
184
  - lib/datadog/appsec/processor.rb
176
185
  - lib/datadog/appsec/rate_limiter.rb
177
186
  - lib/datadog/appsec/reactive/address_hash.rb
@@ -272,12 +281,14 @@ files:
272
281
  - lib/datadog/core/utils.rb
273
282
  - lib/datadog/core/utils/compression.rb
274
283
  - lib/datadog/core/utils/forking.rb
284
+ - lib/datadog/core/utils/network.rb
275
285
  - lib/datadog/core/utils/object_set.rb
276
286
  - lib/datadog/core/utils/only_once.rb
277
287
  - lib/datadog/core/utils/safe_dup.rb
278
288
  - lib/datadog/core/utils/sequence.rb
279
289
  - lib/datadog/core/utils/string_table.rb
280
290
  - lib/datadog/core/utils/time.rb
291
+ - lib/datadog/core/vendor/ipaddr.rb
281
292
  - lib/datadog/core/vendor/multipart-post/LICENSE
282
293
  - lib/datadog/core/vendor/multipart-post/multipart.rb
283
294
  - lib/datadog/core/vendor/multipart-post/multipart/post.rb
@@ -323,12 +334,13 @@ files:
323
334
  - lib/datadog/profiling/backtrace_location.rb
324
335
  - lib/datadog/profiling/buffer.rb
325
336
  - lib/datadog/profiling/collectors/code_provenance.rb
326
- - lib/datadog/profiling/collectors/cpu_and_wall_time.rb
327
337
  - lib/datadog/profiling/collectors/cpu_and_wall_time_worker.rb
328
338
  - lib/datadog/profiling/collectors/dynamic_sampling_rate.rb
329
339
  - lib/datadog/profiling/collectors/idle_sampling_helper.rb
330
340
  - lib/datadog/profiling/collectors/old_stack.rb
331
341
  - lib/datadog/profiling/collectors/stack.rb
342
+ - lib/datadog/profiling/collectors/thread_context.rb
343
+ - lib/datadog/profiling/component.rb
332
344
  - lib/datadog/profiling/encoding/profile.rb
333
345
  - lib/datadog/profiling/event.rb
334
346
  - lib/datadog/profiling/events/stack.rb
@@ -363,6 +375,7 @@ files:
363
375
  - lib/datadog/tracing/analytics.rb
364
376
  - lib/datadog/tracing/buffer.rb
365
377
  - lib/datadog/tracing/client_ip.rb
378
+ - lib/datadog/tracing/component.rb
366
379
  - lib/datadog/tracing/configuration/ext.rb
367
380
  - lib/datadog/tracing/configuration/settings.rb
368
381
  - lib/datadog/tracing/context.rb
@@ -833,7 +846,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
833
846
  - !ruby/object:Gem::Version
834
847
  version: 2.0.0
835
848
  requirements: []
836
- rubygems_version: 3.3.26
849
+ rubygems_version: 3.3.20
837
850
  signing_key:
838
851
  specification_version: 4
839
852
  summary: Datadog tracing code for your Ruby applications
@@ -1,9 +0,0 @@
1
- #pragma once
2
-
3
- #include <ruby.h>
4
-
5
- void cpu_and_wall_time_collector_sample(VALUE self_instance, long current_monotonic_wall_time_ns);
6
- VALUE cpu_and_wall_time_collector_sample_after_gc(VALUE self_instance);
7
- void cpu_and_wall_time_collector_on_gc_start(VALUE self_instance);
8
- void cpu_and_wall_time_collector_on_gc_finish(VALUE self_instance);
9
- VALUE enforce_cpu_and_wall_time_collector_instance(VALUE object);