ddtrace 1.12.1 → 1.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +129 -9
- data/ext/ddtrace_profiling_native_extension/collectors_thread_context.c +97 -14
- data/ext/ddtrace_profiling_native_extension/extconf.rb +6 -0
- data/ext/ddtrace_profiling_native_extension/http_transport.c +19 -6
- data/ext/ddtrace_profiling_native_extension/native_extension_helpers.rb +1 -1
- data/ext/ddtrace_profiling_native_extension/private_vm_api_access.c +41 -2
- data/ext/ddtrace_profiling_native_extension/private_vm_api_access.h +6 -0
- data/ext/ddtrace_profiling_native_extension/stack_recorder.c +6 -10
- data/ext/ddtrace_profiling_native_extension/time_helpers.c +40 -4
- data/ext/ddtrace_profiling_native_extension/time_helpers.h +14 -0
- data/lib/datadog/appsec/component.rb +9 -0
- data/lib/datadog/appsec/configuration/settings.rb +104 -195
- data/lib/datadog/appsec/configuration.rb +0 -79
- data/lib/datadog/appsec/contrib/auto_instrument.rb +2 -4
- data/lib/datadog/appsec/contrib/devise/event.rb +57 -0
- data/lib/datadog/appsec/contrib/devise/ext.rb +13 -0
- data/lib/datadog/appsec/contrib/devise/integration.rb +42 -0
- data/lib/datadog/appsec/contrib/devise/patcher/authenticatable_patch.rb +76 -0
- data/lib/datadog/appsec/contrib/devise/patcher/registration_controller_patch.rb +52 -0
- data/lib/datadog/appsec/contrib/devise/patcher.rb +45 -0
- data/lib/datadog/appsec/contrib/devise/resource.rb +35 -0
- data/lib/datadog/appsec/contrib/devise/tracking.rb +49 -0
- data/lib/datadog/appsec/contrib/rack/ext.rb +2 -1
- data/lib/datadog/appsec/contrib/rack/reactive/request.rb +1 -1
- data/lib/datadog/appsec/contrib/rack/reactive/request_body.rb +1 -1
- data/lib/datadog/appsec/contrib/rack/reactive/response.rb +1 -1
- data/lib/datadog/appsec/contrib/rack/request_middleware.rb +12 -7
- data/lib/datadog/appsec/contrib/rails/ext.rb +3 -2
- data/lib/datadog/appsec/contrib/rails/framework.rb +1 -3
- data/lib/datadog/appsec/contrib/rails/patcher.rb +8 -8
- data/lib/datadog/appsec/contrib/rails/reactive/action.rb +1 -1
- data/lib/datadog/appsec/contrib/sinatra/ext.rb +2 -1
- data/lib/datadog/appsec/contrib/sinatra/framework.rb +1 -3
- data/lib/datadog/appsec/contrib/sinatra/reactive/routed.rb +1 -1
- data/lib/datadog/appsec/event.rb +1 -1
- data/lib/datadog/appsec/extensions.rb +1 -130
- data/lib/datadog/appsec/monitor/reactive/set_user.rb +1 -1
- data/lib/datadog/appsec/processor.rb +1 -1
- data/lib/datadog/appsec/rate_limiter.rb +1 -1
- data/lib/datadog/appsec/remote.rb +1 -1
- data/lib/datadog/appsec.rb +1 -2
- data/lib/datadog/ci/configuration/settings.rb +6 -8
- data/lib/datadog/ci/contrib/cucumber/configuration/settings.rb +7 -5
- data/lib/datadog/ci/contrib/cucumber/ext.rb +10 -8
- data/lib/datadog/ci/contrib/minitest/configuration/settings.rb +35 -0
- data/lib/datadog/ci/contrib/minitest/ext.rb +21 -0
- data/lib/datadog/ci/contrib/minitest/integration.rb +49 -0
- data/lib/datadog/ci/contrib/minitest/patcher.rb +27 -0
- data/lib/datadog/ci/contrib/minitest/test_helper.rb +68 -0
- data/lib/datadog/ci/contrib/rspec/configuration/settings.rb +7 -5
- data/lib/datadog/ci/contrib/rspec/ext.rb +9 -7
- data/lib/datadog/ci.rb +1 -0
- data/lib/datadog/core/backport.rb +51 -0
- data/lib/datadog/core/configuration/agent_settings_resolver.rb +9 -5
- data/lib/datadog/core/configuration/base.rb +5 -5
- data/lib/datadog/core/configuration/components.rb +6 -1
- data/lib/datadog/core/configuration/ext.rb +7 -5
- data/lib/datadog/core/configuration/option.rb +269 -19
- data/lib/datadog/core/configuration/option_definition.rb +76 -11
- data/lib/datadog/core/configuration/options.rb +22 -10
- data/lib/datadog/core/configuration/settings.rb +139 -61
- data/lib/datadog/core/environment/execution.rb +55 -0
- data/lib/datadog/core/environment/ext.rb +13 -11
- data/lib/datadog/core/environment/yjit.rb +58 -0
- data/lib/datadog/core/git/ext.rb +24 -22
- data/lib/datadog/core/logging/ext.rb +3 -1
- data/lib/datadog/core/metrics/ext.rb +7 -5
- data/lib/datadog/core/remote/client/capabilities.rb +5 -0
- data/lib/datadog/core/remote/client.rb +3 -0
- data/lib/datadog/core/remote/component.rb +25 -34
- data/lib/datadog/core/remote/configuration/content.rb +28 -1
- data/lib/datadog/core/remote/configuration/repository.rb +3 -1
- data/lib/datadog/core/remote/ext.rb +1 -1
- data/lib/datadog/core/remote/negotiation.rb +17 -4
- data/lib/datadog/core/runtime/ext.rb +22 -12
- data/lib/datadog/core/runtime/metrics.rb +43 -0
- data/lib/datadog/core/telemetry/client.rb +12 -2
- data/lib/datadog/core/telemetry/emitter.rb +4 -2
- data/lib/datadog/core/telemetry/event.rb +19 -4
- data/lib/datadog/core/telemetry/ext.rb +4 -1
- data/lib/datadog/core/telemetry/heartbeat.rb +2 -4
- data/lib/datadog/core/telemetry/http/ext.rb +10 -8
- data/lib/datadog/core/telemetry/http/transport.rb +1 -0
- data/lib/datadog/core/telemetry/v2/app_client_configuration_change.rb +41 -0
- data/lib/datadog/core/telemetry/v2/request.rb +29 -0
- data/lib/datadog/core/transport/http/client.rb +1 -1
- data/lib/datadog/core/transport/http/config.rb +10 -0
- data/lib/datadog/core/utils/duration.rb +52 -0
- data/lib/datadog/core/utils/hash.rb +47 -0
- data/lib/datadog/core/utils/network.rb +1 -1
- data/lib/datadog/core/utils/safe_dup.rb +27 -20
- data/lib/datadog/core/utils.rb +1 -1
- data/lib/datadog/core/workers/async.rb +2 -2
- data/lib/datadog/kit/appsec/events.rb +139 -89
- data/lib/datadog/kit/identity.rb +80 -65
- data/lib/datadog/profiling/collectors/cpu_and_wall_time_worker.rb +3 -0
- data/lib/datadog/profiling/collectors/idle_sampling_helper.rb +1 -0
- data/lib/datadog/profiling/collectors/thread_context.rb +9 -2
- data/lib/datadog/profiling/component.rb +41 -9
- data/lib/datadog/profiling/exporter.rb +5 -1
- data/lib/datadog/profiling/flush.rb +9 -2
- data/lib/datadog/profiling/http_transport.rb +13 -3
- data/lib/datadog/profiling/load_native_extension.rb +7 -1
- data/lib/datadog/profiling.rb +11 -1
- data/lib/datadog/tracing/component.rb +58 -6
- data/lib/datadog/tracing/configuration/dynamic/option.rb +71 -0
- data/lib/datadog/tracing/configuration/dynamic.rb +64 -0
- data/lib/datadog/tracing/configuration/ext.rb +35 -32
- data/lib/datadog/tracing/configuration/http.rb +74 -0
- data/lib/datadog/tracing/configuration/settings.rb +106 -92
- data/lib/datadog/tracing/contrib/action_cable/configuration/settings.rb +9 -6
- data/lib/datadog/tracing/contrib/action_cable/ext.rb +20 -18
- data/lib/datadog/tracing/contrib/action_mailer/configuration/settings.rb +9 -6
- data/lib/datadog/tracing/contrib/action_mailer/ext.rb +20 -18
- data/lib/datadog/tracing/contrib/action_pack/configuration/settings.rb +8 -6
- data/lib/datadog/tracing/contrib/action_pack/ext.rb +10 -8
- data/lib/datadog/tracing/contrib/action_view/configuration/settings.rb +9 -6
- data/lib/datadog/tracing/contrib/action_view/ext.rb +12 -10
- data/lib/datadog/tracing/contrib/active_job/configuration/settings.rb +13 -7
- data/lib/datadog/tracing/contrib/active_job/ext.rb +25 -23
- data/lib/datadog/tracing/contrib/active_job/log_injection.rb +1 -1
- data/lib/datadog/tracing/contrib/active_job/patcher.rb +1 -1
- data/lib/datadog/tracing/contrib/active_model_serializers/configuration/settings.rb +9 -6
- data/lib/datadog/tracing/contrib/active_model_serializers/ext.rb +12 -10
- data/lib/datadog/tracing/contrib/active_record/configuration/settings.rb +9 -7
- data/lib/datadog/tracing/contrib/active_record/events/sql.rb +0 -8
- data/lib/datadog/tracing/contrib/active_record/ext.rb +17 -15
- data/lib/datadog/tracing/contrib/active_support/cache/instrumentation.rb +0 -5
- data/lib/datadog/tracing/contrib/active_support/configuration/settings.rb +9 -7
- data/lib/datadog/tracing/contrib/active_support/ext.rb +18 -16
- data/lib/datadog/tracing/contrib/aws/configuration/settings.rb +14 -7
- data/lib/datadog/tracing/contrib/aws/ext.rb +37 -24
- data/lib/datadog/tracing/contrib/aws/instrumentation.rb +9 -5
- data/lib/datadog/tracing/contrib/concurrent_ruby/configuration/settings.rb +3 -2
- data/lib/datadog/tracing/contrib/concurrent_ruby/ext.rb +4 -2
- data/lib/datadog/tracing/contrib/dalli/configuration/settings.rb +14 -7
- data/lib/datadog/tracing/contrib/dalli/ext.rb +19 -11
- data/lib/datadog/tracing/contrib/dalli/instrumentation.rb +8 -6
- data/lib/datadog/tracing/contrib/delayed_job/configuration/settings.rb +13 -7
- data/lib/datadog/tracing/contrib/delayed_job/ext.rb +16 -14
- data/lib/datadog/tracing/contrib/elasticsearch/configuration/settings.rb +14 -7
- data/lib/datadog/tracing/contrib/elasticsearch/ext.rb +21 -15
- data/lib/datadog/tracing/contrib/elasticsearch/patcher.rb +8 -5
- data/lib/datadog/tracing/contrib/ethon/configuration/settings.rb +16 -9
- data/lib/datadog/tracing/contrib/ethon/easy_patch.rb +43 -3
- data/lib/datadog/tracing/contrib/ethon/ext.rb +19 -11
- data/lib/datadog/tracing/contrib/ethon/multi_patch.rb +0 -5
- data/lib/datadog/tracing/contrib/excon/configuration/settings.rb +19 -10
- data/lib/datadog/tracing/contrib/excon/ext.rb +16 -8
- data/lib/datadog/tracing/contrib/excon/middleware.rb +20 -5
- data/lib/datadog/tracing/contrib/ext.rb +23 -1
- data/lib/datadog/tracing/contrib/extensions.rb +32 -0
- data/lib/datadog/tracing/contrib/faraday/configuration/settings.rb +20 -10
- data/lib/datadog/tracing/contrib/faraday/ext.rb +16 -8
- data/lib/datadog/tracing/contrib/faraday/middleware.rb +16 -5
- data/lib/datadog/tracing/contrib/grape/configuration/settings.rb +8 -6
- data/lib/datadog/tracing/contrib/grape/ext.rb +16 -14
- data/lib/datadog/tracing/contrib/graphql/configuration/settings.rb +8 -6
- data/lib/datadog/tracing/contrib/graphql/ext.rb +7 -5
- data/lib/datadog/tracing/contrib/grpc/configuration/settings.rb +19 -9
- data/lib/datadog/tracing/contrib/grpc/datadog_interceptor/client.rb +29 -20
- data/lib/datadog/tracing/contrib/grpc/datadog_interceptor/server.rb +21 -20
- data/lib/datadog/tracing/contrib/grpc/ext.rb +16 -13
- data/lib/datadog/tracing/contrib/grpc/formatting.rb +127 -0
- data/lib/datadog/tracing/contrib/hanami/configuration/settings.rb +3 -2
- data/lib/datadog/tracing/contrib/hanami/ext.rb +10 -8
- data/lib/datadog/tracing/contrib/http/circuit_breaker.rb +4 -7
- data/lib/datadog/tracing/contrib/http/configuration/settings.rb +33 -11
- data/lib/datadog/tracing/contrib/http/ext.rb +16 -9
- data/lib/datadog/tracing/contrib/http/instrumentation.rb +22 -7
- data/lib/datadog/tracing/contrib/httpclient/configuration/settings.rb +33 -11
- data/lib/datadog/tracing/contrib/httpclient/ext.rb +17 -9
- data/lib/datadog/tracing/contrib/httpclient/instrumentation.rb +17 -5
- data/lib/datadog/tracing/contrib/httprb/configuration/settings.rb +33 -11
- data/lib/datadog/tracing/contrib/httprb/ext.rb +16 -9
- data/lib/datadog/tracing/contrib/httprb/instrumentation.rb +17 -5
- data/lib/datadog/tracing/contrib/kafka/configuration/settings.rb +9 -6
- data/lib/datadog/tracing/contrib/kafka/ext.rb +42 -39
- data/lib/datadog/tracing/contrib/lograge/configuration/settings.rb +3 -2
- data/lib/datadog/tracing/contrib/lograge/ext.rb +3 -1
- data/lib/datadog/tracing/contrib/lograge/instrumentation.rb +1 -0
- data/lib/datadog/tracing/contrib/mongodb/configuration/settings.rb +14 -7
- data/lib/datadog/tracing/contrib/mongodb/ext.rb +20 -16
- data/lib/datadog/tracing/contrib/mongodb/subscribers.rb +9 -5
- data/lib/datadog/tracing/contrib/mysql2/configuration/settings.rb +17 -14
- data/lib/datadog/tracing/contrib/mysql2/ext.rb +15 -10
- data/lib/datadog/tracing/contrib/mysql2/instrumentation.rb +9 -5
- data/lib/datadog/tracing/contrib/opensearch/configuration/settings.rb +52 -0
- data/lib/datadog/tracing/contrib/opensearch/ext.rb +37 -0
- data/lib/datadog/tracing/contrib/opensearch/integration.rb +44 -0
- data/lib/datadog/tracing/contrib/opensearch/patcher.rb +128 -0
- data/lib/datadog/tracing/contrib/opensearch/quantize.rb +81 -0
- data/lib/datadog/tracing/contrib/pg/configuration/settings.rb +17 -14
- data/lib/datadog/tracing/contrib/pg/ext.rb +22 -19
- data/lib/datadog/tracing/contrib/pg/instrumentation.rb +9 -5
- data/lib/datadog/tracing/contrib/presto/configuration/settings.rb +14 -7
- data/lib/datadog/tracing/contrib/presto/ext.rb +25 -20
- data/lib/datadog/tracing/contrib/presto/instrumentation.rb +9 -5
- data/lib/datadog/tracing/contrib/propagation/sql_comment/ext.rb +12 -10
- data/lib/datadog/tracing/contrib/qless/configuration/settings.rb +12 -8
- data/lib/datadog/tracing/contrib/qless/ext.rb +14 -12
- data/lib/datadog/tracing/contrib/que/configuration/settings.rb +21 -12
- data/lib/datadog/tracing/contrib/racecar/configuration/settings.rb +9 -7
- data/lib/datadog/tracing/contrib/racecar/event.rb +0 -5
- data/lib/datadog/tracing/contrib/racecar/ext.rb +20 -18
- data/lib/datadog/tracing/contrib/rack/configuration/settings.rb +16 -12
- data/lib/datadog/tracing/contrib/rack/ext.rb +18 -16
- data/lib/datadog/tracing/contrib/rack/header_collection.rb +3 -0
- data/lib/datadog/tracing/contrib/rack/header_tagging.rb +53 -0
- data/lib/datadog/tracing/contrib/rack/middlewares.rb +8 -49
- data/lib/datadog/tracing/contrib/rails/configuration/settings.rb +15 -11
- data/lib/datadog/tracing/contrib/rails/ext.rb +7 -5
- data/lib/datadog/tracing/contrib/rails/log_injection.rb +7 -10
- data/lib/datadog/tracing/contrib/rails/patcher.rb +10 -41
- data/lib/datadog/tracing/contrib/rails/railtie.rb +3 -3
- data/lib/datadog/tracing/contrib/rake/configuration/settings.rb +12 -9
- data/lib/datadog/tracing/contrib/rake/ext.rb +14 -12
- data/lib/datadog/tracing/contrib/redis/configuration/settings.rb +17 -9
- data/lib/datadog/tracing/contrib/redis/ext.rb +22 -15
- data/lib/datadog/tracing/contrib/redis/tags.rb +9 -5
- data/lib/datadog/tracing/contrib/resque/configuration/settings.rb +13 -7
- data/lib/datadog/tracing/contrib/resque/ext.rb +9 -7
- data/lib/datadog/tracing/contrib/rest_client/configuration/settings.rb +16 -9
- data/lib/datadog/tracing/contrib/rest_client/ext.rb +15 -8
- data/lib/datadog/tracing/contrib/rest_client/request_patch.rb +20 -5
- data/lib/datadog/tracing/contrib/roda/configuration/settings.rb +9 -6
- data/lib/datadog/tracing/contrib/semantic_logger/configuration/settings.rb +3 -2
- data/lib/datadog/tracing/contrib/semantic_logger/ext.rb +3 -1
- data/lib/datadog/tracing/contrib/semantic_logger/instrumentation.rb +1 -0
- data/lib/datadog/tracing/contrib/sequel/configuration/settings.rb +9 -6
- data/lib/datadog/tracing/contrib/sequel/ext.rb +10 -8
- data/lib/datadog/tracing/contrib/sequel/utils.rb +2 -7
- data/lib/datadog/tracing/contrib/shoryuken/configuration/settings.rb +14 -8
- data/lib/datadog/tracing/contrib/shoryuken/ext.rb +14 -12
- data/lib/datadog/tracing/contrib/sidekiq/configuration/settings.rb +18 -11
- data/lib/datadog/tracing/contrib/sidekiq/ext.rb +32 -30
- data/lib/datadog/tracing/contrib/sinatra/configuration/settings.rb +11 -9
- data/lib/datadog/tracing/contrib/sinatra/env.rb +0 -17
- data/lib/datadog/tracing/contrib/sinatra/ext.rb +21 -19
- data/lib/datadog/tracing/contrib/sinatra/tracer_middleware.rb +3 -14
- data/lib/datadog/tracing/contrib/sneakers/configuration/settings.rb +14 -8
- data/lib/datadog/tracing/contrib/sneakers/ext.rb +1 -0
- data/lib/datadog/tracing/contrib/sneakers/tracer.rb +1 -1
- data/lib/datadog/tracing/contrib/span_attribute_schema.rb +74 -10
- data/lib/datadog/tracing/contrib/stripe/configuration/settings.rb +9 -6
- data/lib/datadog/tracing/contrib/sucker_punch/configuration/settings.rb +9 -6
- data/lib/datadog/tracing/contrib/sucker_punch/ext.rb +15 -13
- data/lib/datadog/tracing/contrib/utils/database.rb +5 -3
- data/lib/datadog/tracing/contrib.rb +1 -0
- data/lib/datadog/tracing/correlation.rb +9 -12
- data/lib/datadog/tracing/diagnostics/ext.rb +21 -19
- data/lib/datadog/tracing/distributed/b3_multi.rb +2 -2
- data/lib/datadog/tracing/distributed/b3_single.rb +1 -1
- data/lib/datadog/tracing/distributed/trace_context.rb +52 -17
- data/lib/datadog/tracing/metadata/ext.rb +9 -6
- data/lib/datadog/tracing/remote.rb +78 -0
- data/lib/datadog/tracing/sampling/rule_sampler.rb +29 -0
- data/lib/datadog/tracing/span_operation.rb +3 -15
- data/lib/datadog/tracing/trace_operation.rb +16 -3
- data/lib/datadog/tracing/trace_segment.rb +5 -2
- data/lib/datadog/tracing/tracer.rb +10 -1
- data/lib/ddtrace/transport/ext.rb +15 -9
- data/lib/ddtrace/transport/trace_formatter.rb +9 -0
- data/lib/ddtrace/version.rb +8 -11
- metadata +36 -7
- data/lib/datadog/tracing/contrib/sinatra/headers.rb +0 -35
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.
|
4
|
+
version: 1.13.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-
|
11
|
+
date: 2023-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 3.0.0.1.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 3.0.0.1.0
|
69
69
|
description: |
|
70
70
|
ddtrace is Datadog's tracing client for Ruby. It is used to trace requests
|
71
71
|
as they flow across web servers, databases and microservices so that developers
|
@@ -131,6 +131,14 @@ files:
|
|
131
131
|
- lib/datadog/appsec/configuration.rb
|
132
132
|
- lib/datadog/appsec/configuration/settings.rb
|
133
133
|
- lib/datadog/appsec/contrib/auto_instrument.rb
|
134
|
+
- lib/datadog/appsec/contrib/devise/event.rb
|
135
|
+
- lib/datadog/appsec/contrib/devise/ext.rb
|
136
|
+
- lib/datadog/appsec/contrib/devise/integration.rb
|
137
|
+
- lib/datadog/appsec/contrib/devise/patcher.rb
|
138
|
+
- lib/datadog/appsec/contrib/devise/patcher/authenticatable_patch.rb
|
139
|
+
- lib/datadog/appsec/contrib/devise/patcher/registration_controller_patch.rb
|
140
|
+
- lib/datadog/appsec/contrib/devise/resource.rb
|
141
|
+
- lib/datadog/appsec/contrib/devise/tracking.rb
|
134
142
|
- lib/datadog/appsec/contrib/integration.rb
|
135
143
|
- lib/datadog/appsec/contrib/patcher.rb
|
136
144
|
- lib/datadog/appsec/contrib/rack/ext.rb
|
@@ -195,6 +203,11 @@ files:
|
|
195
203
|
- lib/datadog/ci/contrib/cucumber/instrumentation.rb
|
196
204
|
- lib/datadog/ci/contrib/cucumber/integration.rb
|
197
205
|
- lib/datadog/ci/contrib/cucumber/patcher.rb
|
206
|
+
- lib/datadog/ci/contrib/minitest/configuration/settings.rb
|
207
|
+
- lib/datadog/ci/contrib/minitest/ext.rb
|
208
|
+
- lib/datadog/ci/contrib/minitest/integration.rb
|
209
|
+
- lib/datadog/ci/contrib/minitest/patcher.rb
|
210
|
+
- lib/datadog/ci/contrib/minitest/test_helper.rb
|
198
211
|
- lib/datadog/ci/contrib/rspec/configuration/settings.rb
|
199
212
|
- lib/datadog/ci/contrib/rspec/example.rb
|
200
213
|
- lib/datadog/ci/contrib/rspec/ext.rb
|
@@ -208,6 +221,7 @@ files:
|
|
208
221
|
- lib/datadog/ci/flush.rb
|
209
222
|
- lib/datadog/ci/test.rb
|
210
223
|
- lib/datadog/core.rb
|
224
|
+
- lib/datadog/core/backport.rb
|
211
225
|
- lib/datadog/core/buffer/cruby.rb
|
212
226
|
- lib/datadog/core/buffer/random.rb
|
213
227
|
- lib/datadog/core/buffer/thread_safe.rb
|
@@ -230,6 +244,7 @@ files:
|
|
230
244
|
- lib/datadog/core/environment/cgroup.rb
|
231
245
|
- lib/datadog/core/environment/class_count.rb
|
232
246
|
- lib/datadog/core/environment/container.rb
|
247
|
+
- lib/datadog/core/environment/execution.rb
|
233
248
|
- lib/datadog/core/environment/ext.rb
|
234
249
|
- lib/datadog/core/environment/gc.rb
|
235
250
|
- lib/datadog/core/environment/identity.rb
|
@@ -238,6 +253,7 @@ files:
|
|
238
253
|
- lib/datadog/core/environment/thread_count.rb
|
239
254
|
- lib/datadog/core/environment/variable_helpers.rb
|
240
255
|
- lib/datadog/core/environment/vm_cache.rb
|
256
|
+
- lib/datadog/core/environment/yjit.rb
|
241
257
|
- lib/datadog/core/error.rb
|
242
258
|
- lib/datadog/core/extensions.rb
|
243
259
|
- lib/datadog/core/git/ext.rb
|
@@ -286,6 +302,8 @@ files:
|
|
286
302
|
- lib/datadog/core/telemetry/v1/integration.rb
|
287
303
|
- lib/datadog/core/telemetry/v1/product.rb
|
288
304
|
- lib/datadog/core/telemetry/v1/telemetry_request.rb
|
305
|
+
- lib/datadog/core/telemetry/v2/app_client_configuration_change.rb
|
306
|
+
- lib/datadog/core/telemetry/v2/request.rb
|
289
307
|
- lib/datadog/core/transport/config.rb
|
290
308
|
- lib/datadog/core/transport/http.rb
|
291
309
|
- lib/datadog/core/transport/http/api.rb
|
@@ -298,6 +316,7 @@ files:
|
|
298
316
|
- lib/datadog/core/transport/negotiation.rb
|
299
317
|
- lib/datadog/core/utils.rb
|
300
318
|
- lib/datadog/core/utils/compression.rb
|
319
|
+
- lib/datadog/core/utils/duration.rb
|
301
320
|
- lib/datadog/core/utils/forking.rb
|
302
321
|
- lib/datadog/core/utils/hash.rb
|
303
322
|
- lib/datadog/core/utils/network.rb
|
@@ -395,7 +414,10 @@ files:
|
|
395
414
|
- lib/datadog/tracing/buffer.rb
|
396
415
|
- lib/datadog/tracing/client_ip.rb
|
397
416
|
- lib/datadog/tracing/component.rb
|
417
|
+
- lib/datadog/tracing/configuration/dynamic.rb
|
418
|
+
- lib/datadog/tracing/configuration/dynamic/option.rb
|
398
419
|
- lib/datadog/tracing/configuration/ext.rb
|
420
|
+
- lib/datadog/tracing/configuration/http.rb
|
399
421
|
- lib/datadog/tracing/configuration/settings.rb
|
400
422
|
- lib/datadog/tracing/context.rb
|
401
423
|
- lib/datadog/tracing/context_provider.rb
|
@@ -561,6 +583,7 @@ files:
|
|
561
583
|
- lib/datadog/tracing/contrib/grpc/distributed/fetcher.rb
|
562
584
|
- lib/datadog/tracing/contrib/grpc/distributed/propagation.rb
|
563
585
|
- lib/datadog/tracing/contrib/grpc/ext.rb
|
586
|
+
- lib/datadog/tracing/contrib/grpc/formatting.rb
|
564
587
|
- lib/datadog/tracing/contrib/grpc/integration.rb
|
565
588
|
- lib/datadog/tracing/contrib/grpc/intercept_with_datadog.rb
|
566
589
|
- lib/datadog/tracing/contrib/grpc/patcher.rb
|
@@ -626,6 +649,11 @@ files:
|
|
626
649
|
- lib/datadog/tracing/contrib/mysql2/instrumentation.rb
|
627
650
|
- lib/datadog/tracing/contrib/mysql2/integration.rb
|
628
651
|
- lib/datadog/tracing/contrib/mysql2/patcher.rb
|
652
|
+
- lib/datadog/tracing/contrib/opensearch/configuration/settings.rb
|
653
|
+
- lib/datadog/tracing/contrib/opensearch/ext.rb
|
654
|
+
- lib/datadog/tracing/contrib/opensearch/integration.rb
|
655
|
+
- lib/datadog/tracing/contrib/opensearch/patcher.rb
|
656
|
+
- lib/datadog/tracing/contrib/opensearch/quantize.rb
|
629
657
|
- lib/datadog/tracing/contrib/patchable.rb
|
630
658
|
- lib/datadog/tracing/contrib/patcher.rb
|
631
659
|
- lib/datadog/tracing/contrib/pg/configuration/settings.rb
|
@@ -665,6 +693,7 @@ files:
|
|
665
693
|
- lib/datadog/tracing/contrib/rack/configuration/settings.rb
|
666
694
|
- lib/datadog/tracing/contrib/rack/ext.rb
|
667
695
|
- lib/datadog/tracing/contrib/rack/header_collection.rb
|
696
|
+
- lib/datadog/tracing/contrib/rack/header_tagging.rb
|
668
697
|
- lib/datadog/tracing/contrib/rack/integration.rb
|
669
698
|
- lib/datadog/tracing/contrib/rack/middlewares.rb
|
670
699
|
- lib/datadog/tracing/contrib/rack/patcher.rb
|
@@ -746,7 +775,6 @@ files:
|
|
746
775
|
- lib/datadog/tracing/contrib/sinatra/env.rb
|
747
776
|
- lib/datadog/tracing/contrib/sinatra/ext.rb
|
748
777
|
- lib/datadog/tracing/contrib/sinatra/framework.rb
|
749
|
-
- lib/datadog/tracing/contrib/sinatra/headers.rb
|
750
778
|
- lib/datadog/tracing/contrib/sinatra/integration.rb
|
751
779
|
- lib/datadog/tracing/contrib/sinatra/patcher.rb
|
752
780
|
- lib/datadog/tracing/contrib/sinatra/tracer.rb
|
@@ -796,6 +824,7 @@ files:
|
|
796
824
|
- lib/datadog/tracing/pipeline/span_filter.rb
|
797
825
|
- lib/datadog/tracing/pipeline/span_processor.rb
|
798
826
|
- lib/datadog/tracing/propagation/http.rb
|
827
|
+
- lib/datadog/tracing/remote.rb
|
799
828
|
- lib/datadog/tracing/runtime/metrics.rb
|
800
829
|
- lib/datadog/tracing/sampling/all_sampler.rb
|
801
830
|
- lib/datadog/tracing/sampling/ext.rb
|
@@ -875,14 +904,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
875
904
|
version: 2.1.0
|
876
905
|
- - "<"
|
877
906
|
- !ruby/object:Gem::Version
|
878
|
-
version: '3.
|
907
|
+
version: '3.4'
|
879
908
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
880
909
|
requirements:
|
881
910
|
- - ">="
|
882
911
|
- !ruby/object:Gem::Version
|
883
912
|
version: 2.0.0
|
884
913
|
requirements: []
|
885
|
-
rubygems_version: 3.4.
|
914
|
+
rubygems_version: 3.4.10
|
886
915
|
signing_key:
|
887
916
|
specification_version: 4
|
888
917
|
summary: Datadog tracing code for your Ruby applications
|
@@ -1,35 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require_relative '../../metadata/ext'
|
4
|
-
|
5
|
-
module Datadog
|
6
|
-
module Tracing
|
7
|
-
module Contrib
|
8
|
-
module Sinatra
|
9
|
-
# Gets and sets trace information from a Rack headers Hash
|
10
|
-
module Headers
|
11
|
-
module_function
|
12
|
-
|
13
|
-
def response_header_tags(headers, target_headers)
|
14
|
-
target_headers ||= []
|
15
|
-
|
16
|
-
{}.tap do |result|
|
17
|
-
target_headers.each do |header|
|
18
|
-
if headers.key?(header)
|
19
|
-
result[Tracing::Metadata::Ext::HTTP::ResponseHeaders.to_tag(header)] = headers[header]
|
20
|
-
else
|
21
|
-
# Try a case-insensitive lookup
|
22
|
-
uppercased_header = header.to_s.upcase
|
23
|
-
matching_header = headers.keys.find { |h| h.upcase == uppercased_header }
|
24
|
-
if matching_header
|
25
|
-
result[Tracing::Metadata::Ext::HTTP::ResponseHeaders.to_tag(header)] = headers[matching_header]
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|